White-on-white invisible menu items in Netbeans

Bug #1163030 reported by Richard Keller on 2013-04-01
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

Menu items that have an 'active' state are shown with their text as the same colour as the background, rendering the menu item impossible to read until hovered over. Example of this behaviour can be seen in the attached image.

Currently known to be affected: Mint 14 Nadia Cinnamon.
Reproducibility: Always. In particular, this problem can be reproduced in NetBeans 7.3.

This issue has been separately reported on the NetBeans bug tracker, but this is NOT a Netbeans problem. Relevant tickets previously created on the NetBeans bugzilla:
https://netbeans.org/bugzilla/show_bug.cgi?id=204042
https://netbeans.org/bugzilla/show_bug.cgi?id=222948

Richard Keller (richard-keller) wrote :
Richard Keller (richard-keller) wrote :

The problem lies in the Mint-X GTK theme. The following file must be modified to fix this problem: /usr/share/themes/Mint-X/gtk-2.0/Styles/menu.rc

The following line (around line 14) must be replaced:
fg[ACTIVE] = @selected_fg_color

It should be replaced with the following:
fg[ACTIVE] = @menu_fg_color

This fixes the problem described in the bug report.

description: updated
Marco Moreno (mmoreno) wrote :

Looks like this bug still exists in Mint 17 and the solution is slightly different:

Modify: /usr/share/themes/Mint-X/gtk-2.0/styles/menus.rc

Change line 53 from:
fg[ACTIVE] = @base_color

to:
fg[ACTIVE] = @fg_color

Hope this helps someone.

Peter Seng (peter-seng) wrote :

This bug popped up when I tried to install Microchips MPLAB X, an IDE, C-Compiler and ICE for PIC-Microcontrollers, based on NetBeans on Linux Mint 17.1, Cinnamon 64-bit.

Mint File /usr/share/themes/Mint-X/gtk-2.0/styles/menus.rc must be edited:

a) Menu items that have an 'active' state are shown with their text as the same colour as the background, rendering the menu item impossible to read until hovered over. See above comments from Richard Keller and Marco Moreno.
Change line 53 (style "menu") from:
 fg[ACTIVE] = @base_color
to:
fg[ACTIVE] = @fg_color

b) Menues do not have borders
Change line 42/43 (style "menu") from:
xthickness = 0
ythickness = 0
to:
xthickness = 1
ythickness = 1

c) Menues do not have visible separators
Change line 103 (style "menu-item-separator") from:
ythickness = 0
to:
ythickness = 1

Mystic-Mirage (mystic-mirage) wrote :

This bug affects Arduino IDE 1.0.x and 1.6. The #4 fixes it.

Cagri Celebi (azureel) wrote :

If you are using non default theme in Mint (for example Mint-X-Aqua in my case), you should change the corresponding menus.rc file located in the same folder.

/usr/share/themes/Mint-X-Aqua/gtk-2.0/styles/menus.rc
/usr/share/themes/Mint-X-Teal/gtk-2.0/styles/menus.rc
etc...

Popout3D (popout3d-software) wrote :

This problem with a Java program may have the same cause, but the suggested fix doesn't work. Watch the attached video.

Hello,

did you modify the menus.rc file of the theme that you are using?

--
best regards,

Peter Seng

========================================
Peter Seng
Alexanderstrasse 14
73054 Eislingen
Allemagne
Phone +49 7161 815537
eMail <email address hidden>
web www.seng.de
=========================================

Am 24.04.2017 um 22:21 schrieb Popout3D:
> This problem with a Java program may have the same cause, but the
> suggested fix doesn't work. Watch the attached video.
>
> ** Attachment added: "test.ogv"
> https://bugs.launchpad.net/linuxmint/+bug/1163030/+attachment/4867469/+files/test.ogv
>

Popout3D (popout3d-software) wrote :

I have since checked with Ubuntu MATE and Mint MATE and it does not occur on either, which would seem to suggest that it may be related to Cinnamon.

Popout3D (popout3d-software) wrote :

Changing the button them works.

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

Other bug subscribers