]> cloud.milkyroute.net Git - dolphin.git/commit
[Status Bar] Remove file status Timer, add text update delay
authorMéven Car <meven29@gmail.com>
Fri, 8 Nov 2019 15:40:08 +0000 (16:40 +0100)
committerMéven Car <meven29@gmail.com>
Sat, 9 Nov 2019 21:00:35 +0000 (22:00 +0100)
commit31bc909c3bd051e02facb7f5dc65882ed9dc483c
tree98c0c466a2d24089f75ee7ad15c3092978d49aaf
parent7949aee2d2528fb3adfc83d43799f1566e835466
[Status Bar] Remove file status Timer, add text update delay

Summary:
Currently when hovering over a file we have its name, mimetype type and size display in the status bar for 1 second, after which the status of the folder is displayed.

This patch removes this timer making the status bar behavior more predictable and user friendly.

Instead there is a 50ms delay between when the status bar gets new text to display (for instance mouse hovering or keyboard navigation) and when the status bar displayed text is updated. This is to avoid flickering.

FIXED-IN: 19.12
BUG: 399267

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D25218
src/statusbar/dolphinstatusbar.cpp
src/statusbar/dolphinstatusbar.h