GNOME Bugzilla – Bug 758509
Allow fractional page duration
Last modified: 2018-05-22 16:25:23 UTC
Created attachment 316061 [details] [review]
Increase page duration resolution
In presentation mode, if a page duration is specified, then the viewer should advance to the next page. The current time resolution is multiples of 1 second, which is too coarse for animations where each page lasts for a fraction of a second. The attached patch changes the time resolution to multiples of 1 millisecond.
Review of attachment 316061 [details] [review]:
@@ +246,3 @@
+ g_timeout_add (duration,
+ (GSourceFunc) transition_next_page,
Thanks for the patch, you are right this is not correct, since duration is a double, but it's also in seconds while g_timout_add expect milliseconds, so you need to pass duration * 1000
-- GitLab Migration Automatic Message --
This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/637.