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 562135 - Random image order
Random image order
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: collection
2.24.x
Other All
: Normal enhancement
: ---
Assigned To: EOG Maintainers
EOG Maintainers
: 552932 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-24 15:43 UTC by jm
Modified: 2009-05-29 18:31 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch to order images in a random manner. (6.46 KB, patch)
2008-11-24 15:44 UTC, jm
none Details | Review
Python plugin to order images randomly in slideshow mode (2.29 KB, text/x-python)
2008-12-18 20:24 UTC, jm
  Details
EOG plugin specification (254 bytes, application/octet-stream)
2008-12-18 20:25 UTC, jm
  Details

Description jm 2008-11-24 15:43:53 UTC
Hi there.

I think it would be nice to have an option to display images in a random manner (especially for slideshows). I already took some time to write a patch against version 2.24.1 to achieve this. Well, it's horrible hack. Even makes the application crash sometimes. But maybe you can use it for a start.

Regards.
Comment 1 jm 2008-11-24 15:44:49 UTC
Created attachment 123323 [details] [review]
Patch to order images in a random manner.
Comment 2 Claudio Saavedra 2008-12-13 14:55:02 UTC
Would you be willing to make this a plugin for eog? I don't think we would add this kind of features to the core, but it could be a nice plugin addition. Also, I think it would be most useful only for the slideshow mode.
Comment 3 jm 2008-12-15 21:54:35 UTC
Yes I agree, it only makes sense in slideshow mode. Well, I see if I get around to write a useable plugin by time.
Comment 4 jm 2008-12-18 20:22:06 UTC
Ok, here we go. I'll attach a first version of my plugin within some moments. Currently there are two drawbacks:

- The slideshow always starts with the currently viewed image or the first image if the slideshow was started from commandline, that is not a random image. After that images are displayed in a random manner.

- When the 'loop sequence' box is checked the random image sequence stays the same for every repetition.
Comment 5 jm 2008-12-18 20:24:58 UTC
Created attachment 124954 [details]
Python plugin to order images randomly in slideshow mode
Comment 6 jm 2008-12-18 20:25:37 UTC
Created attachment 124955 [details]
EOG plugin specification
Comment 7 Felix Riemann 2009-04-12 19:45:15 UTC
Nice. Thanks. Just committed it to the eog-plugins repository (from which we hopefully manage to get a release out in the near future). I also added a "GPLv2 or later"-license header to the python file. Please contact us if you intended a different license.

2009-04-12  Felix Riemann  <>

	* configure.ac:
	* plugins/slideshowshuffle/Makefile.am:
	* plugins/slideshowshuffle/slideshowshuffle.eog-plugin.desktop.in:
	* plugins/slideshowshuffle/slideshowshuffle.py:
	Add plugin to randomize image order during slideshows.
	Fixes bug #526135 (Johannes Marbach).
Comment 8 Felix Riemann 2009-05-29 18:31:43 UTC
*** Bug 552932 has been marked as a duplicate of this bug. ***