Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-05-05 23:39:30

Citizen Snips
Member
Registered: 2020-05-06
Posts: 30

active item not highlighted in window title bar context menu

XFCE4 version numbers are as follows:

xfce4-panel --version : 4.12.1
xfce4-session --version : 4.12.1
xfce4-terminal --version : 4.12

XFCE4 terminal version is: 0.8.7.4

I am using the Adwaita-dark Style (Settings->Appearance from the Applications menu) and Daloa Style (Settings->Window Manager from the applications menu).

My issue is that when I right click on the title bar of a window, the context menu that appears is of a completely different color than the rest of the theme (very light gray vs dark gray for all other windows), and no highlighting appears over the item I am currently moused over.  No other context menu in my environment seems to have this issue, as normally the currently moused-over item in a context menu is highlighted in blue.  My questions are:

1. How do I specify a color for the actively highlighted item of the context menu that appears when I right click on a window's title bar?

2. How do I change the background (and possibly text) color of the context menu that appears when I right click on a window's title bar?

My understanding is that I can create a ~/.gtkrc-2.0 file that contains overrides for whatever theme/style I'm using, but what overrides do I need to fix the above 2 issues?

Offline

#2 2021-06-02 14:46:41

Citizen Snips
Member
Registered: 2020-05-06
Posts: 30

Re: active item not highlighted in window title bar context menu

Bump - does anyone know how to change this?

Offline

#3 2021-06-02 17:52:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: active item not highlighted in window title bar context menu

It should use the same colours as the rest of the theme.

Do all titlebars exhibit the same issue or just one/some? (maybe CSD issue)
Are you running any of these applications as root? (different configuration files will be used)
If you change both the appearance and the window manager theme, does the issue persist?
How (and from where) did you install the Adwaita-dark theme? (does it have a gtk-2.0 component)
Can you post back:

ls -l /usr/share/themes/Adwaita-dark

Can you also post a screenshot demonstrating the issue?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2021-06-03 17:20:27

Citizen Snips
Member
Registered: 2020-05-06
Posts: 30

Re: active item not highlighted in window title bar context menu

ToZ wrote:

Do all titlebars exhibit the same issue or just one/some? (maybe CSD issue)

It's all of them as far as I can tell.

ToZ wrote:

Are you running any of these applications as root? (different configuration files will be used)

No, I don't have root on this machine.

ToZ wrote:

If you change both the appearance and the window manager theme, does the issue persist?

No.  If for example I use Greybird-dark for both the appearance and window manager theme, the highlighting appears as expected.

ToZ wrote:

How (and from where) did you install the Adwaita-dark theme? (does it have a gtk-2.0 component)

It was installed by default (note: I don't own this machine).

ToZ wrote:

Can you post back:

ls -l /usr/share/themes/Adwaita-dark
> ls -l /usr/share/themes/Adwaita-dark/
total 4
drwxr-xr-x. 3 root root  100 Apr 27  2020 gtk-2.0
drwxr-xr-x. 2 root root   21 Apr 27  2020 gtk-3.0
-rw-r--r--. 1 root root 2965 Jul 26  2018 index.theme
ToZ wrote:

Can you also post a screenshot demonstrating the issue?

Unfortunately not due to the fact that I don't own this machine.  If I right click a title bar, the context menu with the options "Maximize", "Minimize", "Minimize All Other Windows", etc. appears, but the item underneath my mouse cursor is not highlighted (or at least not when I'm using the Adwaita-dark Appearance and Daloa theme.

Offline

#5 2021-06-03 18:05:15

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: active item not highlighted in window title bar context menu

Is there any content in ~/.gtkrc-2.0? If so, can you post?

Also, which distro are you using? And if I call correctly, you are connecting through VNC, right?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2021-06-04 16:24:00

Citizen Snips
Member
Registered: 2020-05-06
Posts: 30

Re: active item not highlighted in window title bar context menu

ToZ wrote:

Is there any content in ~/.gtkrc-2.0? If so, can you post?

That file doesn't exist.

ToZ wrote:

Also, which distro are you using? And if I call correctly, you are connecting through VNC, right?

> uname --kernel-name --kernel-release --machine
Linux 3.10.0-957.21.2.el7.x86_64 x86_64

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 545.19 KiB (Peak: 546.03 KiB) ]