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 - Selection stays on obsolete position until first mouse move
Summary: Selection stays on obsolete position until first mouse move
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-05 13:33 UTC by Vladimir Riha
Modified: 2012-10-04 08:06 UTC (History)
1 user (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-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)