The Bug:
The screen flashes when changing graphics, smooth lighting, render distance, and biome blend settings.
This is a problem because the rapid flashing may disorient those who suffer from photosensitive epilepsy. Aditionally, this problem became first visible in 24w09a due to the game's UI now being transparent instead of the old dirt background.
Steps to Reproduce:
Navigate to your video settings and changing the graphics, smooth lighting, render distance, or biome blend settings.
Watch your screen closely at the settings are changed.
Observed Behavior:
The screen flashes.
Expected Behavior:
The screen would not flash.
When dragging the sliders, the new values would be applied instantly, leading to the graphics settings being applied multiple times in rapid succession. This was causing a repetitive flashing behavior that could trigger photosensitive epilepsy for some players.
We have now changed the behavior so that the graphics settings are updated after a 600 millisecond delay when dragging the slider to a new value, which effectively eliminates any repeat flashes while dragging the slider. The single flash is still present when the graphics settings are updated, but players should no longer experience the repeating flashes that was present before this change.
To avoid seeing the graphics settings being updated in real-time, players can activate the Programmer Art data pack under Settings.