When I hover my mouse cursor over a file in the main panel, it shows info about that file (name, type, size) in the status bar. After about 1 second, the status bar reverts to the default text, showing info about the current directory. Reproducible 95+% of the time.
I can reproduce
I'm actually not convinced that the status bar should show the file info at all when the information panel is open; it's redundant. We should definitely fix this bug, but we might want to consider not changing the status bar display at all when the information panel is open.
bug persists with dolphin 18.12.1 on Arch Linux.
I don't agree with you Nate.
The problem is in the current behavior : the status bar changes its text without user interaction. This is not a good user experience and not what users would expect.
Having redundant information with the information panel does not hurt, on the contrary it makes finding those very commonly used information twice as easy to find, and is important for users not using details view or the information panel.
My opinion is that we should not have a timer here, simply, returning to the "normal" status text when the user hovers away from the file as one would expect.
Git commit 31bc909c3bd051e02facb7f5dc65882ed9dc483c by Méven Car.
Committed on 09/11/2019 at 21:00.
Pushed by meven into branch 'master'.
[Status Bar] Remove file status Timer, add text update delay
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.
Reviewers: #dolphin, elvisangelaccio, ngraham
Reviewed By: #dolphin, elvisangelaccio, ngraham
Differential Revision: https://phabricator.kde.org/D25218
M +16 -29 src/statusbar/dolphinstatusbar.cpp
M +2 -11 src/statusbar/dolphinstatusbar.h