Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unable to scroll horizontally in QListView

Unable to scroll horizontally in QListView

Scheduled Pinned Locked Moved General and Desktop
13 Posts 2 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zenwong
    wrote on last edited by
    #1

    I have a QListView with isWrapping set to true, and I am unable to scroll horizontally unless my mouse cursor is directly on the scrollbar.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet !

      Can you elaborate a bit more on this ? What version of Qt are you using ? On what OS ? What is your use case ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zenwong
        wrote on last edited by
        #3

        Hi thx for the welcome!

        I'm using Qt 5.2, on arch linux 64bit. I'm trying to list a bunch of files, like a file browser. I noticed this seems to be the default behaviour as well when I open a file choose dialog with Qt.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If you use one of your system's program that has a list view, does it do the same ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            zenwong
            wrote on last edited by
            #5

            I downloaded a Qt file manager app http://www.qtfm.org and it has the same problem, unable to scroll unless the mouse pointer is directly over the horizontal scrollbar. I also notice the same issue in Qt Assistant.

            I normally use thunar as my file manager, it does not have this problem.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Then it might be related to your window manager. What desktop environment are you using ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                zenwong
                wrote on last edited by
                #7

                Openbox.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Can you switch to another desktop environment to check whether it's specific to Openbox ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    zenwong
                    wrote on last edited by
                    #9

                    I've just tested this on windows 7, and I get the same behaviour.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Then you should check the "bug report system":http://bugreports.qt-project.org to see whether it's something known.

                      If not, please open a new report providing a minimal compilable example that shows the behavior.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • Z Offline
                        Z Offline
                        zenwong
                        wrote on last edited by
                        #11

                        reported

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          Thank you, can you also post the link to the report here ? So other people coming across this post can see it

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • Z Offline
                            Z Offline
                            zenwong
                            wrote on last edited by
                            #13

                            https://bugreports.qt-project.org/browse/QTBUG-37007

                            1 Reply Last reply
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved