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 223229 - Focus stolen from CSS Styles after each rule modification
Summary: Focus stolen from CSS Styles after each rule modification
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jan Stola
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-12-04 09:06 UTC by Vladimir Riha
Modified: 2012-12-05 13:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (38.90 KB, text/plain)
2012-12-04 09:06 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-12-04 09:06:42 UTC
Created attachment 128817 [details]
IDE log

To reproduce:
- create Responsive Rabbits sample project
- open index.html and run it
- select e.g. image using Inspect Mode in browser
- try to change image's width via CSS Styles window

=> if you use up/down buttons, after 1st press focus is gone and you cannot modify it again unless you re-select it. The same happens if you type value of some property and press Enter. Focus is gone

Pressing Ctrl+Shift+Pause Breaks prints

*** ShortcutAndMenuKeyEventProcessor: current focus owner = org.netbeans.modules.html.navigator.HtmlNavigatorPanelUI[,0,0,554x460,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=265,maximumSize=,minimumSize=,preferredSize=]


but pressing Ctrl+W close CSS Styles. This looks like issue 217380 but I think it is a bit old for reopening
Comment 1 Vladimir Riha 2012-12-04 10:28:19 UTC
... and closing Navigator helps
Comment 2 Vladimir Riha 2012-12-04 10:43:30 UTC
missing info:
Product Version: NetBeans IDE Dev (Build web-main-9421-on-20121203)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 3 Vladimir Riha 2012-12-04 12:45:41 UTC
it could be possibly caused by issue 223247?
Comment 4 Jan Stola 2012-12-04 13:59:58 UTC
I had no idea what could be wrong. Hence, I did a binary search on the continous builds and found out that the described test-case works fine in web-main build 9416, but the bug appears in build 9417. I skimmed over 225 changesets in build 9417 and found a possible root of this problem:
http://hg.netbeans.org/web-main/rev/a3e1746e9617
Meanwhile the bug 223247 (that has the same root) was reported and fixed.

I discussed this test-case with J.Peska (the author of the mentioned changeset and fix of issue 223247) and the fix of issue 223247 should hopefully fix this issue as well. I am keeping this issue opened until we can verify that this is really the case.
Comment 5 Vladimir Riha 2012-12-04 16:39:53 UTC
Thanks for investigation, I'll try it tomorrow with some build containing this fix.
Comment 6 Jan Stola 2012-12-05 06:57:14 UTC
Fixed by http://hg.netbeans.org/web-main/rev/bac98ed4126e
Comment 7 Vladimir Riha 2012-12-05 13:20:37 UTC
Verified


Product Version: NetBeans IDE Dev (Build web-main-9433-on-20121204)
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-b17
System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)