[launcher] Impossible to keep KDE Apps in Launcher
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| BAMF |
Fix Released
|
High
|
Unassigned | ||
| Unity |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
| unity-2d |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
| unity (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
| unity-2d (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bug Description
Binary package hint: unity-2d
Description: Ubuntu 10.10
Release: 10.10
unity-2d:
Installiert: 0.4-0ubuntu1~bzr425
Kandidat: 0.4-0ubuntu1~bzr425
Versionstabelle:
*** 0.4-0ubuntu1~bzr425 0
500 http://
100 /var/lib/
-------
Expected Behaviour:
1. Start a KDE App, like Okular or Akregator
2. Right Click on launcher icon
3. Set "Keep in Launcher", to keep in in launcher
Behaviour Instead:
1. Start a KDE App, like Okular or Akregator
2. Right Click on launcher icon
3. "Keep in Launcher" dialog is not available
Tested with Okular & Akregator from KDE 4.6.1.
Related branches
- Neil J. Patel (community): Approve
-
Diff: 160 lines (+10/-118) 1 file modifiedapiplugins/unityshell/src/FavoriteStoreGSettings.cpp (+10/-118)
- Aurélien Gâteau (community): Approve
-
Diff: 61 lines (+22/-3) 2 files modifiedapilibunity-2d-private/src/launcherapplicationslist.cpp (+20/-2)
libunity-2d-private/src/launcherapplicationslist.h (+2/-1)
- unity-2d-team: Pending requested
-
Diff: 6908 lines (+2010/-2400) 169 files modifiedapiCMakeLists.txt (+6/-3)
data/unity-2d.convert (+0/-2)
debian/20_ubuntu-2d-gconf-default (+0/-8)
debian/20_ubuntu-2d-gconf-mandatory (+0/-1)
debian/changelog (+78/-17)
debian/control (+13/-10)
debian/gconf/ubuntu-2d.default.path (+2/-2)
debian/gconf/ubuntu-2d.mandatory.path (+2/-2)
debian/unity-2d-panel.install (+0/-2)
debian/unity-2d.gconf-defaults (+4/-0)
debian/unity-2d.install (+2/-4)
debian/unity-2d.postinst (+12/-15)
debian/unity-2d.postrm (+11/-14)
debian/unity-2d.preinst (+16/-0)
launcher/Launcher.qml (+11/-0)
launcher/LauncherItem.qml (+2/-0)
launcher/LauncherList.qml (+11/-0)
launcher/app/launcher.cpp (+2/-0)
libunity-2d-private/CMakeLists.txt (+1/-1)
libunity-2d-private/Unity2d/GnomeBackground.qml (+12/-22)
libunity-2d-private/Unity2d/plugin.cpp (+0/-4)
libunity-2d-private/src/CMakeLists.txt (+5/-0)
libunity-2d-private/src/debug.cpp (+23/-0)
libunity-2d-private/src/debug_p.h (+6/-0)
libunity-2d-private/src/launcherapplication.cpp (+4/-6)
libunity-2d-private/src/launcherapplicationslist.cpp (+20/-1)
libunity-2d-private/src/launcherapplicationslist.h (+2/-1)
libunity-2d-private/src/launchermenu.cpp (+1/-0)
libunity-2d-private/src/screeninfo.cpp (+1/-3)
libunity-2d-private/src/unity2dapplication.cpp (+83/-1)
libunity-2d-private/src/unity2dapplication.h (+3/-0)
libunity-2d-private/src/windowinfo.cpp (+1/-3)
libunity-2d-private/src/workspacesinfo.cpp (+1/-3)
panel/CMakeLists.txt (+3/-5)
panel/app/CMakeLists.txt (+3/-1)
panel/app/main.cpp (+5/-2)
panel/app/panelmanager.cpp (+34/-46)
panel/app/panelmanager.h (+2/-0)
panel/app/unity2dstyle.cpp (+0/-98)
panel/app/unity2dstyle.h (+0/-44)
panel/applets/CMakeLists.txt (+15/-26)
panel/applets/appname/appnameapplet.cpp (+7/-57)
panel/applets/appname/appnameapplet.h (+3/-1)
panel/applets/appname/com.canonical.AppMenu.Registrar.xml (+0/-82)
panel/applets/appname/croppedlabel.cpp (+140/-0)
panel/applets/appname/croppedlabel.h (+45/-0)
panel/applets/appname/menubarwidget.cpp (+78/-279)
panel/applets/appname/menubarwidget.h (+25/-66)
panel/applets/appname/registrar.cpp (+0/-138)
panel/applets/appname/registrar.h (+0/-85)
panel/applets/common/cairoutils.cpp (+42/-0)
panel/applets/common/cairoutils.h (+47/-0)
panel/applets/common/indicatorentrywidget.cpp (+366/-0)
panel/applets/common/indicatorentrywidget.h (+90/-0)
panel/applets/common/indicatorsmanager.cpp (+206/-0)
panel/applets/common/indicatorsmanager.h (+72/-0)
panel/applets/common/indicatorwidget.cpp (+53/-0)
panel/applets/common/indicatorwidget.h (+52/-0)
panel/applets/common/panelstyle.cpp (+114/-0)
panel/applets/common/panelstyle.h (+56/-0)
panel/applets/homebutton/homebutton.cpp (+4/-2)
panel/applets/indicator-config.h.in (+0/-7)
panel/applets/indicator/abstractindicator.cpp (+0/-43)
panel/applets/indicator/abstractindicator.h (+0/-53)
panel/applets/indicator/datetimeindicator.cpp (+0/-94)
panel/applets/indicator/datetimeindicator.h (+0/-53)
panel/applets/indicator/indicator.c (+0/-525)
panel/applets/indicator/indicator.h (+0/-45)
panel/applets/indicator/indicatorapplet.cpp (+0/-114)
panel/applets/indicator/indicatorapplet.h (+0/-60)
panel/applets/indicator/indicatorservicemanager.cpp (+0/-120)
panel/applets/indicator/indicatorservicemanager.h (+0/-54)
places/AbstractButton.qml (+2/-0)
places/GroupHeader.qml (+2/-0)
places/Home.qml (+2/-0)
places/HomeButton.qml (+2/-0)
places/HomeShortcuts.qml (+4/-4)
places/SearchEntry.qml (+8/-0)
places/SearchRefine.qml (+2/-0)
places/SearchRefineOptionType.qml (+2/-0)
places/TickBox.qml (+3/-0)
places/UnityDefaultRenderer.qml (+2/-0)
places/UnityEmptySearchRenderer.qml (+2/-0)
places/UnityFileInfoRenderer.qml (+2/-0)
places/app/places.cpp (+2/-0)
places/dash.qml (+6/-0)
po/af.po (+2/-2)
po/am.po (+2/-2)
po/an.po (+2/-2)
po/ar.po (+2/-2)
po/ast.po (+2/-2)
po/az.po (+2/-2)
po/be.po (+2/-2)
po/bem.po (+2/-2)
po/bg.po (+2/-2)
po/bn.po (+2/-2)
po/bs.po (+3/-3)
po/ca.po (+2/-2)
po/ca@valencia.po (+3/-3)
po/crh.po (+2/-2)
po/cs.po (+2/-2)
po/cy.po (+2/-2)
po/da.po (+2/-2)
po/de.po (+2/-2)
po/el.po (+2/-2)
po/en_AU.po (+4/-4)
po/en_GB.po (+4/-4)
po/eo.po (+2/-2)
po/es.po (+2/-2)
po/et.po (+3/-3)
po/eu.po (+2/-2)
po/fa.po (+2/-2)
po/fi.po (+2/-2)
po/fil.po (+2/-2)
po/fr.po (+2/-2)
po/fy.po (+2/-2)
po/gd.po (+2/-2)
po/gl.po (+2/-2)
po/gv.po (+2/-2)
po/he.po (+2/-2)
po/hi.po (+2/-2)
po/hr.po (+2/-2)
po/hu.po (+2/-2)
po/hy.po (+2/-2)
po/id.po (+2/-2)
po/is.po (+2/-2)
po/it.po (+2/-2)
po/ja.po (+2/-2)
po/ka.po (+2/-2)
po/kk.po (+2/-2)
po/ko.po (+2/-2)
po/ku.po (+2/-2)
po/ky.po (+2/-2)
po/lb.po (+2/-2)
po/lt.po (+2/-2)
po/lv.po (+2/-2)
po/mg.po (+2/-2)
po/ml.po (+2/-2)
po/ms.po (+2/-2)
po/nb.po (+2/-2)
po/nl.po (+2/-2)
po/nn.po (+2/-2)
po/oc.po (+2/-2)
po/pa.po (+2/-2)
po/pl.po (+2/-2)
po/pt.po (+2/-2)
po/pt_BR.po (+2/-2)
po/ro.po (+2/-2)
po/ru.po (+2/-2)
po/si.po (+2/-2)
po/sk.po (+2/-2)
po/sl.po (+2/-2)
po/sq.po (+2/-2)
po/sr.po (+2/-2)
po/sv.po (+2/-2)
po/ta.po (+2/-2)
po/te.po (+2/-2)
po/th.po (+2/-2)
po/tr.po (+2/-2)
po/tt.po (+2/-2)
po/ug.po (+2/-2)
po/uk.po (+2/-2)
po/unity-2d.pot (+2/-2)
po/ur.po (+2/-2)
po/vi.po (+2/-2)
po/zh_CN.po (+2/-2)
po/zh_HK.po (+2/-2)
po/zh_TW.po (+2/-2)
spread/app/spread.cpp (+1/-0)
Tested with amarok, can’t keep it in the launcher.
Amarok’s desktop file is in /usr/share/
Olivier, did you confirm it in Maverick or Natty?
Do you guys know if it works in Unity?
+ [launcher] Impossible to keep KDE Apps in Launcher
I initially confirmed on Maverick, and I just verified that it is also the case on Natty.
Unity seems to have a similar issue open: bug #736551. Unfortunately I cannot test because installing amarok in a live session drags in too many kde dependencies that don’t fit of my USB stick...
I managed to test on Unity, and even though it lets the user keep the icon for Amarok in the launcher, this "favourite" is not persistent across sessions and fails to launch the application, because there is no desktop file associated. See my analysis of the root cause for a similar issue (java applications) in comment #4 of bug #704046.
I also noticed this, although I see the "keep in launcher" option for kde apps.
the applications stay pinned in the launcher, but disappear after re-login.
using latest Ubuntu 11.04, 64bit, system up-to-date.
setting back to triaged since Jason said the fix is wrong, those should be ranked lower rather than skipped
Jason: can you comment to detail the reasons for the issue. I want to make sure this is still an SRU target, or whether the underlying changes are not SRU-grade anymore. Thanks
It looks like part of the root cause of this bug has been fixed in BAMF. Now in Oneiric, for the Konversation program, BAMF gives "konversation.
However it should really be "kde4-konversat
Scrap that last comment as I was looking in the wrong spot. I will be back with more accurate information.
Only in Oneiric, BAMF returns the correct full path to the desktop file for KDE4 applications (at least for Konversation).
Unity (2D and 3D) however only store the filename of the desktop file in the favorites list (in dconf).
Unity 3D has a mechanism to find that file by looking up quite a few directories on the filesystem. Unity 2D does not have such a mechanism.
As a result KDE4 apps can be favorited in Unity 3D in Oneiric but not in Unity 2D.
Commit 977 of lp:unity added that mechanism.
This bug was fixed in the package unity - 4.8.0-0ubuntu1
---------------
unity (4.8.0-0ubuntu1) oneiric; urgency=low
* New upstream release.
- store kde4 applications in a gio-friendly way (LP: #741129)
* Take and make some additional post-release adjustement
* debian/control:
- add libjson-glib-dev
- now build depend on libunity-dev
- make libunity-
(seems to leak the API)
- build-dep on latest nux
- now recommends lenses, not places and add music lens as a recommends
* remove patched plugins/
real dash color
* debian/rules:
- bump libunity-core-4.0-4 shlib for ABI break
* remove 01_revert_
- incoming unity-2d upload has the needed bits
* debian/
- install new assets and json scripts
-- Didier Roche <email address hidden> 2011年8月11日 19:47:19 +0200
This bug was fixed in the package unity-2d - 4.0.0-0ubuntu1
---------------
unity-2d (4.0.0-0ubuntu1) oneiric; urgency=low
* New upstream release:
- [launcher] Impossible to keep KDE Apps in Launcher (LP: #741129)
- [dash] Background should be blurred (LP: #823326)
- No 'safely remove' option is present in the unity menu when a usb disk
is inserted (LP: #660010)
- Quicklist item "Keep In Launcher" should be "Keep in launcher" as design
(LP: #795422)
- [launcher] ESC doesn't dismiss launcher when activated with Alt+F1
(LP: #812792)
- [dash] Background wallpaper shifted when using a non compositing window
manager (LP: #823295)
- [launcher] Bottom gradient appears too early (LP: #823877)
- mute/unmute sound when user clicks on sound applet using scroll button
or middle mouse button (LP: #609860)
- Secondary activate (i.e. middle click) support for indicators advanced
usage (LP: #812933)
- Unused GConfItemQmlWrapper dep found (LP: #821880)
* debian/control:
- bump libunity-
- recommends lenses and not places anymore. Adding music lens
-- Didier Roche <email address hidden> 2011年8月11日 21:22:18 +0200