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 795684 - Random Seed
Random Seed
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.10.0
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2018-04-30 07:52 UTC by rich
Modified: 2018-05-05 13:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rich 2018-04-30 07:52:05 UTC
Any of the noise filters that have a "New Seed" option

Clicking on "New Seed" results in a zero value - not very random
Comment 1 Massimo 2018-05-05 12:48:39 UTC
I think this problem has been fixed in this commit:

https://git.gnome.org/browse/gimp/commit/?id=07c81abf018d68c50e4861b567328b79df1f0c9f
Comment 2 Michael Natterer 2018-05-05 13:35:19 UTC
Indeed it has...

commit 07c81abf018d68c50e4861b567328b79df1f0c9f
Author: Ell <ell_se@yahoo.com>
Date:   Fri May 4 13:34:21 2018 -0400

    app: fix propgui random seed generation
    
    After the switch of random-seed properties from INT to UINT, their
    upper bound results in a negative value when converted to a
    gint32, causing a CRITICAL in the call to g_random_int_range().
    Use g_random_double_range() instead, which has enough precision to
    accurately represent all values in the range, and round the result.