Dash - As soon as a user starts dragging a .png file from the Dash, the file icon turns into a grey question mark

Bug #764447 reported by John Lea
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Released
Medium
John Lea
Unity
Fix Released
Medium
Robert Carr
unity (Ubuntu)
Fix Released
Medium
Robert Carr

Bug Description

To reproduce:

1. Open the dash and find a .png file
2. Start dragging the file

The file icon will change from being a mini-preview of the image to a grey question mark. This bug seems to affect all file types that have previews as icons, for example .jpg .pdf .png etc... files

Desired resolution:
- When a user starts dragging a file from the Dash the icon should not change to a grey question mark.
- The icon should continue to be exactly the same icon that is displayed in the Dash, it should not change when the user starts dragging it.

Related branches

John Lea (johnlea)
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Medium
status: New → Fix Committed
tags: added: udo
Jason Smith (jassmith)
Changed in unity:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jason Smith (jassmith)
milestone: none → ux-backlog-1
Changed in unity (Ubuntu):
status: New → Triaged
John Lea (johnlea)
Changed in ayatana-design:
status: Fix Committed → Fix Released
Jorge Castro (jorge)
Changed in unity:
milestone: ux-backlog-1 → backlog
assignee: Jason Smith (jassmith) → Unity Community Hackers (unity-community-hackers)
Jorge Castro (jorge)
tags: added: backlog
Robert Carr (robertcarr)
Changed in unity:
assignee: Unity Community Hackers (unity-community-hackers) → Robert Carr (robertcarr)
Omer Akram (om26er)
Changed in unity (Ubuntu):
importance: Undecided → Medium
Changed in unity:
milestone: backlog → 4.16.0
Changed in unity (Ubuntu):
assignee: nobody → Robert Carr (robertcarr)
Changed in unity:
importance: High → Medium
Robert Carr (robertcarr)
Changed in unity:
status: Triaged → In Progress
Revision history for this message
Robert Carr (robertcarr) wrote :
Changed in unity:
status: In Progress → Fix Committed
Omer Akram (om26er)
Changed in unity (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Just a couple of notes:

1) Dragging an icon without preview shows a black square behing the icon.
2) The dragged icon is not the same of the shown icon.

Revision history for this message
Robert Carr (robertcarr) wrote :

With latest unity + latest nux? Can you give me a more specific example/way to reproduce? In any case except where the lens gives us an explicit path to a thumbnail the behavior should be the same.

Revision history for this message
Andrea Azzarone (azzar1) wrote :

For the problem 1:

* Open the app lense. Try to drag an app icon (gedit one for example).

Revision history for this message
Andrea Azzarone (azzar1) wrote :

Yes i've the latest unitu + latest nux (in trunk).

See the two attachements. The first image shows the icon how it appears in the dash, the second one shows the icon during the dragging.

Revision history for this message
Andrea Azzarone (azzar1) wrote :
Revision history for this message
Robert Carr (robertcarr) wrote :

Sorry! There were two issues here.

1. The black background is fixed in a recent nux revision. This was just some backwards thinking on my part.
2. The resizing, I thought it would look strange to stretch widescreen icons out of their native aspect resolution so the code uses the aspect ratio and the same width as the dash. Maybe it should just be resized to square though? Anyone have any comments on this?

Revision history for this message
Andrea Azzarone (azzar1) wrote :

I think that dash result renderer use a texture cache. What about using it also here?

Revision history for this message
John Lea (johnlea) wrote :

A quick message to confirm andyrock's point, the icon displayed in the Dash should not change when the user starts dragging it. I have updated the bug description, could we check that this is fixed before this patch lands?

thanks,
John

description: updated
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.8 KiB)

This bug was fixed in the package unity - 4.16.0-0ubuntu1

---------------
unity (4.16.0-0ubuntu1) oneiric; urgency=low

  * New upstream release.
    - compiz crashed with SIGSEGV in nux::GpuDevice::GetGpuInfo()
      (LP: #765375)
    - F10 doesn't start keyboard navigation to the panel (LP: #839628)
    - Change on the at-spi accessibility-toolkit can affect also Unity
      (LP: #844927)
    - compiz crashed with SIGSEGV when a lens is shutting down (LP: #848675)
    - [UIFe] Radiance panel icons are unreadable and ugly when panel goes
      transparent with Dash (LP: #828862)
    - window switcher stuck (not only, but can be triggered with Onboard)
      (LP: #832033)
    - Window titlebar is click through after raising a minimized window
      (LP: #840285)
    - Alt+Shift+` does not work in symmetry with Alt+` (LP: #843250)
    - UIFe: Alt-Tab: Update layout behavior to make previews larger and
      outline active preview (LP: #847944)
    - windows clipped on resize (LP: #848962)
    - Alt-tab - Add orange border to selected window in alt-tab window spread
      (LP: #838114)
    - Launcher - the direction the Launcher is scrolled with the mouse wheel
      is inverted (LP: #839703)
    - Launcher - the rendering of the BFB and Lens squircle does not match the
      design (LP: #838708)
    - Alt-Tab - In the app window spread, all windows should have the same
      height, only the width should vary (LP: #838110)
    - Launcher - the background of the Launcher should be tinted using the
      average colour of the wallpaper (LP: #850068)
    - Alt-tab - It is currently very difficult to see pips in the left of the
      app icon for the currently selected app (LP: #838134)
    - Launcher - Auto scroll missing from the top of the Launcher
      (LP: #838744)
    - Scope searches blocks the lens (LP: #850816)
    - Shortcuts SUPER+1...9 doesn’t work until opening a window (LP: #768076)
    - Dash closes prematurely when dragging apps into the launcher
      (LP: #773892)
    - Dash - As soon as a user starts dragging a .png file from the Dash, the
      file icon turns into a grey question mark (LP: #764447)
    - Dash shows an empty icon for some applications. (LP: #830887)
    - Windows are click through after restore from minimize (LP: #834034)
    - Dash - No keyboard shortcuts for switching lenses (LP: #842086)
    - Dash search for files states "two more results" but doesn't display them
      (LP: #840005)
    - <meta>+<shift>+<launcher #> to start a new instance of a program doesn't
      work anymore (LP: #842977)
    - Alt-tab - Cross interactions between Alt-tab and Dash are broken
      (LP: #844021)
    - UIFe: Dash - Shape and positioning of most of the elements in the Dash
      need adjustment (Part 2) (LP: #844889)
    - Alt-Tab - make pause to spread default alt-tab behaviour. Upgrade
      existing installs as well. (LP: #838075)
    - Do not install unity-preference (LP: #847599)
    - Update unity --distro to latest plugins installed (LP: #847799)
    - off by one error in count of additional results in a category
      (LP: #848218)
    - UIFe - Launcher - The background of the BFB, Workspace Switcher, Lens,
    ...

Read more...

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Robert Carr (robertcarr) wrote :

The drag icon is now the same as the icon presented in the dash.

John Lea (johnlea)
tags: added: reviewedbydesigno
removed: udo
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.