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

wasm: Cursor shape cannot be changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9.0
    • GUI: Menus
    • None
    • EMSDK: 3.1.70
      Qt: v.6.9.0
    • WebAssembly

      It is not possible to change cursor shape in WASM Qt 6.9.0.

      Precompiled version: https://hyperborg.com/bugreport/cursor/v6.9.0/cpnode.html
      Source code: https://hyperborg.com/bugreport/cursor/v6.9.0/main.cpp

      Reproduce: run the WASM application from the link above. When the "Type some text here" text appears, click on the TextEdit area with the right mouse button. It will call the showContextMenu() function, that adds the "setting cursor to OpenHand" text, but the shape of the cursor does not change, as would expected after the setCursor(Qt:OpenHandCursor) call.

      I will cross-check with Qt 6.8.2 also. I will update my findings when that compilation is ready.

        For Gerrit Dashboard: QTBUG-136685
        # Subject Branch Project Status CR V

            lopotter-ext Lorn Potter
            hyperborg Imre Nagy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change