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.
Using the latest build from browser_toolbar_selector branch. 1. Create a HTML5 application 2. Go to Project properties -> PhoneGap Problem 1: The dialog says "Run configurations for Android and iOS are not created" and displays the "Create Mobile Run Configurations button. This is irrelevent, as I don't need any run configurations since I don't have a PhoneGap application. It is even more confusing since the browser switcher combo box does contain mobile browsers. 3. Go to Run panel Problem 2: The browser selection combo box in Run panel does not contain all the browsers available in the browser switcher combo box; in particular mobile targets are not present. 4. Cancel the dialog and switch the browser switcher in the toolbar to PhoneGap 5. Go to Project Properties -> Run Problem 3: ProneGap checkbox is not checked - I would expect it to be checked since PhoneGap is my target (if we keep this checkbox at all). And vice versa, when I unckeck it, I would expect the browser switcher to be changed to some other browser. One question related to this - should the browser switcher setting and the PhoneGap checkbox be shared among all users, or specific to each user? I would think that browser choice is private, whereas PhoneGap switch should be a shared setting, as that's a property of the project as such. Right now I see that the browser setting is in project.properties.
Changeset: b5a730814da8 Author: Jan Becicka <jbecicka@netbeans.org> Date: 2013-03-25 10:53 Message:
(In reply to comment #0) > Using the latest build from browser_toolbar_selector branch. > > 1. Create a HTML5 application > 2. Go to Project properties -> PhoneGap > > Problem 1: The dialog says "Run configurations for Android and iOS are not > created" and displays the "Create Mobile Run Configurations button. This is > irrelevent, as I don't need any run configurations since I don't have a > PhoneGap application. It is even more confusing since the browser switcher > combo box does contain mobile browsers. Fixed > > 3. Go to Run panel > > Problem 2: The browser selection combo box in Run panel does not contain all > the browsers available in the browser switcher combo box; in particular mobile > targets are not present. Bug? Davide? > > 4. Cancel the dialog and switch the browser switcher in the toolbar to PhoneGap > 5. Go to Project Properties -> Run > > Problem 3: ProneGap checkbox is not checked - I would expect it to be checked > since PhoneGap is my target (if we keep this checkbox at all). And vice versa, > when I unckeck it, I would expect the browser switcher to be changed to some > other browser. > > One question related to this - should the browser switcher setting and the > PhoneGap checkbox be shared among all users, or specific to each user? I would > think that browser choice is private, whereas PhoneGap switch should be a > shared setting, as that's a property of the project as such. Right now I see > that the browser setting is in project.properties. PhoneGap checkbox removed. It does not do anything any more. Build is controlled by switcher.
Thanks a lot Honzo, though with the latest state, I see a problem with distinguishing between PhoneGap and non-PhoneGap in new project wizard - I filed a separate issue 227901 for this.
(In reply to comment #2) > > Problem 2: The browser selection combo box in Run panel does not contain all > > the browsers available in the browser switcher combo box; in particular > > mobile targets are not present. > > Bug? Davide? That was my fault. Fixed in 3f90ed02e0df.
Verified. Regarding the shared/per-user setting dilemma, I filed this as a separate bug 227995.
Integrated into 'main-golden', will be available in build *201303272300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b5a730814da8 User: Jan Becicka <jbecicka@netbeans.org> Log: Issue #227824 - Inconsistencies between browser switcher in toolbar and HTML5 project properties