From 3f38409165b150b3767994663d6c2f0d239a3692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 1 Aug 2026 14:46:23 -0700 Subject: [PATCH] Revert "PopoverWidget: notify when onboard activated in Wayland (#120)" This reverts commit 61cc3b67c2408e9904c19e97718d006339b90c03. --- src/PopoverWidget.vala | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/PopoverWidget.vala b/src/PopoverWidget.vala index b1c82f4..f85d2ab 100644 --- a/src/PopoverWidget.vala +++ b/src/PopoverWidget.vala @@ -115,6 +115,7 @@ public class QuickSettings.PopoverWidget : Gtk.Box { }); var applications_settings = new Settings ("org.gnome.desktop.a11y.applications"); + applications_settings.bind ("screen-keyboard-enabled", onscreen_keyboard, "active", DEFAULT); applications_settings.bind ("screen-reader-enabled", screen_reader, "active", DEFAULT); var glib_settings = new Settings ("io.elementary.desktop.quick-settings"); @@ -143,29 +144,6 @@ public class QuickSettings.PopoverWidget : Gtk.Box { current_user_button.clicked.connect (() => { stack.visible_child = accounts_view; }); - - if (!(Gdk.Display.get_default () is Gdk.Wayland.Display)) { - applications_settings.bind ("screen-keyboard-enabled", onscreen_keyboard, "active", DEFAULT); - } else { - onscreen_keyboard.notify["active"].connect (() => { - if (!onscreen_keyboard.active) { - return; - } - - onscreen_keyboard.active = false; - - var message_dialog = new Granite.MessageDialog ( - _("On Screen keyboard is unavailable in the Secure session"), - _("Log out and select “Classic session” to use the On Screen Keyboard."), - new ThemedIcon ("onboard") - ) { - badge_icon = new ThemedIcon ("system-log-out"), - transient_for = (Gtk.Window) get_root () - }; - message_dialog.response.connect (message_dialog.destroy); - message_dialog.present (); - }); - } } private async SensorProxy? setup_sensor_proxy () {