! 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 !
Thunar doesn't correctly update display of selected files after muti-editing
Status:
RESOLVED: FIXED

Comments

Description Malena Vasquez 2016-01-04 19:28:33 CET
Link to LP bug: https://bugs.launchpad.net/ubuntu/+source/thunar/+bug/1356183

When you select multiple files in Thunar and use the rename tool to change their name so that their position in the list would change (eg removing characters from the beginning, such as date or track number) then the files in the same position as those you have just edited (which have obviously moved in the list) look to be selected. Pressing F2 again and you in actuality still have the correct selection but the display is wrong. Pressing up/down to navigate through files takes the cursor to the displayed (incorrect) position though, not to one of those (the first) you selected.

This was working on my Ubuntu Studio 12.04 but seems broken since installing Ubuntu Studio 14.04 a few days ago.

$ lsb_release -rd
Description:	Ubuntu 14.04.1 LTS
Release:	14.04

$ apt-cache policy thunar
thunar:
  Installed: 1.6.3-1ubuntu5
  Candidate: 1.6.3-1ubuntu5
  Version table:
 *** 1.6.3-1ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status
Comment 1 Maycne Sonahoz 2016-02-10 08:01:19 CET
I have the same issue on Thunar 1.6.10 on Manjaro (2016-02-10), though this doesn't happen every time.

Steps to reproduce:
- in tests folder, create folders or files names "a", "b" and "d"
- rename folder "a" to "c"
- pressing F2 to rename does select the newly renamed "c" folder
- pressing Enter to enter the folder sometimes opens the "b" folder instead of the "c" folder

This can also happen even if the renamed folder/file does not change position.
For instance, starting again from folder "a", "b" and "d", after renaming "b" folder to "c", pressing Enter sometimes opens the "a" folder instead of the "c" folder.
Comment 2 Maycne Sonahoz 2016-02-10 19:37:23 CET
Small update. I tried to reproduce this on my Xubuntu workstation, and i did, but with a slight difference.

On Manjaro, after the rename, the folder shown as selected is the one i expect to (the one just renamed), even if i enter a different one with the Enter key.

On Xubuntu 15.10 (Thunar 1.6.10), after the rename, the folder shown as selected is different. Using my previous examples:
- in the first example, after renaming "a" to "c", the folder "b" is selected
- in the second example, after renaming "b" to "c", the folder "a" is selected
This matches Malena's case.

I'm also giving the themes used in case there's a link to the difference, though i don't expect to:
- Shiki-Human-Classic (from shiki-colors-revival [1]) on Manjaro
- Ambiance-Blackout-Flat-Blue-Spring (from ambiance-blackout-flat-colors [2]) on Xubuntu

[1] https://github.com/somasis/shiki-colors-revival
[2] http://www.ravefinity.com/p/download-ambiance-blackout-flat-colors.html
Comment 3 Maycne Sonahoz 2017-03-08 07:57:17 CET
Issue is fixed for me after updating Thunar to 1.6.11.
Thanks!
Comment 4 alexxcons editbugs 2018-01-24 15:11:39 CET
No idea what is the related commit .. was before I entered xfce-devs ;)
 .. however since the issue seems to be fixed, I'll close this bug.

Bug #12394

Reported by:
Malena Vasquez
Reported on: 2016-01-04
Last modified on: 2018-01-24

People

Assignee:
Xfce Bug Triage
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information