"Next file" and "Previous file" in Lister don't work

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
Sektor
Member
Member
Posts: 129
Joined: 2007-04-04, 10:11 UTC
Location: Russia

"Next file" and "Previous file" in Lister don't work

Post by *Sektor » 2019-08-02, 16:20 UTC

Say, I have several text files in a folder. When I run Lister to watch them through and press N or P, Lister does nothing - it doesn't show me next or previous file.

User avatar
Dalai
Power Member
Power Member
Posts: 6636
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: "Next file" and "Previous file" in Lister don't work

Post by *Dalai » 2019-08-02, 16:31 UTC

Next and Previous only do something when you mark multiple files in TC before opening Lister. They don't switch to the next/previous file in the same directory (and never did). See also TC help (search the Index for Lister):
If you open the viewer with multiple files, (see Configuration - Edit / View), you can switch from one file to the next/previous using the keys n (next) and p (previous file).
(emphasis added)

Regards
Dalai
Last edited by Dalai on 2019-08-02, 16:36 UTC, edited 1 time in total.
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Sektor
Member
Member
Posts: 129
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: "Next file" and "Previous file" in Lister don't work

Post by *Sektor » 2019-08-02, 16:33 UTC

@Dalai Doesn't work either when I selected several files.
-------------------------------------------------
#299429
There is no knowledge that is not power

Sektor
Member
Member
Posts: 129
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: "Next file" and "Previous file" in Lister don't work

Post by *Sektor » 2019-08-02, 16:41 UTC

I have found out that if I scroll several lines down and press either N or P, Lister just scrolls to the top of the file.
-------------------------------------------------
#299429
There is no knowledge that is not power

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3384
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: "Next file" and "Previous file" in Lister don't work

Post by *Horst.Epp » 2019-08-02, 17:20 UTC

Sektor wrote:
2019-08-02, 16:41 UTC
I have found out that if I scroll several lines down and press either N or P, Lister just scrolls to the top of the file.
Test it with a fresh ini and you will see that N and P in internal Lister are working as described.
If you use any plugins it may depend on their behaviour.
I have CudaLister and ULister for example which also support the N and P keys to cycle thru the selected files from TC.
Windows 10 Home x64 May 2019 Update, Version 1903 (OS Build 18362.295)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.22a x64 and x86, Everything 1.4.1.949 (x64)

Sektor
Member
Member
Posts: 129
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: "Next file" and "Previous file" in Lister don't work

Post by *Sektor » 2019-08-02, 17:30 UTC

@Horst.Epp
Indeed, in clean TC installation everything is OK! In my TC I have also checked "Redefine hotkeys" - nothing is assigned to these letters. Also, I don't have any extensions. BTW, Lister goes into endless loop when moving to the next file, i.e. it doesn't stop after last after the last file - it goes again to first file (like Photo Viewer in Windows 7).
-------------------------------------------------
#299429
There is no knowledge that is not power

User avatar
Dalai
Power Member
Power Member
Posts: 6636
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: "Next file" and "Previous file" in Lister don't work

Post by *Dalai » 2019-08-02, 18:50 UTC

Sektor wrote:
2019-08-02, 17:30 UTC
Also, I don't have any extensions.
Are you sure? What does Lister say in the title bar?

Can you switch files via Lister's File menu or the << and >> items directly in Lister's menu?

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Sektor
Member
Member
Posts: 129
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: "Next file" and "Previous file" in Lister don't work

Post by *Sektor » 2019-08-02, 18:59 UTC

Dalai wrote:
2019-08-02, 18:50 UTC
Sektor wrote:
2019-08-02, 17:30 UTC
Also, I don't have any extensions.
Are you sure?
Yes, I've checked all plugins in Configuration - none was found.
What does Lister say in the title bar?
It says "Lister - [C:\Temp\docs\changes.txt]"
Can you switch files via Lister's File menu or the << and >> items directly in Lister's menu?
Commands in menu don't work either. :(
Couldn't find the location of << and >> items...
Last edited by Sektor on 2019-08-03, 07:00 UTC, edited 1 time in total.
-------------------------------------------------
#299429
There is no knowledge that is not power

User avatar
HolgerK
Power Member
Power Member
Posts: 5075
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: "Next file" and "Previous file" in Lister don't work

Post by *HolgerK » 2019-08-02, 19:36 UTC

Sektor wrote:
2019-08-02, 16:33 UTC
@Dalai Doesn't work either when I selected several files.
Configuration -> Options -> Edit/View:
"(o) Internal Viewer with selected files" ?
or do you have select "(o) Internal Viewer with file under cursor" ?

Regards
Holger
Make our planet great again

User avatar
Dalai
Power Member
Power Member
Posts: 6636
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: "Next file" and "Previous file" in Lister don't work

Post by *Dalai » 2019-08-02, 19:40 UTC

The << and >> items appear all the way to the right of Lister's menu after you select multiple files in TC and open them in Lister. If they don't appear, you didn't select multiple files.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
Usher
Senior Member
Senior Member
Posts: 413
Joined: 2011-03-11, 10:11 UTC

Re: "Next file" and "Previous file" in Lister don't work

Post by *Usher » 2019-08-02, 20:29 UTC

Or maybe selected, but didn't run, depending on F3/Shift+F3/Alt+F3 assignment in Edit/View options.
Regards from Poland
Andrzej P. Wozniak

Sektor
Member
Member
Posts: 129
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: "Next file" and "Previous file" in Lister don't work

Post by *Sektor » 2019-08-03, 07:03 UTC

@Usher, @Dalai, @HolgerK
Oh! 😐I should press Shift+F3 rather F3! Now all is OK! Thanks everyone! :)
-------------------------------------------------
#299429
There is no knowledge that is not power

Post Reply