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: 258
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Find, hide and position

Post by mdruiter » 23 Feb 2009, 13:48

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 » 23 Feb 2009, 14:59


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

Post by zarevak » 23 Feb 2009, 15:08

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: 258
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Post by mdruiter » 23 Feb 2009, 16:38

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

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

Re: Find, hide and position

Post by mdruiter » 14 Sep 2009, 13:21

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

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

Re: Find, hide and position

Post by mdruiter » 08 Dec 2009, 23:17

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

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

Re:

Post by Ether » 08 Dec 2009, 23:28

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: 5134
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Find, hide and position

Post by Jan Rysavy » 03 Jun 2010, 16:25

Fixed, will be available in next release of AS.

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

Re: Find, hide and position

Post by mdruiter » 02 Aug 2010, 23:19

Confirmed, hurray! :D

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

Re: Find, hide and position

Post by mdruiter » 30 Aug 2010, 15:30

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: 5134
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Find, hide and position

Post by Jan Rysavy » 31 Aug 2010, 15:00

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: 5134
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Find, hide and position

Post by Jan Rysavy » 31 Aug 2010, 15:04

Fixed with small hack!

Code: Select all

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

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

Re: Find, hide and position

Post by mdruiter » 03 Sep 2010, 09:59

Great, works as it should now!

Post Reply