Commit 3b4711d
committed
fix(interfaces): allow the desktop interface pinging the IBus portal
IBus sends org.freedesktop.DBus.Peer.Ping before completing a portal
connection:
g_dbus_connection_call (
bus->priv->connection,
IBUS_SERVICE_PORTAL,
IBUS_PATH_IBUS,
"org.freedesktop.DBus.Peer",
"Ping",
...
_bus_connect_start_portal_cb,
g_object_ref (bus));
The desktop interface currently denies that call, preventing the input
context from becoming ready and causing key events to queue and eventually
be dropped.
Allow Ping specifically for org.freedesktop.portal.IBus and verify the
permission in the desktop interface AppArmor test.
Assisted-by: Codex:gpt-5.6-sol context7
Signed-off-by: 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>1 parent d7c520b commit 3b4711d
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
445 | 453 | | |
446 | 454 | | |
447 | 455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
0 commit comments