Bug 381479

Summary: Link to Device Templates in Dolphin Sub-Menu Missing
Product: [Frameworks and Libraries] frameworks-kio Reporter: melihilker683
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.35.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description melihilker683 2017-06-21 09:14:58 UTC
When I right click on an empty section in Dolphin file manager, and select "Link to Device" sub-menu, it appears that there is no template there, and the menu entry is still there. It is clear that no template for Link to Device entry is installed, but the problem is even though no template is configured, the sub-menu entry is just there. This problem is also re-producible in KDE Neon and openSUSE Tumbleweed.
Comment 2 Kai Uwe Broulik 2017-06-30 11:53:18 UTC
Git commit ddbae1c69cae5c0654e5b59f979b19e60eb602bb by Kai Uwe Broulik.
Committed on 30/06/2017 at 11:48.
Pushed by broulik into branch 'master'.

[KNewFileMenu] Hide "Link To Device" menu if it would be empty

Differential Revision: https://phabricator.kde.org/D6446

M  +3    -1    src/filewidgets/knewfilemenu.cpp

https://commits.kde.org/kio/ddbae1c69cae5c0654e5b59f979b19e60eb602bb