Enabling a custom saved theme causes an infinite duplication loop

(#2542) Bug Fixed desktop theming

Observed behaviour

Gets stuck in a loop of duplicating the theme css

Reproduction steps

  1. Open the quickcss editor and type in anything, for example :root { --test: "hello"; }
  2. Click Save and then "Save to Library"
  3. Reload Fluxer
  4. Go into Settings > Look & feel > Customize theme
  5. Enable the "Custom CSS" theme in the "Themes" box
  6. Keep opening and closing the quickcss editor and notice each time there are more entries
Note: "Sync theme across devices" in Settings > Look & feel (not in the quickcss editor) must be enabled. If enabled after the fact, you will need to re-toggle the theme again for it to start duplicating

Build information

canary build 649 (f01b7c0), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.131, locale en-GB

Platform

Windows

Details

Expected behaviour It saves and enables the theme like normal
  • Fluxer_Canary_qLQIikfKPb.png

    Fluxer_Canary_qLQIikfKPb.png

    252×114 | 4 kB

  1. Rex changed the status from Needs triage to Fixed

2 comments

Sign in with Fluxer to comment and vote.
Comment by mesub
mesubMod 1 vote
Can't reproduce CNR: canary build 652 (6349a05), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.131, locale en-GB
Comment by Hampus
HampusStaff 1 vote
Can reproduce it was an issue at the time, but should be fixed now, asking for retesting