Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106031

Mouse cursor location offset if canvas doesn't start at 0,0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.4.2, 6.5.0 Beta1
    • 6.4
    • QPA
    • None
    • WebAssembly
    • 899e540d46 (qt/qtbase/dev) 899e540d46 (qt/tqtc-qtbase/dev) dbbb779834 (qt/qtbase/6.4) dbbb779834 (qt/tqtc-qtbase/6.4)

      Start a WASM application. Inspect the webpage and insert a div:

      <div style='height: 200px'></div>

      above the main canvas. Try using the app - observe that the mouse cursor's position in the app is offset from the system position by 200px vertically.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mikolaj.boc Mikołaj Boc
            mikolaj.boc Mikołaj Boc
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: