Filesystem browser: "Go up"-arrow not working after "Current document folder"

Alexander Neundorf neundorf at kde.org
Fri Sep 15 20:21:16 UTC 2017


On 2017 M09 6, Wed 22:17:29 CEST Dominik Haumann wrote:
> Hi Alex,
...
> The action is called "up". It is referenced only once in the
> filesystembrowser source code. Besides that, you can find it in
> frameworks/kio/src/filewidgets/kdiroperator.h/cpp. Syncing the current
> folder finally calls KDirOperator::setUrl(). It seems after this call,
> it does not work anymore. If I comment this line out (line 221
> katefilebrowser.cpp), syncing does not work anymore, but up will
> always work. So yes, invoking setUrl() breaks the action - for
> whatever reason. Seems a bug in kdiroperator.
> 
> Debugging shows that KDirOperator::cdUp() may not work correctly, or
> if it does, the "// already set" case in KDirOperator::setUrl()
> matches and an early return happens.
> Not sure what is really going on here, but I currently have no time to
> go further...

This fixes it for me:
https://commits.kde.org/kate/e2d5c00eabea96fdd91890e57a7595a9286c650f

Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20170915/d6a0527a/attachment.html>


More information about the KWrite-Devel mailing list