Bug 367851

Summary: Folder View in Panel: deleting folders can break keyboard navigation
Product: [Plasma] plasmashell Reporter: stefanprobst
Component: FolderAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: amdev1, cfd_s12, nate, notuxius, plasma-bugs
Priority: NOR    
Version: 5.7.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description stefanprobst 2016-08-26 11:57:18 UTC
The FolderView panel-applet remembers the index of the selected file/folder in the previous subfolder, when using keyboard navigation. E.g. when navigating to the third subfolder in a directory and pressing left cursor to go back, (i) there is no visible selection, (ii) and pressing cursor down selects the forth item in the directory (if it exists, otherwise only cursor up is possible).

This is unexpected behavior, but can also totally break keyboard navigation in this scenario:


Reproducible: Always

Steps to Reproduce:
1. Create the following structure of empty directories:
~/foo/bar/dir1
~/foo/bar/dir2
~/foo/bar/dir3
2. Open the FolderView panel-applet for the Home Folder, and navigate to ~/foo/bar/ with the keyboard
3. Now select dir3, press Del to delete, select dir2, press Del
4. Press Left to go back to ~/foo

Actual Results:  
Cannot select anything by pressing Up or Down.

Expected Results:  
Be able to select something with keyboard.
Comment 1 Eike Hein 2016-09-14 12:30:27 UTC
*** Bug 368793 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Mentyu 2017-12-13 12:35:10 UTC
sometimes bar folder isn't selecting with up or down arrow keys - even if not deleting dirs folders in step 3
Comment 3 Alex 2019-05-24 03:08:23 UTC
I can't reproduce this by following those steps, I tried a few times. But following the steps to reproduce bug 407889 I reliably get this issue.
Comment 4 Nate Graham 2020-01-23 17:08:48 UTC
Yep, looks like the same issue.

*** This bug has been marked as a duplicate of bug 407889 ***