https://bugs.kde.org/show_bug.cgi?id=511711

            Bug ID: 511711
           Summary: Flatpak apps require being restarted to fully switch
                    from light to dark, making the new automatic theme
                    switcher unusable
    Classification: Plasma
           Product: plasmashell
      Version First 6.5.1
       Reported In:
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Day/night schedule
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Created attachment 186541
  --> https://bugs.kde.org/attachment.cgi?id=186541&action=edit
Screenshot of the problem

SUMMARY
Having activated the new auto dark mode feature in Plasma 6.5, when the sun
sets my theme supposedly switches to dark mode. I say ‘supposedly’ because any
flatpak apps which are open at the moment the change occurs need a restart to
make the change effective.

For reference, the attached picture has an instance of Konsole installed as a
system package (right) and an instance of Konsole as a flatpak (left). As you
can see, having changed the theme from dark to light, only the titlebar of the
flatpak konsole has changed colors, while the app itself is still in dark mode,
and will remain so until I close and reopen the window.

This happens with pretty much all Qt apps installed from flatpak, such as
Okular, Gwenview, Kile, etc. Those same apps installed as rpms change themes
perfectly.

This makes the new theme switcher feature unusable in flatpak-reliant systems
(e.g. Kinoite, Bazzite, etc)

STEPS TO REPRODUCE
1. Open a Qt app installed from flatpak
2. Switch to dark theme
3. Observe that the app does not change to dark theme until restarted

OBSERVED RESULT
Apps do not properly switch from dark to light theme

EXPECTED RESULT
Apps should switch themes

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Kinoite
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
None.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to