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 - Regression: stylebuilder does not autoload rule
Summary: Regression: stylebuilder does not autoload rule
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 01:54 UTC by _ krystyna
Modified: 2008-04-28 13:37 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 _ 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!