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

GridView snapping issues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.7.1
    • None
    • This was seen with qt-qml HEAD at 6bf28141cc8679bf56a8da4183e9862115ef56f7
      and tesla HEAD at 66a692e4e6fcd71aea2358bb8e6b97cd2000d130
    • db414f8db1cca5d811416eb1ecec0536c379e107

    Description

      Start tesla and flick the application open in the switcher at launch. Note how it stays
      centered horizontally. Open and minimize two more apps, and note how the third app
      is shown in the left column, with the first and second app peeking in from the side. This
      is not the desired behavior; when there is more than two applications open, the screen
      should always contain three or four applications fully visible (i.e. the right-hand column
      should never be empty).

      Note how changing the preferredHighlightEnd on line 36 of ZoomedOutView.qml to

      preferredHighlightEnd: preferredHighlightBegin + cellWidth*(count <= 2 ? 1 : 2)
      

      does not help; note how the left-hand column now can also be made empty, and it is
      possible to drag and release the view in ways that the columns are not snapped to one
      side or the other at all, even though snapMode is GridView.SnapToRow.

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            mathiasm Mathias Malmqvist
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes