Bug 477208 - Type-ahead searching should search downwards, not from top
Summary: Type-ahead searching should search downwards, not from top
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 23.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-18 20:22 UTC by John Veness
Modified: 2023-11-18 20:22 UTC (History)
1 user (show)

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


Attachments
A screen recording of Dolphin, where I expand the Tech folder, then press M, expecting to go down to the first file starting with M in the Tech folder, but it actually highlights the Media folder (1.04 MB, video/x-matroska)
2023-11-18 20:22 UTC, John Veness
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Veness 2023-11-18 20:22:03 UTC
Created attachment 163277 [details]
A screen recording of Dolphin, where I expand the Tech folder, then press M, expecting to go down to the first file starting with M in the Tech folder, but it actually highlights the Media folder

SUMMARY
I generally use Dolphin in Details view mode, using arrow keys to navigate and expand/unexpand subfolders. If I press a letter key, intending for Dolphin to scroll down to the entry that starts with that letter, Dolphin will start from the top of the list, not from the "current" folder as I think most would expect.

STEPS TO REPRODUCE
Also see the attached recording, which probably explains the problem better.

1. Have a folder structure like below, where indentations show files within folders
Top folder
   AAA folder
      AAA file
      BBB file
      CCC file
   BBB folder
      AAA file
      BBB file
      CCC file
   CCC folder
      AAA file
      BBB file
      CCC file
2. Open "Top folder" in Dolphin in Details view
3. Use keyboard arrow keys to go down and expand (press right arrow) the CCC folder, so it looks like:
AAA folder
BBB folder
CCC folder
   AAA file
   BBB file
   CCC file
4. Note that the "CCC folder" is currently highlighted
5. Press the B key on the keyboard

OBSERVED RESULT
The "BBB folder" is highlighted.

EXPECTED RESULT
The "BBB file" within the "CCC folder" is highlighted.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231116
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 450 G4

ADDITIONAL INFORMATION
To put it another way, my expectation is that typeahead should work a bit like searching in a text editor, namely that it would search downwards from the current cursor position (wrapping around if necessary), not always searching from the beginning of the document or folder.