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 237022 - "Run File" causes Firefox to pop-up the "Firefox Safe Mode" dialog
Summary: "Run File" causes Firefox to pop-up the "Firefox Safe Mode" dialog
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-11 09:49 UTC by terje7601
Modified: 2015-03-20 13:58 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 terje7601 2013-10-11 09:49:21 UTC
To reproduce:
1) create a new "HTML5 Application" project with all default values
2) switch the browser to Firefox
3) do "Run File" of index.html
4) if Firefox is not yet started, the "Firefox Safe Mode" dialog pops-up

Notes:
* this is a general problem, it also happens with e.g. "PHP Application" projects
* if Firefox is already started, it works as expected

Version info:
Product Version: NetBeans IDE 7.4 RC2 (Build 201309252201)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b45
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-lambda-nightly-h109-20130902-b106-b00
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Comment 1 terje7601 2013-10-13 18:25:26 UTC
I have most likely found the cause of this: when starting Firefox while holding the shift key, it pops-up this dialog (cfr. this Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=644175 ). And since the default NetBeans shortcut for "Run File" is Shift+F6, there's virtually no time for the user to release the Shift key before Firefox launches & detects it. I haven't tested this yet, but this would mean doing "Run File" by using the context menu (or changing the shortcut key to not work with Shift) would work as expected.
Comment 2 Vladimir Riha 2013-10-13 20:56:06 UTC
Thank you for the link. I tried it and yes, running file from context menu does not trigger Firefox safe mode while using Shift+F6 does.
Comment 3 Jan Stola 2015-03-20 13:58:39 UTC
This is an unfortunate feature of Firefox (as it has been mentioned by the reporter). We cannot do much in this case. We would just be able to change the Run File shortcut to something else, but this is a well-known frequently used shortcut. So, this Firefox problem doesn't justify its modification. On the other hand, anyone can modify this shortcut if needed in his/her own environment through Tools > Options > Keymap > Run File.