Bug 498447 - Press a key, Next File Selected
Summary: Press a key, Next File Selected
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-10 00:59 UTC by vmelkon
Modified: 2025-01-19 16:06 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 vmelkon 2025-01-10 00:59:58 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
This seems to affect all versions of Dolphin.
If we are in a folder and there are many files, let’s say these are the names of the files:
aa.txt
ab.txt
ac.txt
ad.txt
ae.txt
af.txt
ag.txt

If we select with out mouse, ae.txt and with the keyboard, press the A key, the selection jumps to aa.txt instead of going forward.

STEPS TO REPRODUCE
1. If we are in a folder and there are many files, let’s say these are the names of the files:
aa.txt
ab.txt
ac.txt
ad.txt
ae.txt
af.txt
ag.txt

If we select with out mouse, ae.txt and with the keyboard, press the A key, the selection jumps to aa.txt instead of going forward.


OBSERVED RESULT
aa.txt is selected.

EXPECTED RESULT
af,.txt should be selected.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 5.27.11
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
Comment 1 vmelkon 2025-01-10 01:01:24 UTC
It says "with out mouse"

That should be
"with our mouse"
Comment 2 Nate Graham 2025-01-13 05:12:38 UTC
What distro are you using, and what version of Dolphin?
Comment 3 vmelkon 2025-01-13 13:48:59 UTC
Currently, I am using Kubuntu 24.04 
Dolphin version = 23.08.05

I don't know how to install other Dolphin version but if you give me the EXE, I can try.
Or, I can try other distros.
Comment 4 Nate Graham 2025-01-13 17:44:41 UTC
Could you try a newer version from the Snap store or Flathub?
Comment 5 vmelkon 2025-01-16 19:34:57 UTC
Newer versions are not available.
In general, it seems that if a certain version comes with Kubuntu, that version doesn't get updated until the next version of the OS.
Comment 6 Nate Graham 2025-01-16 20:00:03 UTC
That's why I suggested to try a newer version from the Snap store or Flathub; those update independently from the version bundled with the system, which is generally stuck at the version the OS shipped with.
Comment 7 vmelkon 2025-01-16 20:58:28 UTC
I ran
sudo snap install dolphin
since that is what https://snapcraft.io/dolphin says but that downloaded
23.08.05

Flathub has
24.12.1
flatpak install flathub org.kde.dolphin

For the flathub version, that same problem is present.
Comment 8 Nate Graham 2025-01-17 16:21:22 UTC
I can reproduce the behavior.

I'm not sure that it isn't intentional, though.
Comment 9 postix 2025-01-19 11:54:23 UTC
You may also use the Arrow Keys to go the next item and Shift+Arrow to select multiple items. Isn't that the better approach?
Comment 10 vmelkon 2025-01-19 16:06:27 UTC
“You may also use the Arrow Keys to go the next item and Shift+Arrow to select multiple items. Isn't that the better approach?”

==No, because of the following situation that happens to me often:
I use the Alphabetlcal, case sensitive sorting mode in Dolphin.
It is a sorting mode that I like.
What it does is that folders come first and they are alphabetically sorted (Names that start with numbers come first but I don’t care about that).
Files come after and they are alphabetically sorted.

So, if I have a large number of folders and files, with various names, let’s say I have a folder named “george” selected, and I want to jump to a file that starts with “a”, I press A on my keyboard, the selector jumps backwards and selects a folder that starts with “a” (Let’s call it a100) instead of going forward and selecting a file that starts with “a”.
As soon as I move the selector by pressing an arrow key and I press A on my keyboard, the selector jumps backwards and selects the first folder that starts with “a” (a100).
If I only use the arrow key as you suggested, I would have to pass through a thousand files, do a lot of scrolling to find the files that start with “a”.