Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2055

QApplication.setOverrideCursor() stopped working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.3.0, 6.3.1
    • PySide
    • None
    • Linux-64, Fedora 35/36
    • Linux/X11, macOS

      `QApplication.setOverrideCursor()` no longer changes the current cursor.
      `QWidget.setCursor()` still works though, so changing the cursor itself is not technically broken.

      Here is a minimal example that works under PySide6 6.2.4 but doesnt with 6.3.*:

      from PySide6.QtCore import Qt
      from PySide6.QtWidgets import QApplication, QWidget
      
      app = QApplication([])
      w = QWidget()
      w.show()
      # w.setCursor(Qt.WaitCursor)
      QApplication.setOverrideCursor(Qt.CursorShape.WaitCursor)
      app.exec()
      

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

            crmaurei Cristian Maureira-Fredes
            sscherfke sscherfke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes