0.84: Slide show: Same image shown multiple times

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
User avatar
helmut
Posts: 8127
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

0.84: Slide show: Same image shown multiple times

Post by helmut » Thu Mar 02, 2017 8:18 pm

<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?

User avatar
m.Th.
XnThusiast
Posts: 1461
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.72: Random slideshow gets stuck

Post by m.Th. » Mon Mar 06, 2017 5:13 pm

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.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.88 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
helmut
Posts: 8127
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post by helmut » Mon Mar 06, 2017 7:01 pm

Thank you for confirming. It's a minor issue but the little things also count.

:arrow: Reproduced

User avatar
xnview
Author of XnView
Posts: 29125
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Sat Jun 17, 2017 4:56 pm

O.k., thank you, I can also reproduce the problem. Issue 1253 is fixed in next version.
Pierre.

User avatar
xnview
Author of XnView
Posts: 29125
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Sat Jul 08, 2017 12:59 pm

This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.

HanVroon
Posts: 187
Joined: Thu Jan 28, 2010 7:30 am

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

Post by HanVroon » Thu Jul 27, 2017 9:45 am

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.

Post Reply