Bug 187492 - Window-specific settings: "Move up/down" works strangely
Summary: Window-specific settings: "Move up/down" works strangely
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 193817 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-18 10:46 UTC by Olaf Lenz
Modified: 2012-04-13 19:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

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