Bug 505317 - QIcon::themeName() returns empty string
Summary: QIcon::themeName() returns empty string
Status: RESOLVED WORKSFORME
Alias: None
Product: Qt/KDE Flatpak Runtime
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-07 21:33 UTC by jakobdev
Modified: 2025-07-08 03:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakobdev 2025-06-07 21:33:43 UTC
QIcon::themeName() (https://doc.qt.io/qt-6/qicon.html#themeName) should return the name of the current icon theme. But when running inside a Flatpak using the KDE Runtime, it just return an empty string while the icon theme is available under /usr/share/icons.
Comment 1 Albert Astals Cid 2025-06-08 20:15:45 UTC
Can you give us a sample code to test this?
Comment 2 Bug Janitor Service 2025-06-23 03:47:26 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-07-08 03:47:51 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.