View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017481 | Scribus | User Interface | public | 2025-03-31 08:15 | 2025-03-31 19:13 |
Reporter | nitramr | Assigned To | nitramr | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Desktop PC | OS | Ubuntu | OS Version | 24.10 64-bit |
Product Version | 1.7.1.svn | ||||
Target Version | 1.7 milestone | Fixed in Version | 1.7.1.svn | ||
Summary | 0017481: Remove Dark/Light theme switch for Qt < 6.8.0 | ||||
Description | Currently, there is a Qt version filter for the logic of the UI appearance switch to force a light or dark UI theme. But if the logic is removed, the UI elements are still visible without any function. The patch hides the UI elements if the Qt version is < 6.8.0 | ||||
Tags | No tags attached. | ||||
Patch | Yes | ||||
|
uithemeext_2025-03-31_01.patch (732 bytes)
Index: scribus/ui/prefs_userinterface.cpp =================================================================== --- scribus/ui/prefs_userinterface.cpp (Revision 26820) +++ scribus/ui/prefs_userinterface.cpp (Arbeitskopie) @@ -52,6 +52,11 @@ numberFormatComboBox->addItem(tr("Use System Format"),"System"); numberFormatComboBox->addItem(tr("Use Interface Language Format"),"Language"); +#if (QT_VERSION < QT_VERSION_CHECK(6, 8, 0)) + themePaletteComboBox->setVisible(false); + themePaletteLabel->setVisible(false); +#endif + connect(languageComboBox, SIGNAL(currentTextChanged(QString)), this, SLOT(setSelectedGUILang(QString))); connect(storyEditorFontPushButton, SIGNAL(clicked()), this, SLOT(changeStoryEditorFont())); } |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-31 08:15 | nitramr | New Issue | |
2025-03-31 08:15 | nitramr | Status | new => assigned |
2025-03-31 08:15 | nitramr | Assigned To | => nitramr |
2025-03-31 08:15 | nitramr | File Added: uithemeext_2025-03-31_01.patch | |
2025-03-31 08:15 | nitramr | Relationship added | related to 0017391 |
2025-03-31 19:13 | cbradney | Status | assigned => resolved |
2025-03-31 19:13 | cbradney | Resolution | open => fixed |
2025-03-31 19:13 | cbradney | Fixed in Version | => 1.7.1.svn |