Bug 492743 - kirigami not loading platform theme
Summary: kirigami not loading platform theme
Status: RESOLVED FIXED
Alias: None
Product: plasma-integration
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-07 08:53 UTC by Tobias C. Berner
Modified: 2024-09-23 08:21 UTC (History)
2 users (show)

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


Attachments
Screenshot of kirigami2gallery (99.85 KB, image/png)
2024-09-07 08:53 UTC, Tobias C. Berner
Details
Screenshot of elisa (70.88 KB, image/png)
2024-09-19 05:09 UTC, Tobias C. Berner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias C. Berner 2024-09-07 08:53:44 UTC
Created attachment 173396 [details]
Screenshot of kirigami2gallery

SUMMARY
When using KDE Plasma6 on FreeBSD the kirigami based applications do not properly inherit the theme settings from the plasma-desktop session. 


STEPS TO REPRODUCE
1. Start a plasma6 session with a dark theme
2. Launch for example kirigami2gallery or system-settings

OBSERVED RESULT
The background of the window is not respecting the system theme.

EXPECTED RESULT
The background and ui elements respect the system theme.


SOFTWARE/OS VERSIONS
Operating System: FreeBSD 15.0
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 15.0-CURRENT (64-bit)
Graphics Platform: X11
Memory: 127.9 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 960/PCIe/SSE2

ADDITIONAL INFORMATION
See also #486050
Comment 1 Nate Graham 2024-09-16 19:14:11 UTC
Also in Discover, Spectacle, Elisa, and NeoChat?

Can you share a console log of running one of these apps in a terminal window?
Comment 2 Tobias C. Berner 2024-09-19 05:09:16 UTC
(In reply to Nate Graham from comment #1)
> Also in Discover, Spectacle, Elisa, and NeoChat?
> 
> Can you share a console log of running one of these apps in a terminal
> window?

Moin moin

Yes, elisa is also affected:

Here's the outupt of the run of that one
> elisa
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
kf.kirigami.platform: Failed to find a Kirigami platform plugin for style "org.kde.desktop" <<<<<<<<<<<<<<<<<<<<<<
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
org.kde.elisa.indexers.manager: Local file system indexer is inactive
Unsupported option 'foreign_keys = ON'
Unsupported option 'locking_mode = EXCLUSIVE'
org.kde.elisa.database: begin creation of DatabaseVersion table
[... database related log truncated ...]
### EOF

The highlighted line is likely what is causing the issue.
Comment 3 Tobias C. Berner 2024-09-19 05:09:46 UTC
Created attachment 173850 [details]
Screenshot of elisa
Comment 4 Joshua Goins 2024-09-20 16:24:21 UTC
Do you have an org.kde.desktop.so in kf6/kirigami/platform? I dunno where FreeBSD puts it, but on my machine it's at /usr/lib64/qt6/plugins/kf6/kirigami/platform/org.kde.desktop.so. I took a look at https://cgit.freebsd.org/ports/tree/x11-themes/kf6-qqc2-desktop-style/pkg-plist and it looks like it's not recorded there?
Comment 5 Tobias C. Berner 2024-09-23 05:09:56 UTC
(In reply to Joshua Goins from comment #4)
> Do you have an org.kde.desktop.so in kf6/kirigami/platform? I dunno where
> FreeBSD puts it, but on my machine it's at
> /usr/lib64/qt6/plugins/kf6/kirigami/platform/org.kde.desktop.so. I took a
> look at
> https://cgit.freebsd.org/ports/tree/x11-themes/kf6-qqc2-desktop-style/pkg-
> plist and it looks like it's not recorded there?

Moin moin 

Indee that is missing, I will look into the packaging of qqc2-desktop-style why it is not installing it.
Comment 6 Tobias C. Berner 2024-09-23 08:21:51 UTC
(In reply to Joshua Goins from comment #4)
> Do you have an org.kde.desktop.so in kf6/kirigami/platform? I dunno where
> FreeBSD puts it, but on my machine it's at
> /usr/lib64/qt6/plugins/kf6/kirigami/platform/org.kde.desktop.so. I took a
> look at
> https://cgit.freebsd.org/ports/tree/x11-themes/kf6-qqc2-desktop-style/pkg-
> plist and it looks like it's not recorded there?

Moin moin 

Thanks, it was indeed a packaging issue in kf6-qqc2-desktop-theme -- which is now resolved in 
https://github.com/freebsd/freebsd-ports-kde/commit/f0f12aaefb418753f71792d9ffdf03f3a817e504


mfg Tobias