unity-2d-spread missing background images when path includes Unicode
Bug #855508 reported by
Łukasz Zemczak
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
lp:~sil2100/unity-2d/trunk.lp855508
- Alberto Mardegan (community): Approve
-
Diff: 173 lines (+116/-1)5 files modifiedlibunity-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)
Changed in unity-2d: | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
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 |
Changed in unity-2d: | |
status: | Fix Released → Fix Committed |
Changed in unity-2d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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