[Differential] [Request, 17 lines] D4703: move the view at the correct index at startup

Marco Martin noreply at phabricator.kde.org
Tue Feb 21 12:02:59 UTC 2017


mart created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: KWin, kwin, plasma-devel.

REVISION SUMMARY
  using the same trick as elsewhere, set the currentIndex
  and move the view to currentIndex right at startup
  the only way to be sure is onContentHeightChanged
  as there are no signals for when "the view has been
  populated and settled up"

TEST PLAN
  the view is at the right state since the first frame shown,
  no more jumping around effect

REPOSITORY
  R108 KWin

BRANCH
  phab/selectIndex

REVISION DETAIL
  https://phabricator.kde.org/D4703

AFFECTED FILES
  kcmkwin/kwindecoration/kcm.cpp
  kcmkwin/kwindecoration/kcm.h
  kcmkwin/kwindecoration/qml/Previews.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma
Cc: plasma-devel, kwin, #kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170221/e0ea0b0b/attachment.html>


More information about the Plasma-devel mailing list