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 217896

Summary: Selection stays on obsolete position until first mouse move
Product: web Reporter: Vladimir Riha <vriha>
Component: InspectionAssignee: Jan Stola <jstola>
Status: VERIFIED FIXED    
Severity: normal CC: vriha
Priority: P4    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2012-09-05 13:33:06 UTC
To reproduce:

- have html file with some element, that has this css property in linked css file:

position: relative;
left:50px; 


- select the element using Select Mode in chrome
- in IDE, change the css of the element to

position: relative;
left:150px; 


=> the original position of element stays outlined and it's not updated until you move cursor/select element




  Product Version         = NetBeans IDE Dev (Build 201209050001) (#3645cb9e4f5d)
  Operating System        = Linux version 3.2.0-29-generic-pae running on i386
  Java; VM; Vendor        = 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_06-b24
Comment 1 Jan Stola 2012-09-24 09:43:54 UTC
Fixed - the highlight is repainted when a stylesheet is modified.

Modified file: http://hg.netbeans.org/web-main/rev/26732681ea93
Comment 2 Vladimir Riha 2012-10-04 08:06:35 UTC
verified, thanks


Product Version: NetBeans IDE Dev (Build 201210040002)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b03
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)