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

Wayland: ToolTip resets the mouse cursor shape

    XMLWordPrintable

Details

    • Linux/Wayland
    • 555bda173 (dev)

    Description

      1. Launch the following application:

      #include <QApplication>
      #include <QWidget>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);    QWidget w;
          w.setCursor(Qt::PointingHandCursor);
          w.setToolTip("Test");
          w.show();    
          return a.exec();
      }
      

      2. Window has "PointingHandCursor" cursor.
      3. Wait for tooltip to appear.

      Result: Mouse cursor changes to the default "ArrowCursor". When you close the tooltip by clicking on empty window area, it's remains default instead of "PointingHandCursor", but tooltip no longer exists.

       

       

      It often happens in QtCreator, mouse cursor resets to "PointingHandCursor" because of tooltips in text editor.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            zaps166 Błażej Szczygieł
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes