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

wasm: Cursor shape cannot be changed

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes