https://bugs.kde.org/show_bug.cgi?id=517340

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/-/commi
                   |                            |t/84ea18a026181045b6a64def2
                   |                            |7f7c822c631baf8
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from David Edmundson <[email protected]> ---
Git commit 84ea18a026181045b6a64def27f7c822c631baf8 by David Edmundson, on
behalf of Ann Key.
Committed on 10/03/2026 at 13:20.
Pushed by davidedmundson into branch 'master'.

Simon Stålenhag POTD: Mix key.size() in seed for independent random album/image
indices

The current code uses _the same_ random seed both for album and image indices
each day, producing dependent album/image indices and only showing 45 out of
321 images, with highly skewed probability. Mixing key.size() (28 vs 17 for
album vs image) into the seed fixes the issue, producing uniform distribution

M  +1    -1    wallpapers/potd/plugins/providers/simonstalenhagprovider.cpp

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/84ea18a026181045b6a64def27f7c822c631baf8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to