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.
Running html file in HTML5 project has some random issues. Autorefresh doesn't work and embedded browser not always accurate. To reproduce: - create HTML 5 project - add new html file - right-click html node in projects view and choose Run File - provide JavaFX runtime - right-click Web Browser tab and choose Float - modify html in editor and save it - broser is NOT refreshed - create HTML 5 project - add new html file - sometimes is newly created html file opened in editor area, sometimes in floating Web Browser window - right-click html node in projects view and choose Run File - sometimes is new Web Browser panel opened in editor are, sometimes in floating Web Browser window - sometimes is displayed content of newhtml.html from previous projects - repeat "create project/create html/run/modify" several times Product Version: NetBeans IDE Dev (Build EaselCSS-515-on-20120820) Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
There were two problems I fixed: * multiple projects would get it own embedded browser tab. This is fixed now and there is always a single embedded browser tab used by all HTML5 projects. 3d2162d5b62c * internal webserver got mixed up in cases like this: Project1 with web context root "/Project1" and Project11 with web context root "/Project11". In such case web server tried to server Project11 files from Project1. Fixed as 169c952c972f If there are some remaining issues then please reopen. If window system is concerned (eg. "sometimes is new Web Browser panel opened in editor are, sometimes in floating Web Browser window") then assign issues directly to Standa Aubrecht from window system.
It is better now when Web Browser is singleton but it is still little bit tricky. I filed bugs 217125, 217126, 217129.
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/169c952c972f User: David Konecny <dkonecny@netbeans.org> Log: #217096 - Unpredictable result of run html file