Bug 489594 - Plasma does not correctly report user preference for light or dark mode to browsers
Summary: Plasma does not correctly report user preference for light or dark mode to br...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 10:58 UTC by Justin Goltermann
Modified: 2024-07-02 18:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Goltermann 2024-07-02 10:58:31 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Whenever "Breeze Dark" is selected in "Quick Settings" all sites that provide a dark mode and honor the user's system/device setting should render in dark mode.
Or if this selection is perceived as applying strictly to window chrome in Plasma, a new choice should be provided to the user to explicitly offer "light" and "dark" themes for reporting to any browsers -- but given this choice already exists in the settings UI it should be logically extended so it's reported to any browser in use under Plasma.

STEPS TO REPRODUCE
1. Under Quick Settings -- System Settings choose "Breeze Dark" and click "Apply"

OBSERVED RESULT
Visit any site for which your user preferences have been set to follow the system/device settings for light/dark mode and which provides a dark mode, and you will see the site rendered in light mode.


EXPECTED RESULT
Visit any site for which your user preferences have been set to follow the system/device settings for light/dark mode and which provides a dark mode, and you should see that site rendered in dark mode.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.8.0-36-generic

KDE Plasma Version: 5.27.11
KDE Frameworks Version:  5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-07-02 18:03:28 UTC
This works as expected for me. I just tested it in this very website in Firefox, and it switched to task mode as expected. This means the issue is in those websites or the browser itself, out our signaling to browsers that websites should enter dark mode.