gnome-control-center/panels
Matthijs Velsink 42b05525b4 display: Fix crash due to shortcut propagation phase
For a managed GtkShortcutController, changing its propagation phase
away from `GTK_PHASE_BUBBLE` currently results in a lingering reference
due to a bug in GTK (gtk#6246). This means the Escape key shortcut
remains active even after leaving the Display panel, resulting in a
crash when pressing Escape in any panel after leaving the Display panel.

This is now fixed in GTK (gtk!7115), but there seems to be no reason for
changing the propagation phase at all anyways. Since the callback
returns `GDK_EVENT_PROPAGATE` when it does not activate, the event
should still make it to other handlers.

So, to speed up the fix for gnome-control-center, we remove the
propagation phase changes althogether. There is also no need to let the
shortcut have global scope, managed is enough.

Closes #2768

(cherry picked from commit e7e9753aac)
(cherry picked from commit 9eb2576f89)
2024-04-19 11:32:18 +02:00
..
applications apps: Fix status page glitch on initialization 2023-11-24 10:40:11 +00:00
background background: Improve chooser performance 2023-11-28 14:47:16 +01:00
bluetooth bluetooth: Remove a leftover debug message 2023-08-29 18:09:30 +02:00
color color: Make it fit on narrow widths 2023-08-25 08:00:43 +00:00
common common: Check for valid GDateTime object before comparing 2024-04-19 11:29:51 +02:00
datetime datetime: Avoid emitted signals for manual changes 2024-04-16 14:51:43 +00:00
default-apps default-apps: Workaround AdwComboRow item selection at startup 2023-10-27 17:06:33 +02:00
display display: Fix crash due to shortcut propagation phase 2024-04-19 11:32:18 +02:00
info-overview info-overview: Don't set key binding twice 2023-10-09 12:20:52 +02:00
keyboard keyboard-shortcut-dialog: Allow escape to close 2023-10-23 10:49:22 +02:00
mouse mouse: Prevent arrows in Test window from interfering with mouse events 2023-11-28 10:31:44 +01:00
multitasking Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
network wifi: Fix invalid pointer type with cast 2024-02-06 06:58:31 +00:00
notifications Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
online-accounts online-accounts: Add line-breaks to log messages 2023-09-12 11:01:38 +00:00
power Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
printers printers: Make adaptive 2023-08-25 08:00:43 +00:00
privacy privacy: Remove rows that had their perms reset 2024-04-19 11:31:59 +02:00
region system/region: Prevent preview crash from accessing invalid pointer 2024-01-04 11:24:29 +08:00
removable-media removable-media: Ellipsize app chooser buttons 2023-08-25 08:00:43 +00:00
search search: Fix crash when selecting fodler with a File dialog 2023-09-15 08:55:58 +00:00
sharing Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
sound sound: When setting mixer control for a stream row, update muted state as well 2023-11-27 12:52:26 +01:00
universal-access universal-access: Add a few activatable widgets in the typing page 2024-04-19 11:32:05 +02:00
user-accounts user-accounts: Sync lock tooltip for the Avatar 2023-11-10 12:10:30 +01:00
wacom data: mark translatable strings yes 2023-09-18 00:31:24 +03:00
wwan Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
meson.build panels: Add empty Privacy panel with navigation 2023-08-03 08:42:10 +00:00
panel-app-icons.svg usage: minor icon tweak 2022-03-01 12:14:52 +01:00