Prev / Next while using a slideshow with random selection

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
DocFX
Posts: 2
Joined: Tue Sep 24, 2024 2:34 pm

Prev / Next while using a slideshow with random selection

Post by DocFX »

Reproduce:
- Windows 11
- 1.8.0 x64
- NTFS HDD partition
- Have multiple directories merged into a slideshow
- Order the slideshow by any criteria (like "Modified Date")
- Slideshow options:

Code: Select all

# Slide Show Sequence v2
UseTimer = 1
Timer = 1.25
Loop = 1
FullScreen = 1
WinWidth = 640
WinHeight = 481
Stretch = 1
RandomOrder = 1
ShowInfo = 0
Info = {Filename}
TitleBar = 0
OnTop = 1
CursorAutoHide = 1
BackgroundColor = 0 0 0 255
TextColor = 255 255 255 255
UseTextBackColor = 0
TextPosition = 0
TextBackColor = 128 128 128 255
Opacity = 100
Font = MS Shell Dlg 2,8,-1,5,50,0,0,0,0,0
EffectDuration = 250
About 3000 files.

While using the slideshow:
- Space (pause) >> pauses. OK.
- Previous key tap ONCE AT A TIME (set to "Previous file") >> shows previous file (ordered by modified date). OK.
- Next key tap ONCE AT A TIME >> same, the other way. OK.
- KEEP previous key PRESSED >> picks a random element from the slideshow, instead of chaining previous/next file. :(
- KEEP next key PRESSED >> same bug, the other way around. :(

Expected behaviour: keep using userland preferences, at least the same behaviour from the same action/key.
Last edited by DocFX on Sat Nov 02, 2024 6:50 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Prev / Next while using a slideshow with random selection

Post by xnview »

DocFX wrote: Tue Sep 24, 2024 2:49 pm - Previous key tap ONCE AT A TIME (set to "Previous file") >> shows previous file (ordered by modified date). OK.
- Next key tap ONCE AT A TIME >> same, the other way. OK.
it show previous/next file not ordered by date but random
Pierre.
DocFX
Posts: 2
Joined: Tue Sep 24, 2024 2:34 pm

Re: Prev / Next while using a slideshow with random selection

Post by DocFX »

xnview wrote: Wed Oct 09, 2024 6:39 am
DocFX wrote: Tue Sep 24, 2024 2:49 pm - Previous key tap ONCE AT A TIME (set to "Previous file") >> shows previous file (ordered by modified date). OK.
- Next key tap ONCE AT A TIME >> same, the other way. OK.
it show previous/next file not ordered by date but random
Nope. If you ordered the slideshow items (as mentioned above), it follows the slideshow order (the files are actually written in correct order in the .sld file.

Even without ordering them, it's at least following the natural order of added reads from Windows filesystem. And it still follow that exact order. Looping from the end when reaching start and vice-versa.

Regardless: the behaviour is different between single key presses and keydown maintained. That was the purpose of the topic.
Post Reply