When creating a new file/folder with folderview as a panel-widget, the new file/folder is created in the path that is set in the settings of the widget, not in the directory that I have navigated to. Reproducible: Always Steps to Reproduce: 1. Place folderview widget in panel with path /foo/ 2. Open folderview widget and navigate to /foo/bar/ 3. Click create new -> textfile -> dmy.txt Actual Results: File is created as /foo/dmy.txt Expected Results: File should be created as /foo/bar/dmy.txt
This is caused by AppletInterface::contextualActionsAboutToShow not firing for popups, so the call to update the location used by the new submenu doesn't run.
Fix up for review https://git.reviewboard.kde.org/r/128562/
Git commit 8665999ee70935e18a1e5b2a4032697842334959 by Eike Hein. Committed on 31/07/2016 at 12:12. Pushed by hein into branch 'master'. Emit contextualActionsAboutToShow before showing the applet's contextualActions menu. This is done by ContainmentInterface::mousePressEvent, but not in this code path, which is hit for applet panel popups. Folder View relies on this to update actions ahead of the menu being opened. M +1 -0 src/scriptengines/qml/plasmoid/appletinterface.cpp http://commits.kde.org/plasma-framework/8665999ee70935e18a1e5b2a4032697842334959
Thank you very much for the very quick fix!
Thanks for the report and sorry for the trouble :-)