Change value for: "regard the computer as idle after" by TYPING the value
Press close
Open the preferences screen again.
Shows the old value
Manually typing only seems to work when entering a number lager than 1440 (changing it automatically to this number)
The same behavior for the number picker on the "lock screen" tab.
Designs
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
It just changes the GTK signal to connect to from "changed" to "value-changed" for the three Gtk Spin Buttons in this app. Just changes 3 lines in src/xfce4-screensaver-preferences.c from commit as of Fri May 27 00:50:49 2022
I first observed/confirmed the error in a build of the master branch from "git clone https://gitlab.xfce.org/apps/xfce4-screensaver.git" then added these edits and see it how saves this "state" when rerunning it many ways (like above and more); with -/+ button and with the text input box in all 3 Spin Buttons. It's very unclear (to me) why this works from the GTK3 documentation. I just used trial and error to find that this seems to work better. I do not understand why they have a "changed" signal that does not catch all the changes, but maybe a subset of the "value-changed" functionality is need for some reason. Or maybe there are signal aliases that I do not know about.
I request someone confirm this works, makes sense, and then commit these changes. I should not have access to change the code repo.
One might consider looking at all GtkSpinButton callbacks in all of XFCE programs. One might consider this a general work around to a GTK3 "bug". It appears that the "changed" signal does not call the callbacks for a text edited value when the text box loses focus after an edit, but the "value-changed" signal does.
In src/xfce4-screensaver-preferences.c the signal for callback function cycle_delay_value_changed_cb may need its signal changed too, but I don't see that widget when I run the program.
Same thing happening in Screensaver options
-> "Lock Screen" -> "Lock screen with screensaver" -> "Lock the screen after the screensaver is active for:"
I have to manually click the "plus" or "minus" buttons, as is doesn't save the option when entering a number.