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

[Reg: 6.4 > 6.5] On some non-KDE systems, the mouse cursor doesn't change to indicate resize interaction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.5, 6.6
    • None
    • Linux/X11
    • 4dc3fb05a (13.0)

    Description

      The splitter handle of a QSplitter does no more change cursor to the resize cursor if hovering above it.

      See example source:

      #include <QApplication>
      #include <QPlainTextEdit>
      #include <QTreeView>
      #include <QSplitter>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QWidget parent;
          QSplitter splitter(&parent);
          splitter.addWidget(new QTreeView(&parent));
          splitter.addWidget(new QPlainTextEdit(&parent));
          splitter.setHandleWidth(1);
          parent.resize(300, 200);
          parent.show();
          return a.exec();
      } 

      This example works fine with Qt6.4.3, but fails with Qt6.5.1, Qt.6.6.

      Attachments

        1. allCursors_Qt54.webp
          1.02 MB
          Christian Stenger
        2. allCursors_Qt64.webp
          457 kB
          Christian Stenger
        3. allCursors_Qt66.webp
          1.21 MB
          Christian Stenger
        4. screenshot.png
          250 kB
          Christian Stenger

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              cstenger Christian Stenger
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes