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

QSlider in vertical orientation moves in the wrong direction with macos style

    XMLWordPrintable

Details

    • macOS

    Description

      `QSlider` in vertical orientation travels in the wrong direction when dragged with a mouse. I.e. moves up when dragging down. It also does not always paint the slider notch or it paints it only partially.

      This is limited to macos style. Switching to fusion or windows style on macos fixes this.

      Qt 5.9.* seems unaffected.

       

      #include <QSlider>
      #include <QApplication>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QSlider slider(Qt::Vertical);
          slider.show();
          return a.exec();
      }
      

       

      Tested on macOS 10.11.6

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              aleserjavec Ales Erjavec
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes