Bug 438491

Summary: Inconsistent location for new folder creation in Dolphin
Product: [Applications] dolphin Reporter: Thomas Borowski <mail+kdebugs>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: jordan.bucklin, kfm-devel, nate
Priority: NOR Keywords: usability
Version First Reported In: 20.08.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Borowski 2021-06-12 06:53:08 UTC
SUMMARY

In Dolphin, the File > Create New > Folder menu item, the corresponding context menu item and the F10 shortcut do not all apply to a selected subfolder inside the current folder, i. e. the new folder is created in different locations depending on how you invoke the command.

STEPS TO REPRODUCE

1. Open any folder that has a subfolder in Dolphin and select (highlight) a subfolder.
2. Invoke the context menu on the selected subfolder, select Create New > Folder from the context menu, enter a name for the new folder and click OK.
3. Now, with the same subfolder selected/highlighted as in step 2, select Create New > Folder from the File menu, enter a name for the new folder and click OK.
4. Now, with the same subfolder selected/highlighted as in step 2 and 3, hit F10, enter a name for the new folder and click OK.

OBSERVED RESULT

In step 2 the new folder is created inside the selected/highlighted subfolder. In steps 3 and 4 the new folder is created in the current folder, i. e. the selected/highlighted subfolder is ignored.

EXPECTED RESULT

The location for the new folder should be the same regardless of the method used, i. e. any selected/highlighted subfolder of the current folder should be used as the parent folder for the new folder. If no folder inside the current folder is selected, the new folder should be created inside the current folder.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-55-generic
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 31,3 GiB of RAM
Graphics Processor: GeForce RTX 2070/PCIe/SSE2
Comment 1 Nate Graham 2021-06-14 18:46:19 UTC
Confirmed.
Comment 2 Jordan 2021-08-29 17:19:47 UTC
Bug report closed, refer to thread https://invent.kde.org/system/dolphin/-/merge_requests/244#note_281713.