Bug 422405 - Selection Color in global menu in "Smart" mode unreadable
Summary: Selection Color in global menu in "Smart" mode unreadable
Status: RESOLVED DOWNSTREAM
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-03 07:20 UTC by Leon De Andrade
Modified: 2020-06-03 14:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
shows white selection color (3.65 KB, image/png)
2020-06-03 07:20 UTC, Leon De Andrade
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leon De Andrade 2020-06-03 07:20:36 UTC
Created attachment 129018 [details]
shows white selection color

SUMMARY
Selection color in global menu is unreadable if you're in smart mode. If I click on a menu entry it's white instead of the normal blue (like the text itself, which makes it unreadable)

STEPS TO REPRODUCE
1. Dark latte panel (haven't tested for other colors)
2. Global Menu
3. Smart color activated
4. click on a menu entry in global menu 

OBSERVED RESULT
The selection color is white as the text 

EXPECTED RESULT
It should be blue as in the other modes.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2020-06-03 11:00:19 UTC
Only AppMenu plamoid can support this.
Comment 2 Leon De Andrade 2020-06-03 12:11:11 UTC
Can support what?

I'm not sure if the problem is clear. The global menu works just fine with latte in normal color mode, no problem at all. It just doesn't work in "smart" mode ... I'm not exactly sure what should happen with global menu (ideally) in "smart" mode, but when it's not possible due to technical limitations, I would expect it to work normal at least? Or is there any reasoning why the selection color can't be normal in that mode?

I would try it myself with AppMenu to see what you mean, but for some reason it doesn't show up under my widgets after having installed it.
Comment 3 Michail Vourlakos 2020-06-03 14:28:24 UTC
(In reply to Leon De Andrade from comment #2)
> Can support what?
> 
> I'm not sure if the problem is clear. The global menu works just fine with
> latte in normal color mode, no problem at all. It just doesn't work in
> "smart" mode ... I'm not exactly sure what should happen with global menu
> (ideally) in "smart" mode, but when it's not possible due to technical
> limitations, I would expect it to work normal at least? Or is there any
> reasoning why the selection color can't be normal in that mode?
> 
> I would try it myself with AppMenu to see what you mean, but for some reason
> it doesn't show up under my widgets after having installed it.

OR you can disable AutoColoring for that specific applet that has not adjusted its painting to Latte mechanisms. You can read, https://psifidotos.blogspot.com/2019/02/latte-and-colors-tale.html
Comment 4 Leon De Andrade 2020-06-03 14:43:25 UTC
Ah okay nice, I didn't know that. That in fact solves the issue.

I still think it can be considered as a bug (with rather low priority after your clarification) and maybe there is the possibilty to auto disable that feature automatically for widgets that don't support it? Actually it would probably be the best to not make it configurable at all, but just determine it automatically (I suppose you can programmatically check if the widget supports it?)

As a second possibilty (or even in addition to the previous) add a note similar to the one "For best results install the kwin color script" to warn about this?

These are just suggestion though to improve the UX of latte.I feel like you got offended by my last comment, it's hard to tell from text though, if that's the case that is certainly not my intention.