un-starring a scope jumps several scopes to the right

Bug #1508260 reported by Selene ToyKeeper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Michał Sawicz
qtdeclarative-opensource-src (Ubuntu)
Fix Released
Undecided
Timo Jyrinki
unity-scopes-shell (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I tap the star in a scope to un-favorite it, the view spontaneously shifts several scopes to the right. For example, if I flash a completely fresh image (such as arale rc-proposed 143), boot the first time, and tap the Today scope's star, the view shifts to the News scope instead of the Nearby scope.

In older images, the view would shift only to the nearest neighbor, preferring right-most when one existed.

Could we revert this back to the older behavior? Skipping multiple scopes seems like a bug.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Adding unity8 to affected packages. This sounds like a UI bug

Revision history for this message
Albert Astals Cid (aacid) wrote :

Can reproduce, investigating, seems a qtdeclarative issue

Revision history for this message
Albert Astals Cid (aacid) wrote :

The bug can be reproduced in http://paste.ubuntu.com/13215032/ so not a unity8 nor unity-scopes-shell bug.

Changed in unity8 (Ubuntu):
status: New → Invalid
Changed in unity-scopes-shell (Ubuntu):
status: New → Invalid
Revision history for this message
Albert Astals Cid (aacid) wrote :

If i remove debian/patches/Don-t-change-the-currentItem-after-a-viewport-resize.patch the bug goes away

Changed in qtdeclarative-opensource-src (Ubuntu):
assignee: nobody → Alberto Mardegan (mardy)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

FWIW the patch is in upstream Qt 5.6 and also backported to our upcoming 5.5 packages.

Revision history for this message
Alberto Mardegan (mardy) wrote :

The upstream bug is https://bugreports.qt.io/browse/QTBUG-49330 and I think I have a solution ready. Will update soon.

Changed in qtdeclarative-opensource-src (Ubuntu):
status: New → In Progress
Revision history for this message
Alberto Mardegan (mardy) wrote :
Alberto Mardegan (mardy)
Changed in qtdeclarative-opensource-src (Ubuntu):
assignee: Alberto Mardegan (mardy) → Timo Jyrinki (timo-jyrinki)
Changed in canonical-devices-system-image:
milestone: none → ww02-2016
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

In https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-046/+packages , testing welcome. I think not full test plan needs to be followed as only grid and list views are affected which is more manual testing related. So I would not be running AP tests this time.

Changed in canonical-devices-system-image:
assignee: nobody → Michał Sawicz (saviq)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtdeclarative-opensource-src - 5.4.2-1ubuntu7

---------------
qtdeclarative-opensource-src (5.4.2-1ubuntu7) xenial; urgency=medium

  * debian/patches/Don-t-make-currentIndex-skip-an-extra-item-on-remova.patch:
    - Fix jumping several scopes on unstarring (LP: #1508260)
  * debian/patches/Image-fix-crash-when-switching-between-multiple-scre.patch:
    - Fix a crasher when switching between multiple screens.

 -- Timo Jyrinki <email address hidden> Fri, 13 Nov 2015 08:06:56 +0000

Changed in qtdeclarative-opensource-src (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.