unity-2d-spread missing background images when path includes Unicode
| 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
- Alberto Mardegan (community): Approve
-
Diff: 173 lines (+116/-1) 5 files modifiedapilibunity-2d-private/Unity2d/GnomeBackground.qml (+6/-1)
libunity-2d-private/Unity2d/plugin.cpp (+4/-0)
libunity-2d-private/src/CMakeLists.txt (+1/-0)
libunity-2d-private/src/percentcoder.cpp (+57/-0)
libunity-2d-private/src/percentcoder.h (+48/-0)
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://
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> 2011年9月29日 16:58:34 +0200