Bug 483445 - kde-gtk-config creates empty strings for gtk-theme
Summary: kde-gtk-config creates empty strings for gtk-theme
Status: RESOLVED DUPLICATE of bug 482763
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-13 14:52 UTC by joekamprad
Modified: 2024-03-13 19:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kde settings showing gtk theme is empty unset (84.61 KB, image/png)
2024-03-13 14:52 UTC, joekamprad
Details
showing empty gtk theme string in the cretated config (120.62 KB, image/jpeg)
2024-03-13 14:53 UTC, joekamprad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joekamprad 2024-03-13 14:52:22 UTC
Created attachment 167104 [details]
kde settings showing gtk theme is empty unset

SUMMARY:
kde-gtk-config does not default on breeze and creates empty strings for gtk-theme inside gtk config files it creates.
Tested this on archlinux without any customizations. 
(see picture 1 in attachment)

Strange thing is that if i install the complete kde-applications group it does work to use breeze by default without the need to set this manually. 

But installing kde-gtk-config itself seems to miss a dependency, could be archlinux packaging issue too... but i do not see missing dependency from what i checked on the source of it. And i checked https://community.kde.org/Distributions/Packaging_Recommendations  to have all needed packages installed. 

Question is may more general about what exactly is needed to set default in GTK theme settings?

STEPS TO REPRODUCE
1. install archlinux excluded kde-applications group (using default theme (Breeze) no changes), breeze-gtk and kde-gtk-config installed. 
2. check settings for GTK theme and see it is unset.
    possible to set it to breeze and it does apply too but sahould be set to breeze by default.
3. installing complete kde-applications group remove all gtk configs in home relogin and see it sets breeze as default selected gtk thme in settings. 

OBSERVED RESULT
Check settings for GTK theme and see it is unset (empty see picture 2 in attachment)

EXPECTED RESULT
If Breeze is installed and kde-gtk-config plus breeze-gtk it should set breeze by default for gtk applications in kde settings.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
linux 6.7.9.arch1-1 // plasma 6.0.1-1
KDE Plasma Version: 6.0.1-1
KDE Frameworks Version: 6.0.1-1
Qt Version: 6.6.2-4
Comment 1 joekamprad 2024-03-13 14:53:53 UTC
Created attachment 167105 [details]
showing empty gtk theme string in the cretated config
Comment 2 joekamprad 2024-03-13 15:34:31 UTC
former testing can limit the issue to "only"  needing kde-multimedia  group to get installed to let the feature work.
https://archlinux.org/groups/x86_64/kde-multimedia/
Comment 3 joekamprad 2024-03-13 15:48:29 UTC
https://bugs.kde.org/show_bug.cgi?id=482763

Could be exactly the same .. was not able to find that before my report.
Comment 4 joekamprad 2024-03-13 19:12:12 UTC

*** This bug has been marked as a duplicate of bug 482763 ***