Page 1 of 1

"Sticky" file selection.

Posted: 04 Mar 2006 18:04
by Gandolf
Three tabs open, no tree. Folder "A" open in tabs one and two and a sub-folder of folder "A" open in tab three. Tab one is sorted by name ascending; tabs two and three by name descending. Each tab has a different filter applied to the list.

The file at the top of the list is focused in each tab.

Tab one is initially the visible tab and the top file is opened in a graphics application and processed. This results in two files being saved in folder "A" and one file in sub-folder of "A". The original file is then deleted from folder "A".

Because of the naming of the created files and the filters applied to the tabs, they appear at the top of the list in tabs two and three. The focused file in tab two is now the third file, in tab three the second file.

If I select another file in either tabs two or three the third (in tab two) or second (in tab three) file remains selected (hence two files are selected in tabs two or three). If I select the "sticky" file then afterwards everything works normally, i.e only one file is selected at a time. The problem is that by clicking on the "sticky" file the rename mode is enabled. Hence I have to click yet another file to clear the rename mode.

I think the "sticky" selection is cleared in both tabs when I clear it in either one of them.

Auto-refresh on file system changes is on.

Confused? I am!!

It's more annoying than anything else so it would be good if it can be solved.

Re: "Sticky" file selection.

Posted: 04 Mar 2006 20:07
by admin
I read it three times, but sorry... you lost me. Try again.

Posted: 04 Mar 2006 21:26
by Gandolf
O.K. I thought it might be something in the way I was working but I've found it is simpler (I hope!)

Two tabs. Tab 1 is folder 1, tab 2 is folder 2.

Both folders contain files but it's only folder 2 that matters.

Viewing tab 2 (folder 2) select one of it's files.

Switch to tab 1.

Write some files into folder 2, it doesn't matter if you copy with XY or save from an external program. I just did it by dragging from folder 1 (tab 1) to folder 2 in the tree. Copy not move, but that may not matter either.

Switch to tab 2.

The file in folder 2 that was selected when you switched to tab 1 is still selected but if you click on any other file in folder 2 you then have two files selected. Just as if the Ctrl key had been held down.

I hope that makes it clearer. It doesn't have anything to do with the sequence I was using. It appears to be caused by writing files into the folder in a tab that is not selected, but which had a file selected before switching away from the tab.

Posted: 05 Mar 2006 09:37
by admin
Ok, that helped. It was indeed a bug. Here is my analysis:

Code: Select all

    ! Sticky file selection: when re-opening a tab with exactly one 
      selected-but-not-focused file this selection got "sticky", i.e. you 
      could select a second file by a simple mousedown without holding 
      Ctrl. Fixed.
So, your way to produce it was just one of many imaginable ways. A nice example for the difficulty in the analysis of causal relations from phenomenal observation (without access to the source code).

Posted: 07 Mar 2006 23:42
by Gandolf
admin wrote:

Code: Select all

    ! Sticky file selection: when re-opening a tab with exactly one 
      selected-but-not-focused file this selection got "sticky", i.e. you 
      could select a second file by a simple mousedown without holding 
      Ctrl. Fixed.
I didn't think of checking something so basic since I assumed that would have shown up before. Now all is fine with my "complex" setup.