Bug 200697

Summary: "Do not allow this program to be grouped" odd availability logic
Product: [Unmaintained] plasma4 Reporter: Luke-Jr <luke-jr+kdebugs>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aseigo, asraniel, thelwyn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luke-Jr 2009-07-18 19:59:54 UTC
Version:            (using KDE 4.2.96)
Compiler:          gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
 
OS:                Linux

"Do not allow this program to be grouped" is initially hidden from the context menu of taskbar items. It seems to be enabled when grouping gets used, but is never again disabled, or at least not if I switch to a virtual desktop without grouping active, nor if I close a window to deactivate the grouping.

What I did:
1. Waited for it to be enabled.
2. Resolved the grouping trigger (by closing a window)
3. Confirmed it was still an option on the menu.
4. kquitapp plasma-desktop
5.Restarted  plasma-desktop
6. Menu option was gone again

What I expected:
Restarting PLasma should not affect the availability of this option. It should either go away before the restart, or be available from the beginning.
Comment 1 Aaron J. Seigo 2009-08-06 01:20:26 UTC
researched the cause of this bug:

when there is no grouping, then the group manager is deleted causing not only no grouping, but no source for the grouping actions. (key search text in libtaskmanager: strategyActions)

the GroupManager probably should not delete the grouping mechanism, but simply disable it.
Comment 2 Kolia 2010-01-03 02:35:55 UTC
Hi,

I can not reproduce it anymore with KDE 4.4 SVN 1068732 | 4.6.0 :

Once I resolved the grouping trigger by closing some windows (step 2 of Luke-Jr process), the option disappeared from the menu. So at least it seems coherent. Now it goes away when there is no more grouping.