Lister: next / previous on all files if no selection

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
toshniba
Junior Member
Junior Member
Posts: 2
Joined: 2009-05-26, 11:27 UTC

Lister: next / previous on all files if no selection

Post by *toshniba »

if no files selected and one file is viewed in lister you should be able to navigate thru all files (as you have selected all before). atm there is no navigation on pressing n or p
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2toshniba
I am sorry I do not understand this request.

If you select nothing, there will be nothing to choose from (for next/previous). It seems logical for me. When I want to viiew all files I just use Ctrl+A (to select them) before F3.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
toshniba
Junior Member
Junior Member
Posts: 2
Joined: 2009-05-26, 11:27 UTC

Post by *toshniba »

that is what i mean. i use this very often and it would be very nice if i could avoid ctrl+a in future. i mean this is worth the 3 additional lines of code :)
ouzoWTF
Junior Member
Junior Member
Posts: 93
Joined: 2009-04-20, 21:03 UTC

Post by *ouzoWTF »

It's not logical for me to load all files, if no files are selected.
Single User Licence #201763
User avatar
Lev
Junior Member
Junior Member
Posts: 82
Joined: 2004-12-14, 13:08 UTC

Post by *Lev »

I often view file in the Lister while editing it in the same time in some editor. I use N or P to refresh the viewed file after saving it. I don't want to see another non-selected file. Possibly some "Refresh" button can make me remind.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

As ouzoWTF said: it is not logical, so I am againt such move.

2Lev
Hitting F2 in Lister calls "Reload file" function which, I suppose, works as you'd like to.
Last edited by fenix_productions on 2009-05-26, 15:37 UTC, edited 1 time in total.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Re: Lister: next / previous on all files if no selection

Post by *Postkutscher »

toshniba wrote:if no files selected and one file is viewed in lister you should be able to navigate thru all files (as you have selected all before). atm there is no navigation on pressing n or p
Absolutely not needed. I`m against.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

You mean that I everytime I hit N or P with no selection I've been illogical? Hehe... It's the way most image viewers work anyway.

Besides, it would not take away something from TC. You shouldn't press N if you didn't select something, right? If you press N than it's a hidden desire for this illogical feature ;)

Just a comment about the illogical comments about logic in here, I couldn't care less if it's one way or the other...
TC for Linux please!
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2roentgen
Looks like I wrote my opinion using bad words.

I know that many image viewers work this way but their behaviour is a little bit different from Lister. Most of viewers I had worked with had no possibility to cycle between selected group of files only (but were giving folders browsing instead). Lister has opposite approach IMHO. You have N/P if it's called for many files. Current solution seems to be somehow more logical for me: you can see only selected / focused files and nothing more, although you still have the possibility to see all of them if you want to.

It might be OK as optional feature but I'd rather like to see Christian spending some time to implement N/P for cm_ListInternalOnly first.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

toshniba wrote:that is what i mean. i use this very often and it would be very nice if i could avoid ctrl+a in future. i mean this is worth the 3 additional lines of code :)
I think it will be more than 3 lines of code...
And just press Num* instead of Ctrl+A - it is easier. :)
User avatar
Lev
Junior Member
Junior Member
Posts: 82
Joined: 2004-12-14, 13:08 UTC

Post by *Lev »

2Lev
Hitting F2 in Lister calls "Reload file" function which, I suppose, works as you'd like to.
Thanks. Never knew about this shortcut, and as I see most of lister plugins authors never knew it too, so F2 is not passed by most of plugins to TC and the refreshment does not happen.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

For pictures: SGViewer plugin supports the requested feature using cursor keys left/right (when the picture is shown full-screen, so there is nothing to scroll).

Very nice, if you get used to it: n/p moves between selected files (TC's function), left/right moves to the next file in alphabetical order (SGViewer's function; no matter what is selected or how it's sorted).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

1. Open quick view panel (Ctrl+Q);
2. Switch to it (Tab);
3. Press "p" or "n" keys. The cursor (though invisible) navigates to the previous/next file respectively. Moreover, when you press Tab again, you see the cursor exactly on a file currently viewed.
Single user license #329241
PowerPro scripts for Total Commander
Post Reply