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

Qt::PointingHandCursor wrong on Ubuntu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P5: Not important P5: Not important
    • None
    • 5.3.1
    • GUI: Look'n'Feel
    • None
    • Ubuntu 14.04.1 LTS 64bit. SPecific to Ubuntu, does not happen in Suse or Arch or Windows or OS X
    • Linux/X11

      Qt is using a default cursor for Qt::PointingHandCursor instead of the cursor from the system theme on Ubuntu (a small black left hointing hand). TO reproduce, run the following, simple example. Interestingly, this only affects that one cursor, all other cursor types such as arrow, resize, etc are correct.

      Also when I try to take a screenshot, the cursor in the screenshot is correct, even though the cursor I can see is wrong.

      #include <QApplication>
      #include <QMainWindow>
      
      int main(int argc, char **argv) {
      QApplication app(argc, argv);
      QMainWindow *w = new QMainWindow();
      w->setCursor(Qt::PointingHandCursor);
      w->show();
      app.exec()
      }
      

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

            liaqi Liang Qi
            kovid Kovid Goyal
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes