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 235132 - Indication of property state is lost when CSS Styles window looses focus
Summary: Indication of property state is lost when CSS Styles window looses focus
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 06:50 UTC by Vladimir Riha
Modified: 2014-10-06 13:24 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 Vladimir Riha 2013-08-28 06:50:42 UTC
To reproduce, try e.g.
 - run Responsive Rabbits in Chrome with NB integration
 - select body element in Browser DOM
 - in CSS Styles|Applied Styles click on html rule from bootstrap.css:36
 - (now css properties in Rule editor are red and crossed)
 - either click in HTML editor, scroll scrollbar in Projects window, click on Network monitor window etc.

=> indication of css properties is lost (weird is that some properties randomly keeps this indication). 


Product Version: NetBeans IDE Dev (Build 201308280001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Marek Fukala 2013-08-28 07:06:42 UTC
Honzo, can you please check you are passing correct data and if so please reassign to me? Thank you...
Comment 2 Jan Stola 2013-08-28 14:25:52 UTC
(In reply to Marek Fukala from comment #1)
> Honzo, can you please check you are passing correct data and if so please
> reassign to me? Thank you...

I am able to reproduce the described issue. Some property states seem to be lost when another view is activated. There is no call to RuleEditorController.setRule() or to RuleEditorController.setDeclarationInfo() when the property state is lost => reassigning back to CSS Visual Tools.
Comment 3 Marek Fukala 2013-09-02 09:33:52 UTC
(In reply to Jan Stola from comment #2)
> (In reply to Marek Fukala from comment #1)
> > Honzo, can you please check you are passing correct data and if so please
> > reassign to me? Thank you...
> 
> I am able to reproduce the described issue. Some property states seem to be
> lost when another view is activated. There is no call to
> RuleEditorController.setRule() or to
> RuleEditorController.setDeclarationInfo() when the property state is lost =>
> reassigning back to CSS Visual Tools.
Thank you for the evaluation. Then it looks like  a bug in merging of the old/new property sets.