After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 530561 - "Random" preview is always the last saver
"Random" preview is always the last saver
Status: RESOLVED FIXED
Product: gnome-screensaver
Classification: Deprecated
Component: dialog
2.22.x
Other All
: Normal minor
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-29 14:33 UTC by Bruce Cowan
Modified: 2008-12-03 02:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Patch for this bug (1.15 KB, patch)
2008-11-15 20:55 UTC, Maxim Ermilov
none Details | Review

Description Bruce Cowan 2008-04-29 14:33:27 UTC
Please describe the problem:
Choosing the "random" option causes the preview to always be the last screensaver available. The actual screensaver itself works as expected though.

Steps to reproduce:
1. Choose "random" mode

Actual results:
The preview always shows the last screensaver present

Expected results:
It should be a random one from the list

Does this happen every time?


Other information:
Comment 1 William Jon McCann 2008-11-13 18:02:21 UTC
Anyone have a patch for this?
Comment 2 Maxim Ermilov 2008-11-15 20:55:02 UTC
Created attachment 122752 [details] [review]
Patch for this bug
Comment 3 William Jon McCann 2008-12-03 02:46:59 UTC
Committed to trunk with a change to use g_random.  Thanks!