Bug 494988 - Inline version of "Create New File/Folder"
Summary: Inline version of "Create New File/Folder"
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (show other bugs)
Version: 6.2.2
Platform: Arch Linux Linux
: LO wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: efficiency, usability
Depends on:
Blocks: 497306
  Show dependency treegraph
 
Reported: 2024-10-18 12:23 UTC by Fernando M. Muniz
Modified: 2024-12-11 18:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This is the window I'm speaking of. (15.57 KB, image/png)
2024-10-18 12:23 UTC, Fernando M. Muniz
Details
Concept art of the request. (389.16 KB, image/png)
2024-10-18 14:04 UTC, Fernando M. Muniz
Details
Concept video of the request. (3.57 MB, video/mp4)
2024-10-19 21:57 UTC, Fernando M. Muniz
Details
Renaming with "/" would create subfolders (New feature). (864.61 KB, video/mp4)
2024-11-02 01:23 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2024-10-18 12:23:28 UTC
Created attachment 174983 [details]
This is the window I'm speaking of.

Is there any reason to why "Create New File/Folder" window even exists?
As far as I'm aware, it would be faster to create the file/folder with their default names and auto-select them for quick naming.

So I'm requesting for this change.
Comment 1 David Edmundson 2024-10-18 12:32:18 UTC
How is that faster?
Comment 2 Fernando M. Muniz 2024-10-18 12:44:31 UTC
(In reply to David Edmundson from comment #1)
> How is that faster?

1- As it is, clicking to create a file/folder will open that window, which will then create the file.
2- With this change, clicking to create a file/folder will create it and make its name highlighted.

Although it's about a single second of time that will be gained, it proves that the window has no existencial purpose.
Comment 3 Fernando M. Muniz 2024-10-18 14:04:46 UTC
Created attachment 174986 [details]
Concept art of the request.
Comment 4 Fernando M. Muniz 2024-10-19 21:57:31 UTC
Created attachment 175038 [details]
Concept video of the request.
Comment 5 Fernando M. Muniz 2024-10-31 21:12:12 UTC
It might also solve Bug 493354 , which is related to this same window.
Comment 6 Méven Car 2024-11-01 08:36:13 UTC
It might need a setting, as inline creation would not allow to create a hierarchy of files, might group it with the inline renaming setting.

And plasma/dolphin/kio will to be follow the setting (probably as the renaming setting does.

I.e it would be more basic.

This has my preference over https://bugs.kde.org/show_bug.cgi?id=493354.
Comment 7 Fernando M. Muniz 2024-11-01 17:18:24 UTC
To not lose the feature of creating a folder with multiple subfolders in one go, it could be made so when naming a folder's name as "Cool Name/Cooler Name/Coolest Name" the slashes would create the subfolders.
Comment 8 Fernando M. Muniz 2024-11-02 01:23:29 UTC
Created attachment 175464 [details]
Renaming with "/" would create subfolders (New feature).

That would also add this feature when renaming folders, which would be a very neat addition.
A "Tooltip" should appear and inform the user that using slashes will create subfolder(s).
Comment 9 Fernando M. Muniz 2024-11-02 06:56:55 UTC
*** Bug 493354 has been marked as a duplicate of this bug. ***
Comment 10 Fernando M. Muniz 2024-11-03 15:01:25 UTC
(In reply to Méven Car from comment #6)
> It might need a setting, as inline creation would not allow to create a
> hierarchy of files, might group it with the inline renaming setting.
> 
> And plasma/dolphin/kio will to be follow the setting (probably as the
> renaming setting does.
> 
> I.e it would be more basic.
> 
> This has my preference over https://bugs.kde.org/show_bug.cgi?id=493354.

What is a "hierarchy of files" and why the "Rename"'s text entry box can't completely replace the "Create New File/Folder"'s text entry box because of it?
Comment 11 Nate Graham 2024-11-05 21:43:04 UTC
It's possible. Right now creating files/folders using a dialog allows us to use shared code with other KDE apps like Dolphin, which is a benefit. The cost is a less integrated experience.
Comment 12 Fernando M. Muniz 2024-11-05 21:52:53 UTC
(In reply to Nate Graham from comment #11)
> It's possible. Right now creating files/folders using a dialog allows us to
> use shared code with other KDE apps like Dolphin, which is a benefit. The
> cost is a less integrated experience.

Considering that this Inline feature will mostly reusing the renaming system and update how it interprets "/" to create subfolders. So I don't think it will be a lot less integrated with existing code. (But then again I'm not a programmer)
Comment 13 Fernando M. Muniz 2024-11-26 20:56:40 UTC Comment hidden (spam)
Comment 14 Fernando M. Muniz 2024-12-03 09:43:21 UTC Comment hidden (spam)
Comment 15 Nate Graham 2024-12-10 21:25:36 UTC Comment hidden (spam)
Comment 16 Fernando M. Muniz 2024-12-10 23:31:24 UTC Comment hidden (spam)
Comment 17 Nate Graham 2024-12-10 23:55:25 UTC Comment hidden (spam)
Comment 18 Nate Graham 2024-12-11 17:32:20 UTC
Honestly I'm not sure this it worth the effort. All those other issues you've opened shows how much work this would be, and for what real benefit? Unclear at this point. And it would make the desktop inconsistent with Dolphin, too. Sorry, I don't think we'll be able to consider this.
Comment 19 Fernando M. Muniz 2024-12-11 17:42:05 UTC
(In reply to Nate Graham from comment #18)
> Honestly I'm not sure this it worth the effort. All those other issues
> you've opened shows how much work this would be, and for what real benefit?
> Unclear at this point. And it would make the desktop inconsistent with
> Dolphin, too. Sorry, I don't think we'll be able to consider this.

Should I reopen Bug 493354 ?
Comment 20 Nate Graham 2024-12-11 17:43:18 UTC
Yeah, that seems reasonable. Go ahead, and say I approved it. :)
Comment 21 Fernando M. Muniz 2024-12-11 18:04:23 UTC
For archival purposes:

493354 - Renaming folders with "/" has different behavior from creating folders with "/"

494988 - Inline version of "Create New File/Folder"

497305 - The inline version of "Create New File/Folder" should ignore every "/" at the start of the folder's name, but then read the actual text after it

497306 - Allow users to create multiple sub-folders alongside each other with the inline version of "Create New File/Folder"

497300 - Create new subfolders as needed when creating files with slashes in their names, as happens for folders

497307 - With the "Create New File", files created with just their ".extension" should create them with their generic names