View Issue Details

IDProjectCategoryView StatusLast Update
0017481ScribusUser Interfacepublic2025-03-31 19:13
Reporternitramr Assigned Tonitramr  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
PlatformDesktop PCOSUbuntuOS Version24.10 64-bit
Product Version1.7.1.svn 
Target Version1.7 milestoneFixed in Version1.7.1.svn 
Summary0017481: Remove Dark/Light theme switch for Qt < 6.8.0
DescriptionCurrently, 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
TagsNo tags attached.
PatchYes

Relationships

related to 0017391 resolvednitramr Add Dark/Light theme switch to override automatic mode 

Activities

nitramr

2025-03-31 08:15

developer  

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()));
 }

Issue History

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