Find, hide and position

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
User avatar
mdruiter
Posts: 260
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Find, hide and position

Post by mdruiter »

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!?
Groente, Michel.

k0nelupy

Post by k0nelupy »


User avatar
zarevak
Plugin Developer
Plugin Developer
Posts: 789
Joined: 04 Feb 2006, 16:49
Location: Prague, Czech Republic

Post by zarevak »

As far as I know this problem hasn't been reported before on this forum.

By the way: this is how problem reports should look like ;) Nice and easy list of steps to reproduce the problem. Good work!

User avatar
mdruiter
Posts: 260
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Post by mdruiter »

I'm a developer myself...
But I'm curious whether anyone can confirm the problem.
Groente, Michel.

User avatar
mdruiter
Posts: 260
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Find, hide and position

Post by mdruiter »

I still have the issue, using version 2.52 :(
Groente, Michel.

User avatar
mdruiter
Posts: 260
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Find, hide and position

Post by mdruiter »

Also in 2.53 PB38. :|
Is it hard to fix?

User avatar
Ether
Posts: 1461
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Re:

Post by Ether »

mdruiter wrote:But I'm curious whether anyone can confirm the problem.
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.
Ελληνικά rulez.

Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5197
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Find, hide and position

Post by Jan Rysavy »

Fixed, will be available in next release of AS.

User avatar
mdruiter
Posts: 260
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Find, hide and position

Post by mdruiter »

Confirmed, hurray! :D

User avatar
mdruiter
Posts: 260
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Find, hide and position

Post by mdruiter »

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.

Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5197
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Find, hide and position

Post by Jan Rysavy »

Confirmed. Unfortunately I didn't find how to solve this problem. Looks like common controls / listview bug to me.

Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5197
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Find, hide and position

Post by Jan Rysavy »

Fixed with small hack!

Code: Select all

ListView_SetItemCount(FoundFilesListView->HWindow, 0); // hack
ListView_SetItemCount(FoundFilesListView->HWindow, totalCount - deletedCount);

User avatar
mdruiter
Posts: 260
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Re: Find, hide and position

Post by mdruiter »

Great, works as it should now!

Post Reply