[dolphin] [Bug 439225] Status bar disappears and reappears continuously after mass renaming

Harald Sitter bugzilla_noreply at kde.org
Mon Aug 16 14:56:20 BST 2021


https://bugs.kde.org/show_bug.cgi?id=439225

--- Comment #5 from Harald Sitter <sitter at kde.org> ---
Yeah, as I said, things need to be slow enough. This would be exceptionally
difficult to ever reproduce on an SSD. Why it happens with the sata SSD is
anyone's guess. Maybe the file system driver is wonky, or the kernel caching
goes awray on that specific kernel version.

https://invent.kde.org/system/dolphin/-/blob/0ed31f10c382aad7b7c9ec30e6f8d6947862ff30/src/dolphinviewcontainer.cpp#L571
sets progress -1

https://invent.kde.org/system/dolphin/-/blob/0ed31f10c382aad7b7c9ec30e6f8d6947862ff30/src/statusbar/dolphinstatusbar.cpp#L178
sets internal progress, triggers m_showProgressBarTimer

https://invent.kde.org/system/dolphin/-/blob/0ed31f10c382aad7b7c9ec30e6f8d6947862ff30/src/statusbar/dolphinstatusbar.cpp#L293
calls setExtensionsVisible(false); when progress < 100 (which -1 is)

https://invent.kde.org/system/dolphin/-/blob/0ed31f10c382aad7b7c9ec30e6f8d6947862ff30/src/statusbar/dolphinstatusbar.cpp#L322
when visible is false (which it is because progress<100) the conditional branch
doesn't run, when the conditional branch doesn't run showStatusBar remains
initialied to false

https://invent.kde.org/system/dolphin/-/blob/0ed31f10c382aad7b7c9ec30e6f8d6947862ff30/src/statusbar/dolphinstatusbar.cpp#L332
this->setVisible(false)

the bar remains hidden until eventually another progress update hits with
progress>=100

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list