Bug 349654

Summary: dolphin shows incorrect "create new" context menu without libkonq-frameworks
Product: [Frameworks and Libraries] frameworks-kio Reporter: Federico <nierro92>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal CC: adamfagerness, adem4ik, bugzilla, courthicks1, frank78ac, illumilore, kde, kdelibs-bugs, n.schnelle, plusfabi, post, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Federico 2015-06-27 12:56:12 UTC
Without libkonq-frameworks, dolphin "create new" context menu only shows "connection to device". I cannot create new folders/files from there.
dolphin-git r4891.1c1efb9-1

Reproducible: Always

Steps to Reproduce:
1. Open dolphin (without having libkonq frameworks installed)
2. right click on a blank space
3. go to create new submenu

Actual Results:  
create new submenu has only one option

Expected Results:  
Some more options (actually i have 7 with libkonq installed)

* Kf 5.11
* qt 5.4 
* plasma 5.3.1
Comment 1 Frank Reininghaus 2015-07-31 16:41:47 UTC
Thanks for the bug report. This is not exactly a Dolphin issue - see 350769 for a discussion on this topic.

*** This bug has been marked as a duplicate of bug 350769 ***
Comment 2 Federico 2015-07-31 17:17:44 UTC
Thank you very much!
Comment 3 Frank Reininghaus 2015-08-25 19:55:19 UTC
*** Bug 351578 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2015-08-25 19:58:46 UTC
Unfortunately, it seems that there was not much progress so far. Since this is not a Dolphin issue, we should probably reassign it to a more suitable product. I think that the entries in the "Create New..." menu should probably either be moved from lib/konq to kio (which provides the infrastructure for the menu) or to kio-extras.

@David: What do you think?
Comment 5 Frank Reininghaus 2015-08-25 19:59:19 UTC
*** Bug 347188 has been marked as a duplicate of this bug. ***
Comment 6 David Faure 2015-08-26 11:47:23 UTC
Frank: I completely agree.
Comment 7 Frank Reininghaus 2015-08-29 18:30:52 UTC
*** Bug 351904 has been marked as a duplicate of this bug. ***
Comment 8 Frank Reininghaus 2015-08-29 18:31:28 UTC
A first attempt to fix this issue is at https://git.reviewboard.kde.org/r/124983/
Comment 9 Frank Reininghaus 2015-09-10 21:30:50 UTC
*** Bug 352410 has been marked as a duplicate of this bug. ***
Comment 10 Frank Reininghaus 2015-09-22 16:41:34 UTC
*** Bug 352966 has been marked as a duplicate of this bug. ***
Comment 11 Alice 2015-09-22 18:22:21 UTC
Just to confirm, the patch in comment #8 worked to add most of the right click functions back. I'm using Kubuntu 15.10 64bit kernel 4.2.0-10-generic Plasma 5.4.1 Qt Version 5.4.2. Still no Ark options on right click, but create folder, txt, send to et al returned after applying patch.
Comment 12 Janet 2015-09-22 23:21:00 UTC
Is it possible for us users to bypass this by copying or linking something somewhere as a temporary workaround?
Comment 13 Nikola Schnelle 2015-09-23 00:42:02 UTC
In kubuntu install libkonq-common package to workaround this bug.
Comment 14 Ralf Jung 2015-09-27 14:42:16 UTC
I am having the problem that the context menu entires for Ark are not shown, a regression compared to KDE4. Bug 351904, which looks like it is fitting, has been closed as a duplicate of this - but here I can't follow anymore. I do see some service menu entries, like the bluetooth ones and "Create New", but Ark is missing. I have libkonq-common installed (Debian testing). Am I seeing the same bug?
Comment 15 Frank Reininghaus 2015-09-27 17:16:35 UTC
(In reply to Ralf Jung from comment #14)
> I am having the problem that the context menu entires for Ark are not shown,
> a regression compared to KDE4.

This is a different issue (bug 350769).

> Bug 351904, which looks like it is fitting

That report is a mix of two different issues, namely, the "Create New..." menu issue (the present report) and bug 350769. At first sight, these issues look similar, and I also thought first that they might have the same root cause, but it turns out that this is not the case.

>  have libkonq-common installed (Debian testing).

Hm, actually, bug 350769 is also due to a the lack of a file from lib/konq. I'm not sure if Debian includes this file in their package.
Comment 16 Ralf Jung 2015-09-29 09:50:13 UTC
They do include it:

  libkonq-common: /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop

But, that's a KDE4 folder, so how should this help with a KDE5-based dolphin...?
Comment 17 Frank Reininghaus 2015-09-29 19:59:42 UTC
(In reply to Ralf Jung from comment #16)
> They do include it:
> 
>   libkonq-common: /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop
> 
> But, that's a KDE4 folder, so how should this help with a KDE5-based
> dolphin...?

Right, then this does probably not help, but you said that you do have the "Create New..." entries in the context menu, which are also part of lib/konq. This is why I assumed that this Debian package installs the lib/konq stuff in a directory which is accessible for KF5-based applications.
Comment 18 Ralf Jung 2015-09-29 20:07:14 UTC
That's the only file of exactly that name that I have installed.
Comment 19 Frank Reininghaus 2015-10-06 08:30:28 UTC
Git commit 1b98a313983b75f3340639e5cd9519c56fca7113 by Frank Reininghaus.
Committed on 06/10/2015 at 08:13.
Pushed by freininghaus into branch 'master'.

Move the entries for the "Create New" menu from kde-baseapps/lib/konq to kio

It would be great if the translations from lib/konq in kde-baseapps
could be merged. Thanks!
Change-Id: Idfda62a30f89cace9e8701ff2e72e26824419154
REVIEW: 124983
CCMAIL: luigi.toscano@tiscali.it

M  +1    -0    src/CMakeLists.txt
A  +20   -0    src/new_file_templates/CMakeLists.txt
A  +183  -0    src/new_file_templates/Directory.desktop
A  +182  -0    src/new_file_templates/HTMLFile.desktop
A  +8    -0    src/new_file_templates/HTMLFile.html
A  +6    -0    src/new_file_templates/Program.desktop
A  +179  -0    src/new_file_templates/TextFile.desktop
A  +1    -0    src/new_file_templates/TextFile.txt
A  +3    -0    src/new_file_templates/URL.desktop
A  +140  -0    src/new_file_templates/linkPath.desktop
A  +173  -0    src/new_file_templates/linkProgram.desktop
A  +183  -0    src/new_file_templates/linkURL.desktop

http://commits.kde.org/kio/1b98a313983b75f3340639e5cd9519c56fca7113