Panel and launcher are blank and non-functional when /usr is a symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-2d |
Fix Released
|
Low
|
Florian Boucault | ||
unity-2d (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
REPORT: Until yesterday, my system's /usr was a symlink pointing to something similar to /zstore/root/usr. I noticed that the launcher failed to load correctly with an error claiming that (as far as I remember) “/zstore/
SPECULATION: It seems to me that the implementation of isRunningInstal
IRRELEVANT RAMBLING: Unity 2D works great for me for now, though. (It really is great stuff!) This is my personal computer, after all, so I can mess around with mount points and bind-mounting and everything. Lucky me! :)
Related branches
- Ugo Riboni: Pending requested
-
Diff: 77 lines (+13/-11)3 files modifiedconfig.h.in (+3/-1)
launcher/app/launcherview.cpp (+7/-7)
libunity-2d-private/src/unity2ddeclarativeview.cpp (+3/-3)
Changed in unity-2d (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-2d: | |
assignee: | nobody → Florian Boucault (fboucault) |
milestone: | none → 5.4 |
status: | Confirmed → In Progress |
Changed in unity-2d (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity-2d: | |
status: | In Progress → Fix Committed |
Changed in unity-2d: | |
status: | Fix Committed → Fix Released |
From my tests, QCoreApplicatio n::applicationD irPath( ) resolves the symbolic links if any in the path. Path().
A more clever comparison needs to be implemented, probably using QDir::canonical