Page 1 of 1

0.84: Slide show: Same image shown multiple times

Posted: Thu Mar 02, 2017 8:18 pm
by helmut
<Moderator's note: This topic has been split from another topic>.

For me this works fine in v0.84.

A minor issue which I'd consider a bug:
The random order sometimes selects an image several times after each other. Result is that the images do no always change because an image is shown twice or more times. (e.g. 1-2-2-4-3-3-1-...)

From my point of view, "Random order" should never repeat an image directly.

Other opinions?

Re: 0.72: Random slideshow gets stuck

Posted: Mon Mar 06, 2017 5:13 pm
by m.Th.
From my point of view, "Random order" should never repeat an image directly.
Agree. It is a glitch. The slideshow seems "stuck" in this way.


It is easy to fix. Instead of

Code: Select all

While True do
begin
  ShowImage(myImages[Random()]);
  if Esc.Pressed then Exit;
end;
have

Code: Select all

nOldCrt:=-1; //init
while true do
begin
  repeat
    nCrt:=Random();
  until nCrt<>nOldCrt;
  nOldCrt:=nCrt;
  ShowImage(myImages[nCrt]);
  if Esc.Pressed then Exit;
end;
  
Note: The actual code should be very different. This is just to show the thing.

Re: 0.84: Slide show: Same image shown multiple times

Posted: Mon Mar 06, 2017 7:01 pm
by helmut
Thank you for confirming. It's a minor issue but the little things also count.

:arrow: Reproduced

Re: 0.84: Slide show: Same image shown multiple times

Posted: Sat Jun 17, 2017 4:56 pm
by xnview
O.k., thank you, I can also reproduce the problem. Issue 1253 is fixed in next version.

Re: 0.84: Slide show: Same image shown multiple times

Posted: Sat Jul 08, 2017 12:59 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.

Re: 0.84: Slide show: Same image shown multiple times

Posted: Thu Jul 27, 2017 9:45 am
by HanVroon
Volunteered for testing with 0.87 beta 2. Seems fixed.

Test procedure and result:
Selected 5 images and put them in a new directory.
Numbered them with the Draw tool, 1 through 5.
Settings:
View, Misc. tab, Quick slide show settings: Delay 3000 ms, Direction Random.
Started the Quick slide show with image number one.
Result: 1 5 1 3 5 4 5 4 3 5 4 2 3 1 5 4 2 1 4, pressed Esc.
So, never the same image twice or more.