[Differential] [Request, 18 lines] D2975: [shell] Event compress resizePanel

bshah (Bhushan Shah) noreply at phabricator.kde.org
Fri Oct 7 08:47:14 UTC 2016


bshah created this revision.
bshah added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  At startup and as well when one moves panel, resizePanel is called
  multiple times. For instance, at startup resizePanel is called 8 times
  in row from different callers.
  
  So add timer to do panel resize in one go. This will avoid multiple
  resize.

TEST PLAN
  Resized, and moved my panel, worked without any obvious regressions. also added
  debug statement in the resizePanel, which got printed just 3 times at startup
  with this patch while before it was getting printed 8-9 times.

REPOSITORY
  rPLASMAWORKSPACE Plasma Workspace

BRANCH
  event-compress-panel-resize (branched from Plasma/5.8)

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

AFFECTED FILES
  shell/panelview.cpp
  shell/panelview.h

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

To: bshah, #plasma
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/20161007/385c9acf/attachment.html>


More information about the Plasma-devel mailing list