Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Artifical mouse events exhibit strange behaviour
Forum Updated to NodeBB v4.3 + New Features

Artifical mouse events exhibit strange behaviour

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 283 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.
  • A Offline
    A Offline
    aatwo
    wrote on last edited by
    #1

    Hi all. I am attempting to simulate mouse behaviours into a QML application as I am rendering it to an offscreen surface and placing it in a 3D environment. However my application seems to be detecting spasmodic mouse move events I am not creating and I am seeing my UI components at the top of my window react to them constantly.

    To try and debug this I created a simple QQuickWindow app containing a ListView with a bunch of rows, created a test class for posting mouse move events and frustratingly still see the issue. Even when locking the mouse move events to a single point it still gets sporadic mouse events near the top of the Window, which seems to get worse as the events are posted more quickly.

    I am pulling my hair out here. Am I using the wrong technique for simulating mouse events? Should I be posting the events to an object other than the QQuickWindow?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aatwo
      wrote on last edited by
      #2

      Just tried downgrading from Qt 6.0.1 / 6.0.2 to Qt 5.15.2 and the issue went away which I suppose suggests an issue with Qt 6.x.

      jsulmJ 1 Reply Last reply
      0
      • A aatwo

        Just tried downgrading from Qt 6.0.1 / 6.0.2 to Qt 5.15.2 and the issue went away which I suppose suggests an issue with Qt 6.x.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @aatwo You can file a bug in Qt bug tracker

        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