Bug 467287 - Deleting many files takes scroll focus to wrong end
Summary: Deleting many files takes scroll focus to wrong end
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-13 17:12 UTC by David
Modified: 2023-03-13 17:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2023-03-13 17:12:02 UTC
SUMMARY
If I select many files in Dolphin in a way that moves the position within the scrolling bar downwards and then delete the files, it will not take me back to the scrolling part where my selection had started - instead, it will keep the same position, but as I deleted many files, this is now far apart from the beginning of  the selection.

STEPS TO REPRODUCE
1. Create a folder with lots of files.
2. Launch Dolphin.
3. Configure Dolphin to group files by type (not sure if this is entirely required) and show icons.
4. Position somewhere in the middle of the available scrolling on the right panel.
5. Start a selection rectangle by holding a mouse click and moving it downwards.
6. Let it select many files, taking the scrolling position below what it was before.
7. Delete the files with Shift+Del.

OBSERVED RESULT
Puts the focus on what would have been the end of the selection rectangle. As the files no longer exist, this means that it skipped a lot of files to show to me, since unseen files moved ahead of my current view.

EXPECTED RESULT
Should bring back the focus to where the selection rectangle began, like in windows explorer.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-6-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK
Product Name: Executive

ADDITIONAL INFORMATION