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

PageDown/PageUp QListView behavior

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4: Low
    • 4.6.1
    • 4.2.3
    • Widgets: Itemviews
    • None

    Description

      QListView behaves a little unexpected in terms of PageUp/PageDown:

      To reproduce:

      #include <QtGui>

      int main(int argc, char **argv)
      {
      QApplication a(argc, argv);
      QListWidget lw;
      for (int i=0; i<100; ++i)

      { lw.addItem(QString::number(i)); }

      lw.show();
      return a.exec();
      }

      start app
      resize the window so that item 9 is partly visible
      select item 8
      hit page down
      the top item will now be item 10. I would expect item 9 to be the first visible one.

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            rve Anders Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes