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 128390

Summary: Regression: stylebuilder does not autoload rule
Product: web Reporter: _ krystyna <krystyna>
Component: CSS Visual ToolsAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description _ krystyna 2008-02-26 01:54:02 UTC
NetBeans IDE Dev (Build 200802251204)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 

1. create a web project and add a stylesheet
2. double click .css from project node to load into multiviewer
3. by default, stylebuilder is not focused on rule, says No CSS Rule selected. OK expected.
4. select rule by clicking inside root rule 
>stylebuilder still not activated

Need to click on any other tab in multiviewer and return to see stylebuilder refreshed.
Comment 1 Marek Fukala 2008-02-26 16:43:50 UTC
is is reproducible? it seems to be random. I encountered it only once...
Comment 2 _ krystyna 2008-02-26 17:48:06 UTC
Yes, now I got it consistently even on restart of IDE. I wonder if this is a
result of the previous NPE I got and reported in issue #128386?
That I don't know if I can reproduce but I had loaded a second css
file when I got it.




Comment 3 Marek Fukala 2008-02-27 15:15:28 UTC
I know what is the problem now. The CssEditorSupport incorectly un/registers some listeners if you switch between css
files. 

I'll fix it together with #128386 asap.
Comment 4 Marek Fukala 2008-02-29 07:51:55 UTC
fixed in changeset 877d75e17447
Comment 5 _ krystyna 2008-02-29 20:02:42 UTC
Verified fixed in
: NetBeans IDE Dev (Build 20080229164811)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 

Thanks!