[Differential] [Request, 129 lines] D3532: Select correct index without timer
mart (Marco Martin)
noreply at phabricator.kde.org
Mon Nov 28 17:09:58 UTC 2016
mart created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
select the correct index upon loading when the count changes.
this removes the flicker at startup and the view is at the correct
wallpaper since the first frame. Also, now when a wallpaper is
downloaded with knewstuff, the old wallpaper stays selected,
it doesn't get resetted to the first wallpaper anymore
TEST PLAN
open wallpaer dialog, no more flicker
install a new wallpaper, the currently selected one stays selected
REPOSITORY
R120 Plasma Workspace
BRANCH
phab/wallpselectedindex
REVISION DETAIL
https://phabricator.kde.org/D3532
AFFECTED FILES
wallpapers/image/backgroundlistmodel.cpp
wallpapers/image/backgroundlistmodel.h
wallpapers/image/imagepackage/contents/ui/WallpaperDelegate.qml
wallpapers/image/imagepackage/contents/ui/config.qml
wallpapers/image/imagepackage/platformcontents/phone/ui/WallpaperDelegate.qml
wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
wallpapers/image/imagepackage/platformcontents/touch/ui/WallpaperDelegate.qml
wallpapers/image/imagepackage/platformcontents/touch/ui/config.qml
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: mart
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161128/230fb942/attachment.html>
More information about the Plasma-devel
mailing list