Bug 187492

Summary: Window-specific settings: "Move up/down" works strangely
Product: [Plasma] kwin Reporter: Olaf Lenz <olaf>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra, kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Olaf Lenz 2009-03-18 10:46:57 UTC
Version:            (using KDE 4.2.1)
Installed from:    Ubuntu Packages

When using the window-specific settings tool (System settings -> Window Behavior -> Window-Specific), I see a list of various settings available for the different window types (e.g. "Kate initial default size" etc.).
Next to the list, there is a row of buttons "New", "Modify", "Delete", "Move up" and "Move down".
The behavior of these last two buttons is very strange. 

When I select an item in the list, and click "Move Up", the item is correctly moved one up. However, the focus is moved *one down*. Therefore, it is not possible to move one item up several steps by repeatedly clicking "Move Up", but it is necessary to reselect the item after each button press.

When using "Move down", again the item is correctly moved on down, however, the focus is not moved. Repeatedly clicking on "Move Down" will therefore repeatedly switch the positions of two items.

This is just a minor UI glitch, still worth reporting.
Comment 1 Dario Andres 2009-05-01 04:10:16 UTC
SVN commit 961918 by darioandres:

Fix a selection bug. Use proper selection commands
Also, do not delete and recreate every list item when moving, just taking and reinserting.

BUG: 187492


 M  +9 -11     ruleslist.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=961918
Comment 2 Dario Andres 2009-05-23 23:47:30 UTC
*** Bug 193817 has been marked as a duplicate of this bug. ***
Comment 3 Martin Flöser 2012-04-13 19:23:54 UTC
Bulk change: move all KWin kcm bugs to product kwin