If I shutdown my computer where for example I had a usb driver mounted and I had a tab opened in a specific path inside that usb drive. After booting, if the usb drive is not available or not mounted, a red bar shows in Dolphin saying the path is not available. However if I mount the usb drive afterwards, the error bar doesn't go away even though "the path" is now available
Steps to Reproduce:
1. open a tab in a specific path where this path is not automounted at boot
2. Reboot computer
3. Open Dolphin
4. Session should be restored and a red bar should show up stating a path is not available for opening.
5. mount that path and try to browse into it in dolphin
6 error bar is still there
I guess the message widget is not to blame but rather the fact that Dolphin isn't aware (notified) if a directory/media comes available again.
Patch to fix this: https://git.reviewboard.kde.org/r/119401/
Git commit e7ef1cb8ece862bde22e7b1750b4235b1d55d1e6 by Arjun AK.
Committed on 22/08/2014 at 13:12.
Pushed by arjunak into branch 'KDE/4.14'.
Hide an already visible KMessageWidget message before showing a new one
1. Do some operation that causes the KMessageWidget to show an error message
2. Immediately Repeat the same action.
The user has no way to know whether the error message is from the second operation or
is a leftover from the first one. By hiding the widget first and then showing it using
animatedShow(), the user can clearly see that a new message was generated. Also once the
directory successfully loads, the widget should be hidden.
M +4 -0 dolphin/src/dolphinviewcontainer.cpp