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 256314

Summary: Can't click "Properties" item in context menu of Project explorer
Product: platform Reporter: laijiang
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: REOPENED ---    
Severity: normal CC: laijiang
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot of problem

Description laijiang 2015-11-02 09:20:38 UTC
Created attachment 157102 [details]
screenshot of problem

Netbeans: 8.1beta, 8.1RC1, 8.1RC2
OS: Debian 8.1
Java: OpenJdk 7

In Project explorer, if I right click a project and navigate the context menu, the menu is so long that I can't highlight "Properties" and click it. However, if I choose full-screen mode of IDE, I can click the "Properties".
Comment 1 Vladimir Voskresensky 2015-11-02 13:04:18 UTC
Could you,please, use Oracle's JDK instead of OpenJDK and run NB with --laf Metal.
Do you have the problem in this case?
Comment 2 soldatov 2015-11-02 13:07:38 UTC
I think I saw this bug if display has extremely low resolution.
Comment 3 laijiang 2015-11-03 01:33:33 UTC
(In reply to soldatov from comment #2)
> I think I saw this bug if display has extremely low resolution.

My screen resolution is 1280*800. The GUI is Gnome.
Comment 4 laijiang 2015-11-03 01:45:18 UTC
(In reply to Vladimir Voskresensky from comment #1)
> Could you,please, use Oracle's JDK instead of OpenJDK and run NB with --laf
> Metal.
> Do you have the problem in this case?

Must I do this? I tried to install Oracle JDK yesterday, but I failed since I could't add the WebUpd8 PPA source. I will try this again today. BTW, I heard that Oracle JDK is difficult to update or uninstall in Debian or Ubuntu. Is this right?
Comment 5 soldatov 2015-11-03 08:49:47 UTC
(In reply to laijiang from comment #4)
> I heard that Oracle JDK is difficult to update or uninstall in Debian or
> Ubuntu. Is this right?
http://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html#BJFJJEFG
Comment 6 Vladimir Voskresensky 2015-11-03 10:23:11 UTC
(In reply to laijiang from comment #4)
> (In reply to Vladimir Voskresensky from comment #1)
> > Could you,please, use Oracle's JDK instead of OpenJDK and run NB with --laf
> > Metal.
> > Do you have the problem in this case?
> 
> Must I do this? 
I would recommend. Because OpenJDK has a lot of known issue with GUI part.

> I tried to install Oracle JDK yesterday, but I failed since
> I could't add the WebUpd8 PPA source. I will try this again today. BTW, I
> heard that Oracle JDK is difficult to update or uninstall in Debian or
> Ubuntu. Is this right?
No. I use Ubuntu myself and have not faced any issues.
Comment 7 soldatov 2015-11-03 11:35:24 UTC
And again. This problem exists if you uses display with low resolution. Bug can be reproduced with Java projects (really it is not a c++ related bug). In NetBeans 8.0 or 8.1, with Oracle Java and OpenJDK.
Comment 8 laijiang 2015-11-06 09:18:09 UTC
(In reply to soldatov from comment #7)
> And again. This problem exists if you uses display with low resolution. Bug
> can be reproduced with Java projects (really it is not a c++ related bug).
> In NetBeans 8.0 or 8.1, with Oracle Java and OpenJDK.

But I don't think 1280*800 resolution in desktop is low.
Comment 9 laijiang 2015-11-11 08:45:06 UTC
(In reply to Vladimir Voskresensky from comment #1)
> Could you,please, use Oracle's JDK instead of OpenJDK and run NB with --laf
> Metal.
> Do you have the problem in this case?

(In reply to Vladimir Voskresensky from comment #6)
> (In reply to laijiang from comment #4)
> > (In reply to Vladimir Voskresensky from comment #1)
> > > Could you,please, use Oracle's JDK instead of OpenJDK and run NB with --laf
> > > Metal.
> > > Do you have the problem in this case?
> > 
> > Must I do this? 
> I would recommend. Because OpenJDK has a lot of known issue with GUI part.
> 
> > I tried to install Oracle JDK yesterday, but I failed since
> > I could't add the WebUpd8 PPA source. I will try this again today. BTW, I
> > heard that Oracle JDK is difficult to update or uninstall in Debian or
> > Ubuntu. Is this right?
> No. I use Ubuntu myself and have not faced any issues.

I have installed the latest 8.1 IDE. The description in download page says, "HTML/JS, PHP and C/C++ NetBeans bundles include Java Runtime Environment and do not require a separate Java installation." So, I don't think I should install Oracle JDK separately. However, this bug still exists.
Comment 10 Alexander Simon 2015-11-11 08:57:37 UTC
Reassign to evaluation.
Comment 11 Martin Entlicher 2016-05-16 11:35:29 UTC
I tested this with the latest JDK 8 up 92, Ubuntu 14.04, Gnome and the last menu item is clickable without problems for me. Maybe this was fixed in Java already?
Can you please verify the behavior with dev builds of NB 8.2 and JDK 8?