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 256586

Summary: remote x11 has slow menus
Product: platform Reporter: mvogt1
Component: -- Other --Assignee: Antonin Nebuzelsky <anebuzelsky>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Profile Information
selfsample second version Profile Information
message log which was missing

Description mvogt1 2015-11-13 15:05:41 UTC
Hello,

this bug/feature is around since netbeans 6.5 and is still valid
in 8.0.2 and 8.1.

I have started netbeans from an indirect session:

X :1 -query <host>

or you can login into a remote host with X11/ssh forwading, to
reproduce it. 

The Menus on the remote X11 Menubar are incredible slow!

There was a time when this was true for eclipse as well, but
eclipse works nice on remote X11 (ssh or query) now since a few
years.

(This shows me that there could be a solution.)

The workaround mentioned here:

https://netbeans.org/bugzilla/show_bug.cgi?id=221862

did not work for me.

regards,

Martin
Comment 1 Tomas Hurka 2015-11-16 09:39:07 UTC
Please provide additional information:
1) attach messages.log file
2)  use 'Profile Me Now' <http://wiki.netbeans.org/FitnessViaPartnership> and attach the snapshot - this way we will know, what is going on when menus are drawn.

Thanks.
Comment 2 mvogt1 2015-11-16 10:06:39 UTC
Created attachment 157353 [details]
Profile Information
Comment 3 mvogt1 2015-11-16 10:13:49 UTC
- attached performance file

But I don't know how to get the messages.log file.

My profiling was.

- start profiling
- click on "FILE"
- wait until menu appears
- press cursor right
- wait until menu appears
- presse cursor right
- etc...

netbeans uses AWT, the dropdown menus in the IDE are slow too.
The switch of the TAB view is fast.
Comment 4 mvogt1 2015-11-16 10:32:54 UTC
- same with OpenJDK 1.7.x
- oracle JDK 1.8.x
Comment 5 Jiri Kovalsky 2015-11-18 06:55:43 UTC
The messages.log file is stored in your $HOME/.netbeans/8.0.2/var/log directory.
Comment 6 mvogt1 2015-11-19 11:00:18 UTC
Created attachment 157406 [details]
selfsample second version Profile Information
Comment 7 mvogt1 2015-11-19 11:00:52 UTC
Created attachment 157407 [details]
message log which was missing

This is for Sun JDK 1.8