Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pointermove/mousemove events return wrong result in isLeftPressed() #9619

fortooon opened this issue Jan 29, 2019 · 1 comment


None yet
2 participants
Copy link

commented Jan 29, 2019

I found that pointermove/mousemove events in qoodoo layer use (or include) wrong mouse button info.
pointermove/mousemove events return wrong result in method isLeftPressed() in my browser, if I press left mouse button or not pointermove.isLeftPressed() -> false, pointermove.isLeftPressed() -> true always. May be reason is that event._native.button include wrong button ID. Or may be I just don't understand something...

Please, help with workaround or patch for qooxdoo event processing.

To Reproduce

just run simple example based on and see in console

  extend : qx.application.Standalone,

  members :
    main: function()

      var container = new qx.ui.container.Composite(new qx.ui.layout.HBox());
      container.addListener("pointermove", this.__onPointerMove, this);
      container.addListener("mousemove", this.__onPointerMove, this);

      this.getRoot().add(container, {edge:0});
    __onPointerMove : function(event) {
      var t1 = new Date();
      console.log("Time:", t1.getTime());     
      console.log("Check event info", event.isLeftPressed(), event.getType(), event.getButton());

Desktop :

  • OS: Ubuntu
  • Browser chromium
  • Version 71.0.3578.98

qooxdoo version : 5.0.2


This comment has been minimized.

Copy link

commented Feb 15, 2019

bug confirmed on firefox 65 windows 10.
playground sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.