Review Request 110306: Add a new context menu action "New Folder with Selected Items" to Dolphins Context Menu.

Frank Reininghaus frank78ac at googlemail.com
Fri May 10 10:13:27 BST 2013



> On May 5, 2013, 2:54 p.m., Frank Reininghaus wrote:
> > Thanks Emmanuel for the idea! I'm sure that some people will like it, but could this not be implemented as a service menu or a KAbstractFileItemAction plugin? This is the preferred way to add actions that work on the selected files because users who need this functionality can install it easily, and the action does not clutter the context menu for everyone else.
> 
> Emmanuel Pescosta wrote:
>     > but could this not be implemented as a service menu or a KAbstractFileItemAction plugin?
>     I will give it a try, never implemented a service menu before. ;)
> 
> Emmanuel Pescosta wrote:
>     Just a question: Is it possible to mark a url as current with a service menu/KAbstractFileItemAction plugin?
>     
>     Because I think, that scrolling to the newly created folders make sense. ;)

I think that this is not possible.


- Frank


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110306/#review32091
-----------------------------------------------------------


On May 4, 2013, 7:37 p.m., Emmanuel Pescosta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/110306/
> -----------------------------------------------------------
> 
> (Updated May 4, 2013, 7:37 p.m.)
> 
> 
> Review request for Dolphin and Frank Reininghaus.
> 
> 
> Description
> -------
> 
> Add a new context menu action "New Folder with Selected Items" to Dolphins Context Menu.
> 
> When multiple items are selected, Dolphin offers this new action, to move the selected files/folders into a new folder.
> 
> Old Workflow: 
> Select files/folders -> Cut them -> Create a new folder -> Paste them into this new folder
> 
> New Workflow:
> Select files/folders -> Create a new folder with the selected items
> 
> I hope you and the other Dolphin users/developers like it! ;)
> 
> 
> Diffs
> -----
> 
>   dolphin/src/dolphincontextmenu.h 3d0005d 
>   dolphin/src/dolphincontextmenu.cpp bb26c7a 
>   dolphin/src/dolphinmainwindow.cpp 8ed31de 
>   dolphin/src/views/dolphinview.h e50dffc 
>   dolphin/src/views/dolphinview.cpp abf572f 
> 
> Diff: http://git.reviewboard.kde.org/r/110306/diff/
> 
> 
> Testing
> -------
> 
> 1. Select multiple folders/files
> 2. Open Item Context Menu
> 3. Select first action "New Folder with Selected Items"
> 4. Type the name of the new folder
> 5. Press the "Ok" button
> 
> Result should be:
> * A new folder with the given name (4.) should be created and the previously selected items should be moved into this folder.
> * If the folder already exists or if you haven't enough permissions, a error message should appear and the items should not be moved.
> 
> Works for me.
> 
> 
> Thanks,
> 
> Emmanuel Pescosta
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20130510/4b2fe158/attachment.htm>


More information about the kfm-devel mailing list