Bug 265714

Summary: create new folder from context menu doesn't work
Product: [Applications] dolphin Reporter: Gerhard <gstengel>
Component: view-engine: details modeAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: normal CC: frank78ac
Priority: NOR Keywords: regression, reproducible
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.1

Description Gerhard 2011-02-07 19:13:11 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

If I highlight a folder in the details view and want to create a folder from the context menu, it doesn't work any more. See steps to reproduce.

Reproducible: Always

Steps to Reproduce:
1. switch dolphin to "details" view
2. highlight a folder with a left click
3. right click to bring up the context menu
4. choose Create New | Folder from the context menu


Actual Results:  
Nothing happens

Expected Results:  
Eventually, a new folder should appear as a subfolder of the just selected folder. (Before there should be a dialogue asking for the folder's name, of course)

It works if I don't highlight any item before, just right click into a "whitespace". Creating a folder via File | Create New | Folder works, too.

I'm sure this is a regression, worked before.
Comment 1 Frank Reininghaus 2011-02-09 18:51:45 UTC
Thanks for the report, I can confirm in master. It works as expected in the 4.5 branch.

Two remarks:

1. One can leave out your step 2.
2. It seems that the other view modes are also affected.
Comment 2 Peter Penz 2011-02-09 21:38:38 UTC
Git commit 6bb8f5ba17be70237972f805e54b3d6491bb6574 by Peter Penz.
Committed on 09/02/2011 at 21:37.
Pushed by ppenz into branch 'KDE/4.6'.

Fix regression that creating a sub-folder is not possible

BUG: 265714

M  +3    -1    dolphin/src/dolphincontextmenu.cpp     
M  +1    -1    dolphin/src/dolphinmainwindow.cpp     
M  +3    -3    dolphin/src/dolphinnewfilemenu.cpp     
M  +1    -1    dolphin/src/dolphinnewfilemenu.h     

http://commits.kde.org/kde-baseapps/6bb8f5ba17be70237972f805e54b3d6491bb6574
Comment 3 Peter Penz 2011-02-09 21:39:53 UTC
Git commit 0e1143fcdf7b6c7551a40477e144025c923dd8e4 by Peter Penz.
Committed on 09/02/2011 at 21:15.
Pushed by ppenz into branch 'master'.

Fix regression that creating a sub-folder is not possible

CCBUG: 265714

M  +3    -1    dolphin/src/dolphincontextmenu.cpp     
M  +1    -1    dolphin/src/dolphinmainwindow.cpp     
M  +3    -3    dolphin/src/dolphinnewfilemenu.cpp     
M  +1    -1    dolphin/src/dolphinnewfilemenu.h     

http://commits.kde.org/kde-baseapps/0e1143fcdf7b6c7551a40477e144025c923dd8e4