This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243860 - GTK Look and Feel Problem
Summary: GTK Look and Feel Problem
Status: RESOLVED DUPLICATE of bug 182481
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-16 10:24 UTC by theghostdog
Modified: 2014-05-16 10:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description theghostdog 2014-04-16 10:24:14 UTC
At a c++ project on NB 8.0, Centos 6 with GTK Look and Feel, where are no borders drawn within the context menus. 

To reproduce the bug:

1) Set the look and feel to GTK
2) Open an File in the Editor
3) Click on the Tab an open the context menu 
4) Slide down to the GIT entry

You will recognize, that you see the file with the white default-background-color, the contexts menu is a white overlay and the expanded git sub-menu is also drawn with a white background. in the former version of NB (7.4 and minor) the menu is surrounded by black border, which is missing in NB 8.0. Switching the other Look And Feels (for example Metal), the missed border is back. 

best
Comment 1 Stanislav Aubrecht 2014-04-18 07:57:35 UTC
Please provide JDK version info and reopen, most likely a JDK issue.
Comment 2 theghostdog 2014-04-22 08:27:00 UTC
Hello Stanislav Aubrecht,

thanks for your response. The jdk version is:

java version "1.7.0_51"
OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

best

theghostdog
Comment 3 Stanislav Aubrecht 2014-04-25 07:31:00 UTC
Thanks for the info, please try the latest version of Oracle JDK and reopen if still reproducible.
Comment 4 theghostdog 2014-04-28 08:34:55 UTC
Hello,

i upgraded to the latest available Open JDK version within Centos 6:

java version "1.7.0_55"
OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64 u55-b13)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

But the bug is still present.

best
Comment 5 Stanislav Aubrecht 2014-04-28 10:26:03 UTC
(In reply to theghostdog from comment #4)
> Hello,
> 
> i upgraded to the latest available Open JDK version within Centos 6:
> 
> java version "1.7.0_55"
> OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64 u55-b13)
> OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
> 

Please try Oracle JDK 1.8

OpenJDK is known to have some issues, I think this problem has been resolved in Oracle JDK 8.
Comment 6 theghostdog 2014-04-29 12:20:16 UTC
Hallo together,

I tried Oracle jdk1.8.0_05, but the bug is still present. The selected entry within the context menu is highlighted blue with a dark blue border. but any additional entries are not surrounded. thus, opening the context menu on top of the editor is painful over the time (for me its difficult to distinguish between the source code underlay and the context menu overlay. 

best
Comment 7 Stanislav Aubrecht 2014-05-16 10:16:36 UTC

*** This bug has been marked as a duplicate of bug 182481 ***