Bug 497331 - Falkon does not fully apply Plasma's dark theme and accent colors
Summary: Falkon does not fully apply Plasma's dark theme and accent colors
Status: REPORTED
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-11 16:15 UTC by jonas.harer
Modified: 2024-12-20 22:22 UTC (History)
0 users

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 jonas.harer 2024-12-11 16:15:45 UTC
SUMMARY
When using a dark theme like Breeze Dark, most websites and the developer tools in Falkon do not apply dark mode. This seems to affect all content rendered by the Qt WebEngine. Additionally, the text selection color does not match the accent color set in the Plasma theme.

STEPS TO REPRODUCE
1. Apply a dark Plasma theme (e.g., Breeze Dark) and set a custom accent color.
2. Open a website that supports dark mode detection, such as kde.org or flathub.org.
3. Highlight any text on the website.
4. Open the developer tools (press F12).

OBSERVED RESULT
- Websites remain in light mode.
- The developer tools use a light theme.
- The text selection color does not reflect the Plasma accent color.

EXPECTED RESULT
- Websites should apply dark mode.
- The developer tools should use a dark theme.
- The text selection color should match the Plasma accent color.

SOFTWARE/OS VERSIONS
OS: KDE neon
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Falkon Version: 24.08.3
Comment 1 Bug Janitor Service 2024-12-17 22:47:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/falkon/-/merge_requests/103
Comment 2 Juraj 2024-12-20 22:22:06 UTC
Git commit 4a8236a3ee67a9a88dc8e95baef93eb959df4df5 by Juraj Oravec.
Committed on 20/12/2024 at 22:16.
Pushed by jurajo into branch 'master'.

Add "Preffer color scheme" option
Related: bug 439891

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>

M  +37   -13   src/lib/app/mainapplication.cpp
M  +2    -0    src/lib/app/mainapplication.h
M  +6    -0    src/lib/app/qzcommon.h
M  +15   -0    src/lib/preferences/preferences.cpp
M  +28   -1    src/lib/preferences/preferences.ui

https://invent.kde.org/network/falkon/-/commit/4a8236a3ee67a9a88dc8e95baef93eb959df4df5