Fix: keyboard not popping up on mouse click after wayland fix

This commit is contained in:
Alfredo Monclus committed 2025-06-05 20:08:38 -06:00
1 parent e2dca7dc2b
commit 3b96f69701
6 files changed
+8

No files matched your search

+1
View File
@@ -44,6 +44,7 @@ class LockScreen:
entry.set_input_purpose(Gtk.InputPurpose.PASSWORD)
entry.set_visibility(False)
entry.connect("touch-event", self.screen.show_keyboard, box, self.relock)
entry.connect("button-press-event", self.screen.show_keyboard, box, self.relock)
entry.connect("activate", self.unlock_attempt, entry)
entry.get_style_context().add_class("lockscreen_entry")
entry.set_icon_from_icon_name(Gtk.EntryIconPosition.SECONDARY, "view-reveal-symbolic")
+1
View File
@@ -211,6 +211,7 @@ class Panel(ScreenPanel):
self.labels['profile_name'] = Gtk.Entry(hexpand=True, text='')
self.labels['profile_name'].connect("activate", self.create_profile)
self.labels['profile_name'].connect("touch-event", self._screen.show_keyboard)
self.labels['profile_name'].connect("button-press-event", self._screen.show_keyboard)
save = self._gtk.Button("complete", _("Save"), "color3")
save.set_hexpand(False)
+2
View File
@@ -43,6 +43,7 @@ class Panel(ScreenPanel):
tv = Gtk.TextView(buffer=tb, editable=False, cursor_visible=False)
tv.connect("size-allocate", self._autoscroll)
tv.connect("touch-event", self._screen.remove_keyboard)
tv.connect("button-press-event", self._screen.remove_keyboard)
sw.add(tv)
@@ -51,6 +52,7 @@ class Panel(ScreenPanel):
entry = Gtk.Entry(hexpand=True, vexpand=False)
entry.connect("button-press-event", self._screen.show_keyboard)
entry.connect("touch-event", self._screen.show_keyboard)
entry.connect("button-press-event", self._screen.show_keyboard)
entry.connect("activate", self._send_command)
entry.grab_focus_without_selecting()
+1
View File
@@ -111,6 +111,7 @@ class Panel(ScreenPanel):
for param in self.macros[macro]["params"]:
labels.add(Gtk.Label(param))
self.macros[macro]["params"][param].connect("touch-event", self.show_keyboard)
self.macros[macro]["params"][param].connect("button-press-event", self.show_keyboard)
self.macros[macro]["params"][param].connect("focus-out-event", self._screen.remove_keyboard)
labels.add(self.macros[macro]["params"][param])
+1
View File
@@ -526,6 +526,7 @@ class Panel(ScreenPanel):
self.labels['new_name'] = Gtk.Entry(text=fullpath, hexpand=True)
self.labels['new_name'].connect("activate", self.rename)
self.labels['new_name'].connect("touch-event", self._screen.show_keyboard)
self.labels['new_name'].connect("button-press-event", self._screen.show_keyboard)
save = self._gtk.Button("complete", _("Save"), "color3")
save.set_hexpand(False)
+2
View File
@@ -307,10 +307,12 @@ class Panel(ScreenPanel):
self.labels['network_identity'] = Gtk.Entry(hexpand=True, no_show_all=True)
self.labels['network_identity'].connect("touch-event", self._screen.show_keyboard)
self.labels['network_identity'].connect("button-press-event", self._screen.show_keyboard)
self.labels['network_psk'] = Gtk.Entry(hexpand=True)
self.labels['network_psk'].connect("activate", self.add_new_network, ssid)
self.labels['network_psk'].connect("touch-event", self._screen.show_keyboard)
self.labels['network_psk'].connect("button-press-event", self._screen.show_keyboard)
save = self._gtk.Button("sd", _("Save"), "color3")
save.set_hexpand(False)