unity-2d-spread missing background images when path includes Unicode

Bug #855508 reported by Łukasz Zemczak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
Undecided
Łukasz Zemczak
unity-2d (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

A really small bug. If the path to the background image includes Unicode characters, Gnome saves them in URL encoded format in the configuration system. QML doesn't implicitly convert percent encoding to Unicode, thus the image cannot be loaded by unity-2d resulting in the background missing when using unity-2d-spread (e.g. during changing workspaces).

unity-2d used: recent 4.0 branch, revision 730
Ubuntu version: 11.10

Related branches

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I used this bug to learn about insides of unity-2d code. I created a simple patch fixing this issue. It can be found in my unity-2d branch:

http://bazaar.launchpad.net/~sil2100/+junk/unity-2d/revision/731

Changed in unity-2d:
assignee: nobody → Łukasz Zemczak (sil2100)
Alberto Mardegan (mardy)
Changed in unity-2d:
status: New → In Progress
Changed in unity-2d:
milestone: none → 4.12
status: In Progress → Fix Committed
Changed in unity-2d:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-2d - 4.12.0-0ubuntu1

---------------
unity-2d (4.12.0-0ubuntu1) oneiric; urgency=low

  * New upstream release
    - unity-2d-panel assert failure: *** glibc detected *** unity-2d-panel:
      malloc(): smallbin double linked list corrupted: 0x08313b28 ***
      (LP: #845979)
    - unity-2d-panel assert failure: *** glibc detected *** unity-2d-panel:
      corrupted double-linked list: 0x094bc9b0 *** (LP: #852012)
    - unity-2d-panel crashed with SIGSEGV (LP: #843432)
    - Dragging downwards from the menu bar or double clicking on the menu bar
      should un-maximise the window (LP: #661049)
    - [dash] Dash is shown when pressing and releasing quickly super+KEY
      (LP: #801073)
    - [dash] Do search, scroll down using mouse, then maximise window. Layout
      breaks (LP: #817421)
    - F10 doesn't start keyboard navigation to the panel (LP: #839628)
    - [dash] Gridview moves to top when you open or close the "Show X more.."
      dropdown or the Filter pane (LP: #850036)
    - Impossible to navigate between panel menus when the mouse cursor is over
      the panel (LP: #834065)
    - [panel] F10 menu initially shown about half screen down (LP: #853766)
    - [dash] Filter pane doesn't clear its background when switching lenses
      (LP: #858590)
    - [shortcuts] <Super><Shift># should launch a new instance of #
      application (LP: #768006)
    - unity-2d-spread missing background images when path includes Unicode
      (LP: #855508)
 -- Didier Roche <email address hidden> Thu, 29 Sep 2011 16:58:34 +0200

Changed in unity-2d (Ubuntu):
status: New → Fix Released
Changed in unity-2d:
status: Fix Released → Fix Committed
Gerry Boland (gerboland)
Changed in unity-2d:
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.