Slightly strange behaviour in Dolphin

ah, i see the difference in what you describe is changing the PWD by “automating” an Enter key press… i don’t think anyone is suggesting that.

Selected simply means the selection highlight in dolphin, not actually changing PWD to the new folder.

in my plasma 5 world: F10 creates a new folder in PWD as per your item 1…. the only way for me to create nested folders is to use the context menu (which requires me to Select something)

in the flatpak version of dolphin with the change applied, the Ctrl+Shift+N option creates a new folder at a location that depends upon what is selected, just like using the context menu.

the change brings both use cases of the Create New Folder dialog in line with each other… which is a desirable thing.

the issue you bring up stems what ends up Selected in the GUI after a new folder is created.

there are two use cases for the Create New Folder dialog

CASE 1: Create a new folder in PWD

  • no selection highlighted, PWD has Focus therefore PWD acts as Selected
  • the new folder is created in PWD
  • the new folder becomes the new Selected item and is visible in the GUI

CASE 2: Create a nested folder in Selected

  • Selected folder has Focus just as if the context menu was used
  • the new folder is created in Selected
  • the new folder becomes the new Selected item and is visible in the GUI

the missing link in CASE 2 is the last step where after folder creation the GUI expands the folder tree to reveal the new folder and shows the new folder as Selected (and only the new folder).

CASE 1 already does this step without any difficulty because no expansion of the folder tree is needed to show the new folder and mark it as Selected, but when creating a nested folder more GUI work needs to be done to show it.