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 229846 - [regression] typing is extremely slow in NB 7.4 based on JDK7 [slow GTKEngine.nativeFinishPainting]
Summary: [regression] typing is extremely slow in NB 7.4 based on JDK7 [slow GTKEngine...
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: REGRESSION
: 230347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-16 11:07 UTC by Vladimir Voskresensky
Modified: 2013-11-01 13:22 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
self-profile (316.22 KB, application/octet-stream)
2013-05-16 11:08 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2013-05-16 11:07:38 UTC
Trunk version of Netbeans is rather unresponsive due to big delay between typing symbol and it's appearence on the screen.
It is a regression in 7.4 after switch to JDK7 it was absolutely fine on JDK6.
I observe this on Ubuntu and Solaris 11
Comment 1 Vladimir Voskresensky 2013-05-16 11:08:07 UTC
Created attachment 134510 [details]
self-profile
Comment 2 Vladimir Voskresensky 2013-05-16 11:09:31 UTC
attached self-profile snapshot shows that AWT thread spends a lot of time in method GTKEngine.nativeFinishPainting (10 sec).
Comment 3 Vladimir Voskresensky 2013-05-16 11:10:51 UTC
upgrading it to P2, because it's a regression and GTK is the default L&F on Ubuntu and Solaris 11.

Workaround: start NB with --laft Metal
Comment 4 Vladimir Voskresensky 2013-05-16 11:11:40 UTC
Most probably it is bug in JDK
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7058937
Comment 5 Petr Cyhelsky 2013-05-29 08:12:24 UTC
*** Bug 230347 has been marked as a duplicate of this bug. ***
Comment 6 Vladimir Voskresensky 2013-05-29 08:18:05 UTC
NB team, please, escalate JDK regression #7058937 to P2
Comment 7 Miloslav Metelka 2013-05-29 11:37:22 UTC
Reassigning to platform/jdk since I don't have proper means to do that.
Tondo could you please increase the priority of the JDK issue? Thanks in advance.
Comment 8 Antonin Nebuzelsky 2013-05-31 15:28:48 UTC
JDK bug priority increased to P2 with additional information.

Closing wontfix on our side.
Comment 9 slavikme 2013-10-31 18:59:25 UTC
I'm also experiencing it on my Mac OS X (10.8 and 10.9).
I've experienced it since version 7.3.1 through 7.4.
On 7.3 it works fine!

Also, Netbeans hangs-on all the time (on different actions, like searching within files, code completion, focusing on netbeans after it worked on the background and more). The only way to force-kill the process and restart netbeans which is losing the session (like opened tabs, opened project and more).

I'm considering to downgrade to version 7.3, because it's frustrating to work like this.

Please, do something about it. I'll provide you whatever information you need to solves those bugs.

Thanks.
Comment 10 mp 2013-11-01 09:24:10 UTC
Same Problem here! 
Using other Editors at the moment ...

Main Problem is in the PHP-Editor i think,
scrolling down with the cursor and typing hangs, delays often.
In the CSS-Editor it is more quickly.

I tried to disable all kinds of plugins, 
and tried to disable as much settings as possible,
but still hanging.
Only after disabling PHP-Plugin itself it was fast,
but then no Code-Highlightning and so on ...

OS X Maverick
Netbeans 7.3.1/7.4

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Please find a fix quickly, 
i like only Netbeans really much!
Comment 11 Antonin Nebuzelsky 2013-11-01 12:33:08 UTC
This bug and the related JDK bug is specific to GTK look and feel on Linux.

Do not reopen for OS-X. Instead file a separate issue.

According to your comments, your case is PHP-specific. Please, file the new bug under PHP product for evaluation. Thanks.
Comment 12 Antonin Nebuzelsky 2013-11-01 12:34:36 UTC
(In reply to Antonin Nebuzelsky from comment #11)
> According to your comments, your case is PHP-specific. Please, file the new
> bug under PHP product for evaluation. Thanks.

File your bug here:
https://netbeans.org/bugzilla/enter_bug.cgi?product=php&component=Editor