Bug 500485 - Flatpak programs can't use Oxygen and Plastic application themes.
Summary: Flatpak programs can't use Oxygen and Plastic application themes.
Status: REPORTED
Alias: None
Product: flatpak-platform-plugin
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-20 20:54 UTC by nope1000000
Modified: 2025-02-21 08:06 UTC (History)
0 users

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 nope1000000 2025-02-20 20:54:01 UTC
SUMMARY

If you set your application theme to Oxygen or Plastic in preferences, flatpak programs will still use the default Breeze theme. This is because flatpak apps can't see the installed qt themes in the system, and only can use themes installed as flatpak. At the moment the only themes that flatpak programs can use are Breeze, Windows, and Fusion.


STEPS TO REPRODUCE
1. Set oxygen or plastic theme in preferences
2. Open a qt flatpak app

OBSERVED RESULT
Default breeze theme is used

EXPECTED RESULT
Flatpak apps using the theme configured in preferences, same as the system installed programs, so they look integrated with the rest of the system.


ADDITIONAL INFORMATION

Another solution may be to create separate flatpak packages for Oxygen and Plastic. Or allow the KDE runtime to use system installed themes.
Comment 1 nope1000000 2025-02-21 08:06:31 UTC
Just to correct my bad writing  in the "Additional Information part". I´d just like to clarify that the expected solution would be to include the plastic and oxygen themes in the KDE flatpak runtime. But another possible solutions would be to create separate flatpak packages for Oxygen and Plastic. Or allow the KDE runtime to use system installed themes.