Kai Uwe Broulik
2018-09-14 13:41:53 UTC
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
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