Bug#1031076: Doesn't go to DPMS sleep anymore and settings always disabled

2023-02-11 Thread Tormod Volden
On Sat, Feb 11, 2023 at 7:50 PM Jamie Zawinski wrote: > > Maybe this fixes it? Yes, many thanks, that seems to fix it. Tormod > > --- a/driver/demo-Gtk.c > +++ b/driver/demo-Gtk.c > @@ -1677,6 +1677,7 @@ switch_page_cb (GtkNotebook *notebook, GtkWidget *page, >state *s = >state; > >if

Bug#1031076: Doesn't go to DPMS sleep anymore and settings always disabled

2023-02-11 Thread Jamie Zawinski
Maybe this fixes it? --- a/driver/demo-Gtk.c +++ b/driver/demo-Gtk.c @@ -1677,6 +1677,7 @@ switch_page_cb (GtkNotebook *notebook, GtkWidget *page, state *s = >state; if (s->debug_p) fprintf (stderr, "%s: tab changed\n", blurb()); + populate_prefs_page (s); pref_changed_cb (GTK_WIDGET

Bug#1031076: Doesn't go to DPMS sleep anymore and settings always disabled

2023-02-11 Thread Tormod Volden
This line changes p2->dpms_enabled_p to zero when the Advanced windows is opened the first time: CHECKBOX (p2->dpms_enabled_p, dpms_button); (line 1324 in driver/demo-Gtk.c, in flush_dialog_changes_and_save)

Bug#1031076: Doesn't go to DPMS sleep anymore and settings always disabled

2023-02-11 Thread Tormod Volden
With debug logging below. At 14:49:27 I click to select the Advanced Tab, without changing anything. However the logs says "dpms_enabled_p: 1 => 0". In any case, as I understand it, DPMS will stay enabled as long as you don't go looking at the Advanced tab. Tormod $ grep ^dpms ~/.xscreensaver

Bug#1031076: Doesn't go to DPMS sleep anymore and settings always disabled

2023-02-11 Thread Tormod Volden
On Sat, Feb 11, 2023 at 9:09 AM Klaus Ethgen wrote: > With this version, DPMS is not working anymore. The screen always is on > and does not go to sleep anymore. Hi, thanks for your report. Which version did you use before? It looks like I can reproduce this. I enable settings in the GUI and:

Bug#1031076: Doesn't go to DPMS sleep anymore and settings always disabled

2023-02-11 Thread Klaus Ethgen
Package: xscreensaver Version: 6.06+dfsg1-2 Severity: normal With this version, DPMS is not working anymore. The screen always is on and does not go to sleep anymore. When I use the settings dialog, the setting is disabled. Enabling it and restart settings and it is disabled again. As it is