0.84: Slide show: Same image shown multiple times

Moderators: cday, XnTriq, helmut, xnview, Dreamer

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

0.84: Slide show: Same image shown multiple times

Postby 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: 1367
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.72: Random slideshow gets stuck

Postby 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.86 64bit & XnView 2.00 x64 on Win7 x64 -

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

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

Postby 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: 27578
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Postby 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: 27578
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Postby 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.


Return to “0.87 Testing – Retest (Fixed in Beta 1)”

Who is online

Users browsing this forum: No registered users and 0 guests