D15506: [StatusBarSpaceInfo] Only update when window is active

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Sep 14 14:41:53 BST 2018


broulik created this revision.
broulik added reviewers: Dolphin, elvisangelaccio, sitter.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Avoids needlessly waking up the disk or network when the window isn't active.
  
  CCBUG: 398612

TEST PLAN
  Verified that it updates once it gets focus
  Verified the timer stops when window doesn't have focus
  
  Has the side-effect that when you have multiple windows visible at the same time (e.g. two windows next to each other) that only the active one will update its free space info live

REPOSITORY
  R318 Dolphin

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

AFFECTED FILES
  src/statusbar/statusbarspaceinfo.cpp
  src/statusbar/statusbarspaceinfo.h

To: broulik, #dolphin, elvisangelaccio, sitter
Cc: kfm-devel, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180914/da92f0cd/attachment.htm>


More information about the kfm-devel mailing list