Barnabás Pőcze be944ff2dc status/backlight: Fix keyboard backlight infinite loop
The logic could enter an infinite loop because it tried to
propagate local changes to g-s-d that were caused by signals sent
by g-s-d. For example:

  1. slider is set to 50
  2. Set(50) dbus call is sent
  3. slider is set to 51
  4. Set(51) dbus call is sent
  5. PropertiesChanged arrives due to Set(50)
  6. this._sliderItem.value is set to 50
  7. notify::value is emitted from this._sliderItem
  8. Set(50) dbus call is sent
  9. PropertiesChanged arrives due to Set(51)
 10. this._sliderItem.value is set to 51
 11. notify::value is emitted from this._sliderItem
 12. Set(51) dbus call is sent

To alleviate this issue, block signal handlers when the local state is
changed due to a remote event.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7111

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3086>
2024-01-16 23:30:42 +00:00
..
2023-11-10 20:19:13 +00:00
2023-11-21 18:55:47 +00:00
2023-08-06 13:02:49 +02:00
2023-11-10 20:19:13 +00:00
2023-08-31 03:44:32 +00:00
2023-08-06 13:02:49 +02:00
2024-01-04 18:59:33 +00:00
2023-11-10 20:19:13 +00:00
2023-11-10 20:19:13 +00:00
2023-08-09 15:10:38 +00:00
2023-11-10 20:19:13 +00:00
2023-11-10 20:19:13 +00:00
2023-08-10 17:42:23 +00:00
2023-11-19 02:20:01 +00:00
2023-11-21 18:55:47 +00:00
2023-08-31 03:44:32 +00:00
2023-12-16 23:57:48 +01:00