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 230957 - CSS popup help window hangs IDE for 2 seconds every time it appears
Summary: CSS popup help window hangs IDE for 2 seconds every time it appears
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 20:23 UTC by pekarna
Modified: 2013-06-10 07:18 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 pekarna 2013-06-07 20:23:27 UTC
Editing a .css file is a pain:
Every time a popup appears, which is after every each space or enter, the code completion dialog appears, with a help window.
But the help window appears gray and it takes 2-3 seconds to load.
During that time, the IDE UI is stuck.


Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_21; OpenJDK 64-Bit Server VM 23.7-b01
Runtime: OpenJDK Runtime Environment 1.7.0_21-b02
System: Linux version 3.5.0-32-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/ondra/.netbeans/7.3
Cache directory: /home/ondra/.cache/netbeans/7.3
Comment 1 pekarna 2013-06-07 21:03:51 UTC
Seems like it's the help content rendering which takes so long.

Maybe it could be wise to pre-render it in the background for all values  when the CSS file is opened?
Or show the help on second Ctrl+space?
Or maybe render in the background and show it when the rendering is done?
Comment 2 pekarna 2013-06-09 20:25:36 UTC
This started to work fine after restart of NetBeans.
Comment 3 Marek Fukala 2013-06-10 07:18:11 UTC
BTW I'm curious whether this was caused by the browser rendering. If this happen again to you please take several threaddumps or take the ide thread snapshot and attach it here. Thanks in advance.