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 221358 - Outlining affected elements by selected rule does not work from Document view
Summary: Outlining affected elements by selected rule does not work from Document view
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-11-02 14:33 UTC by Vladimir Riha
Modified: 2012-11-05 07:48 UTC (History)
2 users (show)

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 2012-11-02 14:33:28 UTC
To reproduce:
- run Easel Demo, start Inspect Mode
- switch to Document view in CSS Styles
- select some rule from some CSS file that you know affects some element

=> the element is not outlined (light green) in browser and also not highlighted in Navigator. This used to work couple of days ago. Please note that this work if the rule is selected from Selection view of CSS Styles window.


Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211020750)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Jan Stola 2012-11-02 19:56:46 UTC
This is a regression caused by mfukala's replacement of the content of Document section. PageModel.setSelectedSelector() should be called to visualize the matching elements.
Comment 2 Marek Fukala 2012-11-03 11:57:16 UTC
I'm sorry for the regression, I had no idea there's such thing.

fixed in web-main#420cbb5ab198
Comment 3 Quality Engineering 2012-11-04 02:50:42 UTC
Integrated into 'main-golden', will be available in build *201211040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/420cbb5ab198
User: Marek Fukala <mfukala@netbeans.org>
Log: #221358 - Outlining affected elements by selected rule does not work from Document view
Comment 4 Vladimir Riha 2012-11-05 07:48:24 UTC
Thanks, verified

Product Version: NetBeans IDE Dev (Build web-main-9101-on-20121104)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)