Icon-Only Task Manager: unable to set "Show a launcher when not running"

Bug #1225347 reported by Seb
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Base Workspace
Fix Released
Medium
kdeplasma-addons (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When using the Icon-Only Task Manager widget I'm not able to to set "Show a launcher when not running" for any application. Clicking on it just does nothing and closes the menu. The other right-click options ("Maximize" for example) work as expected.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: kde-workspace 4:4.11.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-7.13-generic 3.11.0
Uname: Linux 3.11.0-7-generic x86_64
ApportVersion: 2.12.1-0ubuntu4
Architecture: amd64
Date: Sat Sep 14 11:24:30 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-09-13 (0 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902.2)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: kde-workspace
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Serhiy-pal (serhiy-pal) wrote :

Button "Show A Launcher When Not Running" does not work i.e. does not pin a launcher to the bar in "Icon-only task manager". The usual Task Manager does it well. Writing value plasma-desktop-appletrc value which points to launchers fixes the problem but "Remove This Launcher" does not work as well it does not remove the launcher from the bar.

Reproducible: Always

Steps to Reproduce:
1. Add Widget "Icon-Only Task Manager" to main panel
2. Open any application and application icon appears on the bar
3. Click "Show A Launcher When Not Running" from context menu opened from icon task widget
4. Open context menu again and "Show A Launcher When Not Running" is not checked
5. Close application
Actual Results:
Launcher is not pinned to the icon task widget, it disappears after application closes

Expected Results:
Launcher should remains on the icon task widget if "Show A Launcher When Not Running" is selected after application which icon corresponds to closes

"Remove This Launcher" does not work if plasma-desktop-appletrc is edited manually by adding Items=... into appropriate section

Revision history for this message
In , Serhiy-pal (serhiy-pal) wrote :

It could have been caused by packages update. Fresh installation was not checked.
Also, 'kbuildsycoca4 --noincremental' command was tried in order to fix .desktop elements but no luck.

Revision history for this message
In , Paul-kde-bugs2011 (paul-kde-bugs2011) wrote :

Seeing exactly the same behaviour on openSUSE RPMs (plasma-addons 4.11.1-244.1)

Revision history for this message
In , Rtdvrs (rtdvrs) wrote :

CONFIRMED on Kubuntu 4.11.1

Revision history for this message
In , sumski (hrvoje-senjan) wrote :

Eike, this broke with 3ff3f433e07e78d12e1081e6e571c097216de591 in libtaskmanager, any ideas how to resolve it (other than a revert)?

Revision history for this message
In , Hein (sho) wrote :

Can you specify *what* is broken? Both adding and removing launchers works just fine here.

Revision history for this message
In , Hein (sho) wrote :

Oh, sorry, in the Icons-Only Task Manager ... I guess I'll have to take a look at that codebase.

Revision history for this message
In , Hein (sho) wrote :

Git commit 7c3011e0a6459c00cf9d06d74da3a32f87f1a2f6 by Eike Hein.
Committed on 09/09/2013 at 21:12.
Pushed by hein into branch 'KDE/4.11'.

Spin the event loop before destroying the menu.

This allows the menu implementation to complete toggling the
launcher before the instance is destroyed. It's extremely un-
fortunate that the library currently requires this careful
handling; see e944d7ae in kde-workspace for a note on what
needs to be cleaned up there.

M +5 -4 applets/icontasks/windowtaskitem.cpp

http://commits.kde.org/kdeplasma-addons/7c3011e0a6459c00cf9d06d74da3a32f87f1a2f6

Revision history for this message
In , Hein (sho) wrote :

Git commit b56d1552e9a8f8efe8fb8fd641126e78627c61a9 by Eike Hein.
Committed on 09/09/2013 at 21:33.
Pushed by hein into branch 'KDE/4.11'.

Fix it for non-running items too.

M +5 -4 applets/icontasks/applauncheritem.cpp

http://commits.kde.org/kdeplasma-addons/b56d1552e9a8f8efe8fb8fd641126e78627c61a9

Revision history for this message
Seb (zapp-deactivatedaccount) wrote :
Revision history for this message
Seb (zapp-deactivatedaccount) wrote :

fixed upstream: https://bugs.kde.org/show_bug.cgi?id=324661
Fix for v4.11.2

Changed in kde-workspace (Ubuntu):
status: New → Fix Committed
Revision history for this message
In , adaptee (adaptee) wrote :

*** Bug 324881 has been marked as a duplicate of this bug. ***

Changed in kdebase-workspace:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
In , Geoffm-b (geoffm-b) wrote :

Show launcher when not running stopped working on my Mint 15 when I upgraded to 4.11.
What can we do for those of us who are not at ease with compiling software? Wait until 4.11.3 upgrade shows up in kubuntu-ppa/backports ?

Revision history for this message
In , Hein (sho) wrote :

This fix will actually be included in 4.11.2, so no need to wait until 4.11.3.

Jonathan Riddell (jr)
Changed in kde-workspace (Ubuntu):
milestone: none → ubuntu-13.10
tags: added: kubuntu
Revision history for this message
Philip Muškovac (yofel) wrote :

Fixed in saucy.

kdeplasma-addons (4:4.11.1-0ubuntu2) saucy; urgency=low

  * Cherry-pick commits 7c3011e0a6459c00cf9d06d74da3a32f87f1a2f6 and
    b56d1552e9a8f8efe8fb8fd641126e78627c61a9 from upstream
    to fix the bug where "Show a launcher when not running"
    does not pin a launcher

 -- Howard Chan <email address hidden> Sun, 15 Sep 2013 21:23:18 +0800

affects: kde-workspace (Ubuntu) → kdeplasma-addons (Ubuntu)
Changed in kdeplasma-addons (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , Serhiy-pal (serhiy-pal) wrote :

Not sure which update but it is fixed now (4.11.1)

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.