menu transparency broken

Bug #1910438 reported by Saxman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
New
Undecided
Unassigned

Bug Description

Hi,

i have a weird behaviour with cairo-dock and menu transparency with KDE.

The background of the menu stays always transparent which makes reading the text quite difficult.

The Menu looks like on this screenshot.

https://snipboard.io/qtT0Fk.jpg

I´m using

============================================================================
        Cairo-Dock version : 3.4.1
        Compiled date : Jan 2 2021 11:22:34
        Built with GTK : 3.24
        Running with OpenGL: 1
============================================================================

with KDE Plasma Version 5.20.4, Nvidia 455.45.01-2 and debian bullseye/sid.

The problem stays regardless of the used cairo-dock theme. Disabling the transparency setting with KDE seems to also have no effect.

Any hints what could cause this strange behaviour?

Cheers

Saxman

Revision history for this message
Saxman (saxi) wrote :
Revision history for this message
Fabounet (fabounet03) wrote :

Hi,
that's weird indeed, did you try using the automatic style (ie, using the system colors) ?
conversely, does using a custom style (custom colors) change anything ?
Is it a new problem (there have been some code change relatively to menus last year) ?

Finally, it's possible to overload the css theme by having a file "menu.css" in the current theme path (~/.config/cairo-dock/current_theme/)
The current one is something like that (cf attached).

Revision history for this message
Saxman (saxi) wrote :

Hi,

the problem stays even if i start cairo-dock with a fresh ~/.config/cairo-dock directory. Adding the attached menu.css unfortunately didn´t help either.

https://snipboard.io/jJUkZy.jpg

The behaviour also is not new here. It occurred some time ago after an upgrade of cairo-dock with debian testing/sid. I´m not sure when it was exactly but it must have been some time before the release of the current debian stable release (thus before cairo-dock version 3.4.1-3). I thought it might disappear as some bugs do over time but it stayed.

I can do some some testing if you have another idea what could be the culprit.

Revision history for this message
Fabounet (fabounet03) wrote :

The menu.css attached is the default one, so it makes sense it doesn't change anything
however, you may be able to modify it to maybe solve the problem:

Apparently the hovered item as a background color; so it's only the menu background.
so in this part:
.gldimenu {
        background-color: @menu_bg_color;
        background-image: none;
        color: @menuitem_text_color;
}

Revision history for this message
Ján Koštial (jan-kostial) wrote :

I have the same issue on Linux Mint Cinnamon.
All menus have the transparent background.

How can I check from which settings the transparent background comes?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.