Bug in background color change

Description: Changing background color mode to single color still keeps gradient active

Expected behavior (as described in Changing the background color)

  1. Go to preferences > colors > background colors
  2. For write mode, select “single color”. Only “stop 1” becomes editable
  3. Change color of “stop 1” to white
  4. Click “apply”
  5. Background color changed to full white

Actual behavior:

  1. Go to preferences > colors > background colors
  2. For write mode, select “single color”. Only “stop 1” becomes editable
  3. Change color of “stop 1” to white
    3.1. Gradient changes to white to whatever color “stop 2” is
  4. Click “apply”
  5. Background color changes to gradient from stop 1 to stop 2.

Workaround:
After step 3 (change of color), click “Single color” again, the preview changes to single color from “stop 1”

I can confirm that the opposite issue is also true: Choosing a gradient ends up with a solid background of whatever the first color of the gradient is. Selecting single color and then switching back to gradient will display the gradient correctly.