! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Weird behaviour when navigating with keyboard keys after having deleted a file
Status:
RESOLVED: FIXED

Comments

Description Jérôme Guelfucci editbugs 2009-05-15 16:41:28 CEST
This seems to happen only with the compact list view and the icon view.

Select a file, and trash it. A new file is automatically selected by Thunar. Press an arrow key to navigate. It selects two later, instead of only one.

I'm not sure I'm very clear, so let's try to draw an exemple.

Those are for files, 2 is selected:

1  |2|  3   4

Delete it, 1 is selected:

|1|  3   4

Press the right arrow, 4 is selected, while 3 should have been selected:

1   3   |4|
Comment 1 Jannis Pohlmann editbugs 2010-01-09 21:54:48 CET
Fixed in master (will be part of releases after 1.1.0).

commit e49759d5b54c4f44c039648148c47d444ffded0f
Author: Jannis Pohlmann <jannis@xfce.org>
Date:   Sat Jan 9 22:36:15 2010 +0100

    Properly update the cursor when a row is deleted in (bug #5361).
    
    When cursor and selection are out of sync weird things happen, as
    described by Jérôme in the bug comment on
    http://bugzilla.xfce.org/show_bug.cgi?id=5361.

Bug #5361

Reported by:
Jérôme Guelfucci
Reported on: 2009-05-15
Last modified on: 2010-01-09

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Additional information