Bug 112926

Summary: Wish: right-click menu in file browser
Product: [Applications] kate Reporter: Dotan Cohen <dotancohen>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: contact, frank78ac, kde-2011.08, laurent.lacote
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dotan Cohen 2005-09-20 08:06:17 UTC
Version:           2.4.1 (using KDE 3.4.2-1.2.fc4.kde, Fedora)
Compiler:          Target: i386-redhat-linux
OS:                Linux (i686) release 2.6.12-1.1447_FC4

It would be great if the file browser of Kate had the same right-click menu as Konquerer does. The features that are most needed in my opinion are:
Create New->
Properties
Move To Trash
Change Name
Open With
Cut/ Copy/ Paste

Two of these show up _sometimes_: Properties and Move To Trash. I cannot figure out what causes them to show or not to. Same behaviour on local files AND on files accessed by the fish protocol.

Thanks!
Comment 1 Jean-Philippe Fleury 2008-10-31 04:09:47 UTC
I support this request. It would be very useful to can add a new file or to can cut/copy/paste by right click.
Comment 2 Laurent 2011-08-25 09:50:36 UTC
Hi all, 

I agree with what is said, but a minima, a right-click option "Open current folder" (in Dolphin) in filebrowser panel would spare much time when trying to get files in same folder as the one opened. Then in Dolphin you could get all right-click features.

 Thanks for your work :)

   Laurent
Comment 3 Dotan Cohen 2011-08-25 11:18:17 UTC
Now that we are using Dolphin instead of Konqueror, it should be mentioned that the Dolphin file manager is embeddable: Konqueror in fact now embeds the Dolphin component!

Maybe Kate could just embed the Dolphin file manager like Konqueror does. That would lead to consistency and some additional features.
Comment 4 Dominik Haumann 2012-10-26 12:32:15 UTC
With the changes in dolphin, we now have:
- Create New->
- Properties
- Move To Trash
- Open file manager

Through properties, you can also rename. Open With and Cut/ Copy/ Paste still is missing, but then I'm not sure whether you should just open the file manager to do this.

I'll leave this to the dolphin guys, but imo this request can be closed.
Comment 5 Dotan Cohen 2012-10-26 12:50:32 UTC
Thanks, Dominik. That looks good, but "Change Name" really is necessary from within the code editor for e.g. refactoring. I do agree that the inclusion of "Open file manager" helps for the other cases.
Comment 6 Frank Reininghaus 2012-10-26 13:39:07 UTC
(In reply to comment #4)
> I'll leave this to the dolphin guys, but imo this request can be closed.

@Dominik: could you please tell me what feature exactly this report requests in Dolphin? I read the report a couple of times, but I can't really see it :-(

It's also entirely unclear to me how "changes in Dolphin" could affect Kate's file tree plugin.
Comment 7 Dominik Haumann 2012-10-26 14:03:26 UTC
Hi Frank, it's about the "filesystem browser" plugin, you may first have to enable in in Kate in order to see it. There, we are using a KDirOperator, and I thought that this uses some dolphin part to list directory contents.

This report requests more actions in the context menu, but I'm not sure whether this is really a good idea, so that's why I just move the component ;)
Comment 8 Frank Reininghaus 2012-10-26 14:08:11 UTC
(In reply to comment #7)
> Hi Frank, it's about the "filesystem browser" plugin, you may first have to
> enable in in Kate in order to see it. 

OK, I see, thanks!

> There, we are using a KDirOperator, and I thought that this uses some dolphin part to list directory contents.

No, it doesn't. Even though it looks similar, KDirOperator does not have much to do with Dolphin. AFAIK, it uses only KDirLister and KDirModel, combined with the standard itemviews from Qt.
Comment 9 Dominik Haumann 2012-10-26 20:58:20 UTC
Ok, then sorry for the noise. Still, since you can open Dolphin just by one click now, it's straight forward to do the rest of the file management stuff. Hence, I'll close this anyway ;)