Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mouse event order from Qt 4.8.4 to Qt 5.X

Mouse event order from Qt 4.8.4 to Qt 5.X

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 592 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • kragnfrolK Offline
    kragnfrolK Offline
    kragnfrol
    wrote on last edited by
    #1

    Hi !

    I had an app working with QT 4.8.4 and migrated it to Qt 5.5.

    I've a bug with my pan tool. I can hold the right mouse button to move stuff inside a widget, and if I release the right mouse button while the mouse is on top of another widget, the pan tool is correctly desactivated with Qt 4.8.4.

    It's now broken with Qt 5.5, and It's because I get the mouseLeave event first, and then the mouseRelease, while Qt 4.8.4 sent the mouseRelease event first.

    I know I can fix my code, but I would like to know more about it.
    Is there any other event which are now sent in a different order ? Is there a way to change that order ? Is that an wanted change and why is it different now ?

    I just want to understand these changes to know if there is some other hidden bugs in my app.

    Thanks a lot !

    Cheers,

    Valerian

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I remember there was a thread about that on the interest mailing list.
      There might also be a bug report about it.

      You should check both.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved