I have a bookmark that connects to an FTP server. I opened it in a new tab, then switched to that tab. It failed to connect to the server (unrelated issue) and displayed an error message, but also expanded the window vertically. This is always reproducible if the error message appears, but only if the link is opened in a new tab. before: https://i.imgur.com/Lf8uvsG.png after: https://i.imgur.com/jLcm7pS.png
Looks like a bug in KMessageWidget
Does it also expand in the same way, if you try to visit /root as a normal user, or for any other error messages displayed inside the file area?
Trying to open /root displays the error as expected, but trying to open /lost+found pushes the file list panel down 3x as far as it needs to display the error. https://i.imgur.com/h7wEL8t.png This is likely why the window resized before, so it had enough room as it thought it needed to display the error. Again, this only happens when opening in a new tab.
Okey, found how to reproduce. I had Breeze widget style animations disabled. When enabling them, I get the same issue now.
Git commit 0cfb788c2e4445a66956fa1aae61a6e8df9281be by Christoph Feck. Committed on 27/03/2017 at 23:31. Pushed by cfeck into branch 'master'. Fix wrong size hint when animatedShow is called with hidden parent Differential Revision: https://phabricator.kde.org/D5092 M +2 -1 src/kmessagewidget.cpp https://commits.kde.org/kwidgetsaddons/0cfb788c2e4445a66956fa1aae61a6e8df9281be