Wrong icon when dragging items in the launcher

Bug #1302761 reported by Michał Sawicz
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Undecided
Unassigned
Ubuntu UX
Fix Released
High
Vesa Rautiainen
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
Undecided
Michael Zanetti

Bug Description

Steps:
- long-press and drag'n'drop an icon in the launcher
- long-press and start dragging another icon in the launcher

Expected:
- correct items are dragged in both cases

Current:
- the item dragged has the first item's icon

----------------
Desired resolution:

Often when trying to organise items in launcher the dragged item behaves strangely. Actually not even dragging is needed, it is enough just to long press an item.

This doesn't happen every time but still often enough to be easily reproduced.

Steps to reproduce:
Long press some launcher item

Expected outcome:
User can move the item around and the icon is the same as what it was initially

Actual outcome:
Icon changes to some other icon (I wasn't able to figure out logic to which it changes, it can even be an icon that's not pinned or isn't currently in recent apps list)

When released icon changes back to its original one.

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Michael Zanetti (mzanetti) wrote :

This is caused by the UbuntuShape not updating any more if the Image's source changes.

Reassigning to SDK. Attached a simple test case.

Changed in unity8 (Ubuntu):
assignee: nobody → Michael Zanetti (mzanetti)
Revision history for this message
Mirco Müller (macslow) wrote :

This seems to be related (if not the same issue) causing https://bugs.launchpad.net/unity8/+bug/1296777.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Bump. Can anyone please look into this?

Changed in unity8 (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Seems this is fixed in the SDK now but as it behaves different than before, its still broken in the Launcher. Will fix it there.

Changed in unity8 (Ubuntu):
status: Invalid → In Progress
Michał Sawicz (saviq)
Changed in ubuntu-ui-toolkit:
status: New → Invalid
status: Invalid → Fix Released
John Lea (johnlea)
description: updated
Changed in ubuntu-ux:
assignee: nobody → Vesa Rautiainen (vesar)
status: New → Fix Committed
tags: added: vesar-launcher
Changed in ubuntu-ux:
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 7.90+14.10.20140709.2-0ubuntu1

---------------
unity8 (7.90+14.10.20140709.2-0ubuntu1) utopic; urgency=low

  [ Michal Hruby ]
  * Fix FTBFS when using latest unity-api.

  [ Michał Sawicz ]
  * Refactor carousel item activation.
  * Refactor ScopeItem into GenericScopeView.
  * Add initial support for scope customizations.
  * Make rating stars in PreviewReviewDisplay.qml non-interactive. (LP:
    #1337508)

  [ Nick Dedekind ]
  * Added active call hint A hint is displayed in the indicator panel
    when an call is active on the Telephony Serivce

  [ Albert Astals ]
  * We need to boostrap height also when we have 1 item ^_^ (LP:
    #1337408)
  * Add initial support for scope customizations.
  * CardCreator: Give a correct implicitHeight if we only have art The
    hasSubtitle change is really unrelated and not needed here, just
    sneaking it in to not create yet another review. (LP: #1330899)
  * Fake Scopes Plugin: Register PreviewModelInterface

  [ Michael Zanetti ]
  * make the launcher's drag'n'drop indicator more prominent (LP:
    #1332042)
  * make launcher items live having them non-live is not really required
    and reveals an issue in combination with UbuntuShape (LP: #1302761)
  * Fade out launcher in place instead of moving it to the left on long
    left edge swipes. (LP: #1332096)
  * update launcher icon glow as requested by design (LP: #1336725)
  * update header in dash to use the new header from the SDK (LP:
    #1335491)
  * fix testPreview with larger GRID_UNIT_PX values
  * clip the corner of pinned icons in the launcher as per new design
  * update launcher background according to latest design (LP: #1336314)
  * Update Launcher's home button design according to new spec. (LP:
    #1329331)

  [ CI bot ]
  * make launcher items live having them non-live is not really required
    and reveals an issue in combination with UbuntuShape (LP: #1302761)
 -- Ubuntu daily release <email address hidden> Wed, 09 Jul 2014 19:46:11 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

This seems to be fixed in image Utopic 140.

Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Vesa Rautiainen (vesar)
Changed in ubuntu-ux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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