| Summary: | Plasma 6 Feature Request/Proposal: Adaptive titlebar color | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | Naxdy <xnaxdy> |
| Component: | window decoration | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | wishlist | CC: | kwin-bugs-null, nate, uhhadd |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Naxdy
2023-09-08 14:26:01 UTC
It's an interesting idea. Putting aside the challenge of coming up with a heuristic that would work reliably (e.g. what happens if the window content's top area color composition changes frequently rapidly?), the result would be app titlebars that sometimes reflected the color scheme and sometimes reflected the content of the window. But window content can have any arbitrary coloration, and the heuristic to determine titlebar color would be inscrutable for the user. As a result the window titlebar color would frequently look random. And in the process, we would lose the ability to offer a relatively cohesive UX based on consistent titlebar coloration. So for those reasons, I don't think we can do this, sorry. I think that heuristically deriving the window title bar color from the window's contents is not much different than heuristically deriving the accent color from the current wallpaper (which can also be animated, or set to change over time via slideshow). But fair enough, then at the very least I know I won't have to bother upstreaming it if I ever do manage to find the time to work on this (which would've been a bit of a headache seeing as it involves at least 3 repos from what I can glean thus far). Thanks anyway for taking the time. If you do manage to get something working, I'd be curious to see it anyway. It's possible it would work better than I'm fearing, and the effect of every window potentially having a subtly or hugely different titlebar color wouldn't be so bad. So, I managed to hack something together that sorta works, but to be honest... I don't like it lol I thought it would make apps look a bit more integrated if the title bar was made to look flush with the app, but it just ends up looking more out of place imo, especially when using a lot of electron apps. Honestly I prefer the default color on every title bar. This plus the fact that it requires work on 3 repos (kwin + kdecoration + breeze) makes it kinda not worth for me to continue work on this. Oh well, it was a learning experience! :p Hah! Well hopefully it was a positive learning experience. And I'm happy to see that my expectation wasn't totally off the mark, either. THanks for checking back in with your conclusions! |