Bug 310850

Summary: KWin activities menu shows two entries of a newly added activity
Product: [Plasma] kwin Reporter: Romário Rios <luizromario>
Component: activitiesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ivan.cukic
Priority: NOR    
Version: 4.9.90 (Beta 2)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Romário Rios 2012-11-28 23:47:22 UTC
When I added a new activity and tried to move some windows to it, I noticed that the entry of the new activity in the activity submenu inside the kwin menu was doubled. Those entries also seem not to work properly: when I tried to click the first one, the window wasn't removed from the current activity; instead, when I went to the submenu again, the "All activities" option was marked. I had to restart kwin for it to work properly.

Reproducible: Always

Steps to Reproduce:
1.Create a new activity
2.Open the kwin menu in any window
3.Go to the Activities submenu
Actual Results:  
The new entry is doubled.

Expected Results:  
Only one new entry.
Comment 1 Thomas Lübking 2012-12-16 13:00:07 UTC
@Ivan:
the bug seems to be in the kactivites lib returning undeduplicated (tm) lists for at least openActivities (we could of course just strip dupes from the list in kwin, but that might not really cut it ;-)
Comment 2 Thomas Lübking 2012-12-16 22:11:17 UTC

*** This bug has been marked as a duplicate of bug 306680 ***