Bug 465361 - Make active color scheme change when global theme changes
Summary: Make active color scheme change when global theme changes
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.12.1
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 474689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-06 10:29 UTC by Thorolf E.R. Weißhuhn
Modified: 2024-02-13 17:59 UTC (History)
2 users (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 Thorolf E.R. Weißhuhn 2023-02-06 10:29:45 UTC
SUMMARY
***
This is an expansion of https://bugs.kde.org/show_bug.cgi?id=459400.

It would be *really* good to have the color scheme react to global theme changes. 

As it is now, a light background, e.g from day work, is often too bright for continuing into the night with a global dark theme, and vice versa. Currently one has to have two profiles that are identical except one has a color scheme for day and one for night. 

As small as it may seem, manually switching profile every morning and evening is annoying, esp. if one uses an automatic theme switcher and the necessity to switch comes suddenly. Also this manual switch interrupts concentration somewhat.

That would require console settings that react to global appearance changes between 'dark' and 'light', that are both saved to disk (active for all new opened console tabs and windows), and applied to currently open console tabs.

Some ideas below.

– Within a profile:
 `– The scheme list in the 'Color Scheme & Font' panel could have two additional columns with radio boxes for "use with light global theme" and "use with dark global theme", where only one each can be set.
 `– Or each scheme would have a small popup menu instead, with an additional "don't use" item.
– In OSs/DEs with no global dark<->light switch but a selection of themes to select, one console color scheme or profile would have to be attached to every desired global theme. For this, the scheme list in the 'Color Scheme & Font' panel could have an additional column with a popup menu holding all currently installed global themes, with a header "Activate with..." or "Attach to...".

– Scripted/Automatic dark<->light switches:
 `– Is it possible to make the color scheme react to `konsoleprofile colors='<theme>` setting? That would catch at least color profiles with the same name as the global theme.
 `– Add color schemes to the list under  "qdbus org.kde.konsole-`pidof -s konsole`".  For experienced users.
***


STEPS TO REPRODUCE
1. Have a console window open
2. Toggle the global appearance theme between 'dark' and 'light'
3. Observe if the console background and the rest of the color scheme changes

OBSERVED RESULT
No changes.

EXPECTED RESULT
Color scheme changes

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.91-1-MANJARO (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-09-19 18:40:43 UTC
*** Bug 474689 has been marked as a duplicate of this bug. ***
Comment 2 Wyatt Childers 2024-02-13 17:59:50 UTC
I would also like to see this.

Konsole stands out as one of the few apps that doesn't switch all of its theming. The simplest conceptual way to do this (I think) would be to have the "Appearance" -> "Color scheme & font" page allow selection of a "light" and "dark" theme color scheme. If someone wants to use the same color scheme for both, they can just pick the same color scheme for both (since there's already this concept of named color schemes).