ace-dent / picotracker

Track boogs for Picotron (unofficial)
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

[BUG] Flickering SFX screen background w/ Battery Saver mode #13

Closed ace-dent closed 5 months ago

ace-dent commented 5 months ago

Describe the bug / feature Enabling the Battery Saver mode, will make the Instrument screen of the Sound Editor (sfx.p64) have a flickering background. It seems to be linked to the Oscillator, and occurs when the window loses and regains focus.

Forum reports:

Adding an FX node causes the background to darken Adding a second FX node causes the background to flicker -- The V Man

In 'Battery Saver' mode, in the instrument creator, if I add an oscillator, mod or fx to the first carrier the background will flicker rapidly. In the regular mode, it just dims the background a bit. -- phaselock.studio

When i add a modulator in the instrument editor (when i click the +mod button), the background of the editor starts flickering. This makes the instrument editor unusable for me because flickering graphics trigger my migraine and make me sick to the point of vomiting. I would love to see this fixed! :) -- Sorm

To Reproduce Steps to reproduce the behavior:

  1. Start a new SFX workspace (uses the sfx.p64 app). Select the Inst Instrument tab. By default there should be an Oscillator present. Note the background: black with a dark grey, 4x4px diagonal dashed pattern - should be displayed normally.
  2. Click on the Picotron menu (top left) and launch System Settings.
  3. On second page of settings, enable Battery Saver mode. Close the screen.
  4. When focus returns to the SFX Window, the background is now flickering. Adjusting the Oscillator seems to have some effect on the flicker.
  5. Disabling Battery Saver, restores normal display.

Expected behavior Window backgrounds don't flicker in Battery Saver mode.

Software (please complete the following information):

ace-dent commented 5 months ago

Re-tested with release v0.1.0c on macOS. Not fixed. Still flickers with Battery Saver enabled.

ace-dent commented 5 months ago

Fixed! Tested with release v0.1.0d on macOS. Can no longer reproduce the flickering. 🎉