Bug 344384 - Wrong item focus after wallpaper removal
Summary: Wrong item focus after wallpaper removal
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (show other bugs)
Version: 5.2.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL: https://www.youtube.com/watch?v=7ZGxS...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-20 14:12 UTC by soee
Modified: 2015-04-09 13:41 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 soee 2015-02-20 14:12:48 UTC
If we have more than 2 wallpapers on the list and the active one is not the last item, than after some wallpaper is removed, focus goes on the last intem on the list.

Reproducible: Always

Steps to Reproduce:
1. Add more than 2 wallpapers
2. Select some as active (but not the last one on the list)
3. Remove some wallpaper that is on the list before the current one
4. Focus goes to last wallpaper not the one that was set as active

Actual Results:  
Focus has been set on last wallpaper on the list.

Expected Results:  
Focus should stay on the active wallpaper.
Comment 1 Antonis Tsiapaliokas 2015-04-06 13:16:21 UTC
I have upload a patch for this bug in the reviewboard.

https://git.reviewboard.kde.org/r/123275/
Comment 2 Antonis Tsiapaliokas 2015-04-09 13:41:52 UTC
Git commit ba61ce61b4e1ebb28df0cc10aefa7a1824282394 by Antonis Tsiapaliokas.
Committed on 09/04/2015 at 13:41.
Pushed by tsiapaliokas into branch 'master'.

Restore index after removing a wallpaper

REVIEW: 123275

M  +9    -0    wallpapers/image/imagepackage/contents/ui/config.qml

http://commits.kde.org/plasma-workspace/ba61ce61b4e1ebb28df0cc10aefa7a1824282394