Bug 444311 - Jumping to next file during rename (which changes sort order) leads to wrong filelist display
Summary: Jumping to next file during rename (which changes sort order) leads to wrong ...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 21.08.2
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 452305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-24 08:57 UTC by Kishore Gopalakrishnan
Modified: 2022-07-31 06:24 UTC (History)
2 users (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 Kishore Gopalakrishnan 2021-10-24 08:57:05 UTC
SUMMARY
In the details view, when the sort order changes during a rename operation and the user moves to the next file (using arrow key) without exiting rename mode, the list of files in the current folder is shown wrongly.

STEPS TO REPRODUCE
1. In a new folder, create five files: a.txt, b.txt, c.txt, d.txt, e.txt
2. Switch to details view (Ctrl+3)
3. Sort by name (ascending; click the 'name' column heading if a different sort order is being used)
4. Select b.txt and press F2 (rename)
5. Make its new name 'z.txt' (but don't press enter)
6. Press the down arrow to move to the next file without exiting rename mode.

OBSERVED RESULTS
z.txt (the renamed version of b.txt) moves to the end of the folder view. The next file (c.txt) is shown twice, and one of those instances is selected for renaming.

EXPECTED RESULTS
Either
1. sort order should not change until user exits rename mode
2. even if the sort order changes, the list of files should still be shown correctly

SYSTEM INFORMATION
Operating System: Arch Linux
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 21.4 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 8 Graphics
Comment 1 Kishore Gopalakrishnan 2022-07-31 06:24:51 UTC
*** Bug 452305 has been marked as a duplicate of this bug. ***