A setting gets reset unexpectedly.

Issue Description

In xfce4-notifyd → General, in the "Show notifications at" section, the default mode is to show notifications on the display with mouse pointer.

I configure the application to only show notifications on my primary display. Good. It works. Now I can close the app.

Now, if I ever go back to xfce4-notifyd, this mode unexpectedly resets back to mode "show notifications on the display with mouse pointer" which is confusing and initially almost made me write a wrongful bug report as if my chosen mode doesn't work at all.

Steps to Reproduce Issue

  1. Open xfce4-notifyd.
  2. In 'General', change the mode of "Show notifications at" to "primary display".
  3. Go back or exit the app.
  4. Open xfce4-notifyd, see a mode you never chose, go to step 2.

Expected Behavior

If I have ever chosen a mode different from the default one, it must not reset to the default one whenever I enter xfce4-notifyd.

Additional Information

Notably, it doesn't just reset the mode visually, it actually brings the default mode into action without letting user know.

Versions

  • OS distribution and version: 6.17.0-14-generic
  • Overall Xfce version: Linux Mint 22.3 - Xfce 64-bit
  • xfce4-notifyd version (git hash if not a release): 0.9.4-1
  • Windowing system (X11/Wayland): X11
  • Compositor and version (if Wayland): N/A