Bug 200697 - "Do not allow this program to be grouped" odd availability logic
Summary: "Do not allow this program to be grouped" odd availability logic
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-18 19:59 UTC by Luke-Jr
Modified: 2010-01-06 12:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.