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 226178 - Navigator may ignore running file
Summary: Navigator may ignore running file
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Navigator (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2013-02-15 14:11 UTC by Vladimir Riha
Modified: 2013-05-06 07:27 UTC (History)
3 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 2013-02-15 14:11:10 UTC
This is a bit random and I see it with only files in one particular project. 

To reproduce:
- download https://github.com/ladariha/sampleapp and open & run e.g. index.html in Chrome
- press Cancel button on the yellow toolbar in Chrome so inspection is stopped
- in IDE, press run button in CSS Styles window

=> sometimes, Navigator keeps showing gray icon and communication between Navigator and Browser is not working (e.g. highlighting...) but inspection with CSS Styles window works fine (except in participation of Navigator). 

This happens only if the file is run from CSS Styles window. If I run file using editor's context menu, context menu in Projects or keyboard shortcut, it is OK. Also If I see this issue, refresh on save brings the valid content of Navigator.


Random, easy workaround, so far noticed in one project only => P3



Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b02
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-02-15 14:13:34 UTC
Works fine with Embedded browser, so important is to use Chrome (with inspection) and run file from CSS Styles window
Comment 2 Jan Stola 2013-02-18 13:11:53 UTC
It seems like some race condition in HTML Navigator.
Comment 3 Jan Becicka 2013-05-02 14:17:10 UTC
Live elements are now available in DOM View
Comment 4 Vladimir Riha 2013-05-06 07:27:41 UTC
I tried it several times, Browser DOM was always opened => verified


Product Version: NetBeans IDE Dev (Build 201305052300)
Updates: Updates available
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)