maybe bug in mobile 3.x

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

maybe bug in mobile 3.x

rsantiagopaz
(sorry the english)

finally I can reproduce a problem I get in my projects.


Try this code in a mobile project, not Playground.
When you select a item in selectbox, and open a Popup, this popup lost the modal if you tap/click outside popup.
If you don't select a item first, the bug don't happen.
If you click the selectbox but dont choose any item, the bug don't happen.
And the bug occurs only the first time. If you open many popups, works fine, until you select a item again in select box and the bug happen.

I try with Chrome and Windows 7, compiled with source or build.

      var page1 = new qx.ui.mobile.page.NavigationPage();
      page1.setTitle("Page 1");
      page1.addListener("initialize", function()
      {
                var slb = new qx.ui.mobile.form.SelectBox();
                slb.setModel(new qx.data.Array(["op 1", "op 2", "op 3"]));
                page1.getContent().add(slb);
     
        var button = new qx.ui.mobile.form.Button("Popup");
        page1.getContent().add(button);

        button.addListener("tap", function() {
                        var dialog;
                        var btnClose = new qx.ui.mobile.form.Button("Close");
                        btnClose.addListener("tap", function(e){
                                dialog.hide();
                        }, this);
                       
                        dialog = new qx.ui.mobile.dialog.Popup(btnClose);
                        dialog.setModal(true);
                        dialog.setTitle("Popup");
                        dialog.show();
        }, this);
      },this);

      var manager = new qx.ui.mobile.page.Manager(false);
      manager.addDetail([
        page1
      ]);
     
      page1.show();
Reply | Threaded
Open this post in threaded view
|

Re: maybe bug in mobile 3.x

czuendorf
Hi,

this seems to be a bug. As far as I know it does not occur on mobile devices.

Could you please open a bug at bugzilla.qooxdoo.org

Just copy the content of your mail as description.

Greetz Christopher
________________________________________
Von: rsantiagopaz [[hidden email]]
Gesendet: Mittwoch, 21. August 2013 12:35
An: [hidden email]
Betreff: [qooxdoo-devel] maybe bug in mobile 3.x

(sorry the english)

finally I can reproduce a problem I get in my projects.


Try this code in a mobile project, not Playground.
When you select a item in selectbox, and open a Popup, this popup lost the
modal if you tap/click outside popup.
If you don't select a item first, the bug don't happen.
If you click the selectbox but dont choose any item, the bug don't happen.
And the bug occurs only the first time. If you open many popups, works fine,
until you select a item again in select box and the bug happen.

I try with Chrome and Windows 7, compiled with source or build.

      var page1 = new qx.ui.mobile.page.NavigationPage();
      page1.setTitle("Page 1");
      page1.addListener("initialize", function()
      {
                var slb = new qx.ui.mobile.form.SelectBox();
                slb.setModel(new qx.data.Array(["op 1", "op 2", "op 3"]));
                page1.getContent().add(slb);

        var button = new qx.ui.mobile.form.Button("Popup");
        page1.getContent().add(button);

        button.addListener("tap", function() {
                        var dialog;
                        var btnClose = new qx.ui.mobile.form.Button("Close");
                        btnClose.addListener("tap", function(e){
                                dialog.hide();
                        }, this);

                        dialog = new qx.ui.mobile.dialog.Popup(btnClose);
                        dialog.setModal(true);
                        dialog.setTitle("Popup");
                        dialog.show();
        }, this);
      },this);

      var manager = new qx.ui.mobile.page.Manager(false);
      manager.addDetail([
        page1
      ]);

      page1.show();



--
View this message in context: http://qooxdoo.678.n2.nabble.com/maybe-bug-in-mobile-3-x-tp7584427.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: maybe bug in mobile 3.x

rsantiagopaz
- As far as I know it does not occur on mobile devices.

I forget mention, with tablet Android and Chrome is the same behavior too.


- Could you please open a bug at bugzilla.qooxdoo.org

Please someone can do it for me. Maybe you czuendorf. Thanks
Reply | Threaded
Open this post in threaded view
|

Re: maybe bug in mobile 3.x

Thomas Herchenroeder

On 08/21/2013 04:42 PM, rsantiagopaz wrote:
> - As far as I know it does not occur on mobile devices.
>
> I forget mention, with tablet Android and Chrome is the same behavior too.
>
>
> - Could you please open a bug at bugzilla.qooxdoo.org
>
> Please someone can do it for me. Maybe you czuendorf. Thanks

Done [1]. You can still register yourself at bugzilla.qooxdoo.org and
add yourself as CC to the bug, so you get automatically updated on its
changes.

T.

[1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=7676


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel