Find, hide and position
Find, hide and position
The cursor position in Find is strange after hiding files.
I try:
- search for (find) a long list of files and folders
- go to position 20 or so
- select that file and up (Shift-Ctrl-Home)
- hide (Ctrl-H); the first file (of folder) is selected afterwards (position 1)
- press Shift-Down (or Shift-PgDn)
The selection seems to start at position 20 now, which is strange. If I press Down, Up first and then start using Shift, everything works like expected.
If after hiding less than 20 files and folders exist, the selection starts at position 2 after Shift-Down.
This has been true for quite some versions of Salamander.
I tried to look for similar postings, but searching for Find returned nothing at all!?
I try:
- search for (find) a long list of files and folders
- go to position 20 or so
- select that file and up (Shift-Ctrl-Home)
- hide (Ctrl-H); the first file (of folder) is selected afterwards (position 1)
- press Shift-Down (or Shift-PgDn)
The selection seems to start at position 20 now, which is strange. If I press Down, Up first and then start using Shift, everything works like expected.
If after hiding less than 20 files and folders exist, the selection starts at position 2 after Shift-Down.
This has been true for quite some versions of Salamander.
I tried to look for similar postings, but searching for Find returned nothing at all!?
Groente, Michel.
Re: Find, hide and position
Also in 2.53 PB38.
Is it hard to fix?
Is it hard to fix?
Re:
I can confirm. I think the fix is a simple matter of moving the "selection start position" to the resulting (first in this case) position in the list as well, similarly to the focus.mdruiter wrote:But I'm curious whether anyone can confirm the problem.
Ελληνικά rulez.
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Find, hide and position
Fixed, will be available in next release of AS.
Re: Find, hide and position
Confirmed, hurray!
Re: Find, hide and position
I'm sorry to say that not all situations are fixed. The exact situation I described in the starting post is not fixed.
I tried the 2.53 release.
I tried the 2.53 release.
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Find, hide and position
Confirmed. Unfortunately I didn't find how to solve this problem. Looks like common controls / listview bug to me.
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Find, hide and position
Fixed with small hack!
Code: Select all
ListView_SetItemCount(FoundFilesListView->HWindow, 0); // hack
ListView_SetItemCount(FoundFilesListView->HWindow, totalCount - deletedCount);
Re: Find, hide and position
Great, works as it should now!