Bug 166378 - background slideshow random multimonitor
Summary: background slideshow random multimonitor
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: containment-desktop (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 17:10 UTC by Bartemius Crouch
Modified: 2008-08-12 17:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartemius Crouch 2008-07-12 17:10:08 UTC
Version:            (using KDE 4.0.83)
Installed from:    SuSE RPMs

Given 2 Monitors each showing a slideshow as a background images come in random order on both monitors. Unfortunately both monitors will always display the same image if the same source is given for the slideshow on both monitors. it seems that the random seed is the same for both backgrounds.

Workaround: You can get different images on both monitors by simply adding the image source twice on one of them.
Comment 1 Alex Merry 2008-08-12 17:51:03 UTC
I think what's happening is that one desktop sets the random seed, based on the number of seconds since midnight, and generates the sequence.  Then the other desktop, before the number of seconds has changed, resets the random seed and so generates exactly the same sequence.

I'm going to commit something that I think will fix it and close the bug.  If you still get it with 4.1.1, please re-open.
Comment 2 Alex Merry 2008-08-12 17:51:36 UTC
SVN commit 845904 by alexmerry:

Be a bit more random, so that we don't generate the same sequence on different desktops on fast computers.

BUG: 166378



 M  +1 -1      desktop.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=845904
Comment 3 Alex Merry 2008-08-12 17:52:10 UTC
SVN commit 845905 by alexmerry:

Backport fix: be a bit more random, so that we don't generate the same sequence on different desktops on fast computers.

CCBUG: 166378



 M  +1 -1      desktop.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=845905