Bug 166378

Summary: background slideshow random multimonitor
Product: [Plasma] plasma4 Reporter: Bartemius Crouch <egxoun8uya67izy>
Component: containment-desktopAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

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