Bug 453133 - HOME and END keys show non-standard behavior in Dolphin when renaming files
Summary: HOME and END keys show non-standard behavior in Dolphin when renaming files
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-04-28 11:08 UTC by Marcelo Sales
Modified: 2022-07-31 06:26 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Sales 2022-04-28 11:08:00 UTC
When renaming a file with a long name (more than one line) in Dolphin, the HOME and END keys show a non-standard behavior.  Previously, the HOME key would send the cursor to the beginning of the current line and END key would send the cursor to the end of the current line, which is the expected behavior. Now, the HOME key sends the cursor to the beginning of the file name and the END key sends the cursor to the end of the file name, even across multiple lines, which is non-standard, different from these keys' behavior in any other GUI application. In any GUI application, the HOME key sends the cursor to the beginning of the current line and the END key sends the cursor to the end of the current line, not to the beginning or the end of the current paragraph. That's what the average user expects.
Because of this non-standard behavior in Dolphin, if the user wants to go to the beginning or to the end of the current line, he must press a side arrow key a lot of times to get there. With the standard behavior, he could just press a single key to go to the beginning or to the end of the current line, or press the UP/DOWN arrow keys just a few times and then HOME or END to go to the beginning or to the end of the file name. 
The current Dolphin's behavior makes it more difficult and time-consuming to navigate through a long file name.

STEPS TO REPRODUCE
1. Select a file with a long name (multiple lines)
2. Press F2 to rename it
3. Press the LEFT arrow to send the cursor to the beginning of the file name
4. Press the END key

OBSERVED RESULT
The cursor is sent to the end of the file name, several lines below where it was

EXPECTED RESULT
The cursor should have been sent to the end of the first line of the file's name


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Ubuntu 21.10
Comment 1 Nate Graham 2022-05-03 17:40:31 UTC
This was an intentional change we made a few years ago to make it easier to get to the beginning or end of the filename. We could revisit it.
Comment 2 Marcelo Sales 2022-05-05 02:54:27 UTC
I think that the previous, standard behavior was much better. It was easy enough to get to the beginning or to the end of the filename with only a few key strokes (just a few UP or DOWN arrows and then HOME or END). Now, however, although it's a bit easier to go to the beginning or to the end of the filename, it's difficult to get to the beginning or to the end of a line. Very often, when I'm naming hundreds of photos downloaded from a digital camera, I copy and paste filenames a lot and make small changes to them. I use the Icon View with Previews on, so I can see miniatures of the photos while I'm naming them, therefore the filenames often spread over 4 to 6 lines. Going quickly to the beginning or to the end of lines is a must, it speeds up navigation a lot. The way it is now, it's painful to complete such tasks.
Not to mention that the current behavior is not what the average user expects.
Comment 3 Nate Graham 2022-05-05 21:25:38 UTC
Yeah, I think I agree.