View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016802 | Scribus | User Interface | public | 2022-06-03 12:50 | 2023-05-29 18:56 |
Reporter | JLuc | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 22.04 |
Product Version | 1.5.8 | ||||
Fixed in Version | 1.5.9.svn | ||||
Summary | 0016802: Issues with "gtk2" application setting in AppImages | ||||
Description | On ubuntu 22.04 dark theme with <empty> or "gtk2" scribus <theme or appearence> ("Apparence" in french UI) choice (but not "windows" or "fusion") : - the "tick" next to "Insert (menu) / Sticky tools" option doesnt appear (maybe it's black tick on black), whether "1.5.1" or "1.5.1 dark" icons are choosen. (but it looks like clicking this options makes it work) - all checkboxes have disappeared (same as HTML's "display: none"). Eg : Application's settings / Display / Page , or Album, or Hyphens usw ; or right-click-on-frame "lock frame" submenu options. - dialog's input boxes have no border at all. When their content is empty, there is absolutely no hint that there is an input zone. | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
Unable to reproduce in my Ubuntu 22.04 VM. Gtk2 platform theme is a legacy Qt theme which is not maintained anymore. Last commit in qtstyleplugins repo now dates from more than 5 years: https://code.qt.io/cgit/qt/qtstyleplugins.git/ Last time I checked, the code would not compile with Qt 5.15. So... If you are using gtk2 theme, you are clearly looking for problems. |
|
When so bad and not maintened, then maybe the "gtk2" option shouldnt be proposed anymore ? It should not be the default setting (It looks like the default = <empty> setting is in fact "gtk2") |
|
>> When so bad and not maintened, then maybe the "gtk2" option shouldnt be proposed anymore ? The gtk2 theme is not installed by default on Ubuntu 22.04 in the first place. I had to install the qt5-style-plugins package manually to get it. >> It should not be the default setting (It looks like the default = <empty> setting is in fact "gtk2") We cannot to anything in this case. The default setting is decided by your system. |
|
? i didnt install it neither. Would appimage be responsible for packaging it ? |
|
Ah! You're using the appimage! It seems that the linuxdeployqt tool used to generate the AppImage indeed automatically bundle it whenever possible: https://github.com/probonopd/linuxdeployqt/blob/master/tools/linuxdeployqt/shared.cpp#L1260 A few days ago, the bundling of all gtk related plugins was removed from the alternate linuxdeploy tool and its linux deploy qt plugin: https://github.com/linuxdeploy/linuxdeploy-plugin-qt/commit/54d98870d28913b15d07094316d8fd5572a53b3f I asked probono on IRC if he could fix linuxdeployqt to stop automatically bundling this gtk2 plugin. It would still be possible to include it with an --extra-plugin option. |
|
I committed a first patch which removes gtk2 plugin from AppImages generated by CI. It should be ok as long as system images does not have gtk2 plugin pre-installed. |
|
Resolving, linuxdeployqt does not force anymore the inclusion of gtk2 theme in AppImages: https://github.com/probonopd/linuxdeployqt/commit/d6ac06cab496b5066af13bdfe14f56a6e9c11732 |
|
Latest Scribus `1.5.9.svn` does not recognize system dark themes, even the last provides same preset for both Gtk2 and Gtk3 altogether. OS: MX Linux MX 21.x (Debian 11.x) AppImage: https://gitlab.com/scribus/scribus16/-/jobs/3715110481 Tried `qt5ct` trick from: https://bugs.scribus.net/view.php?id=14991#c45257 Result is the same. |
|
>> Latest Scribus `1.5.9.svn` does not recognize system dark themes Qt apps only recognize Qt themes. System themes will usually not work especially Gtk based ones. Decent dark themes support will come with Qt 6.5. But that means this is out of reach for Scribus 1.5.x which is based on Qt 5. |
|
>> Qt apps only recognize Qt themes. System themes will usually not work especially Gtk based ones. >> Decent dark themes support will come with Qt 6.5. But that means this is out of reach for Scribus 1.5.x which is based on Qt 5. I has Scribus 1.5.8 (release) AppImage also on the same PC and it recognize my dark system theme: |
|
Scribus 1.5.8 AppImage embeds Qt's legacy gtk2 theme, which is probably why you can use dark theme with 1.5.8 AppImage. Unfortunately that theme is now unmaintained and cause issues and crashes with recent distros, that's why it has been removed from 1.5.x AppImages... and won't return. AppImage generation tools have stopped embedding it for same reason. Qt 6.5 Fusion theme will support dark mode. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-06-03 12:50 | JLuc | New Issue | |
2022-06-03 14:39 | JLuc | Description Updated | |
2022-06-03 14:41 | JLuc | Description Updated | |
2022-06-04 15:46 | JLuc | Summary | Issues with dark mode => Issues with "gtk2" application setting |
2022-06-04 15:46 | JLuc | Description Updated | |
2022-06-04 18:34 | jghali | Note Added: 0049678 | |
2022-06-05 07:17 | JLuc | Note Added: 0049679 | |
2022-06-05 07:21 | JLuc | Relationship added | related to 0016803 |
2022-06-05 12:17 | jghali | Note Added: 0049682 | |
2022-06-05 14:37 | JLuc | Note Added: 0049683 | |
2022-06-09 14:51 | jghali | Note Added: 0049689 | |
2022-06-09 14:59 | jghali | Note Added: 0049690 | |
2022-06-09 15:00 | jghali | Note Edited: 0049690 | |
2022-07-16 19:43 | jghali | Assigned To | => jghali |
2022-07-16 19:43 | jghali | Status | new => resolved |
2022-07-16 19:43 | jghali | Resolution | open => fixed |
2022-07-16 19:43 | jghali | Fixed in Version | => 1.5.9.svn |
2022-07-16 19:43 | jghali | Note Added: 0049730 | |
2022-07-16 19:43 | jghali | Summary | Issues with "gtk2" application setting => Issues with "gtk2" application setting in AppImages |
2023-02-05 06:11 | app4soft | Note Added: 0049992 | |
2023-02-05 06:11 | app4soft | File Added: Screenshot_2023-02-05_07-48-21.png | |
2023-02-05 15:23 | jghali | Note Added: 0049995 | |
2023-02-05 20:01 | app4soft | Note Added: 0049996 | |
2023-02-05 20:01 | app4soft | File Added: Screenshot_2023-02-05_22-00-59.png | |
2023-02-05 20:51 | jghali | Note Added: 0049997 | |
2023-05-29 18:56 | cbradney | Status | resolved => closed |