gtklock
gtklock copied to clipboard
Input inhibiting
Input isnt inhibited and can cause you to type in a window when typing password
Any steps to replicate? Info like gtklock version, compositor?
Latest master at the time of issue, and Hyprland almost latest master
Can you try running $ gtklock -l
and check if mouse and keyboard inputs work in other windows?
When i get home in 3 hours ill do this ASAP
Thanks! If I have time tomorrow, I'll try setting up Hyprland and do my own testing...
Its a great compositor, I can recommend it full heartedly!
When doing -l
i can type in other windows
I think it might be that Hyprland doesn't support the wlr-input-inhibitor-unstable-v1
protocol
Yeah it doesn't appear to be implemented https://github.com/hyprwm/Hyprland/blob/main/src/Compositor.cpp#L184
That's strange... gtklock should fail if the compositor doesn't support input-inhibitor.
That's strange... gtklock should fail if the compositor doesn't support input-inhibitor.
Apparently it does
Can you try running $ WAYLAND_DEBUG=1 gtklock 2>&1 | grep -i inhibit -C 4
➜ ~ WAYLAND_DEBUG=1 gtklock 2>&1 | grep -i inhibit -C 4
[1036084.574] [email protected](21, "zxdg_output_manager_v1", 3)
[1036084.578] -> [email protected](21, "zxdg_output_manager_v1", 3, new id [unknown]@10)
[1036084.582] -> [email protected](new id wl_callback@11)
[1036084.585] [email protected](22, "zwlr_output_manager_v1", 3)
[1036084.588] [email protected](23, "zwlr_input_inhibit_manager_v1", 1)
[1036084.591] [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[1036084.593] -> [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1, new id [unknown]@12)
[1036084.596] [email protected](25, "zext_workspace_manager_v1", 1)
[1036084.597] [email protected](26, "zwp_pointer_constraints_v1", 1)
[1036084.599] [email protected](27, "zwp_relative_pointer_manager_v1", 1)
[1036084.601] [email protected](28, "zwp_virtual_keyboard_manager_v1", 1)
--
[1036084.605] [email protected](30, "zwlr_foreign_toplevel_manager_v1", 3)
[1036084.608] [email protected](31, "wp_drm_lease_device_v1", 1)
[1036084.611] [email protected](32, "zwp_tablet_manager_v2", 1)
[1036084.613] -> [email protected](32, "zwp_tablet_manager_v2", 1, new id [unknown]@13)
[1036084.615] [email protected](33, "zwp_idle_inhibit_manager_v1", 1)
[1036084.617] [email protected](34, "zxdg_exporter_v1", 1)
[1036084.619] -> [email protected](34, "zxdg_exporter_v1", 1, new id [unknown]@14)
[1036084.622] [email protected](35, "zxdg_importer_v1", 1)
[1036084.624] -> [email protected](35, "zxdg_importer_v1", 1, new id [unknown]@15)
--
[1036137.635] [email protected](19, "org_kde_kwin_server_decoration_manager", 1)
[1036137.638] [email protected](20, "zxdg_decoration_manager_v1", 1)
[1036137.641] [email protected](21, "zxdg_output_manager_v1", 3)
[1036137.643] [email protected](22, "zwlr_output_manager_v1", 3)
[1036137.645] [email protected](23, "zwlr_input_inhibit_manager_v1", 1)
[1036137.649] -> [email protected](23, "zwlr_input_inhibit_manager_v1", 1, new id [unknown]@31)
[1036137.654] [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[1036137.657] [email protected](25, "zext_workspace_manager_v1", 1)
[1036137.660] [email protected](26, "zwp_pointer_constraints_v1", 1)
[1036137.663] [email protected](27, "zwp_relative_pointer_manager_v1", 1)
[1036137.666] [email protected](28, "zwp_virtual_keyboard_manager_v1", 1)
[1036137.668] [email protected](29, "zwlr_virtual_pointer_manager_v1", 2)
[1036137.670] [email protected](30, "zwlr_foreign_toplevel_manager_v1", 3)
[1036137.672] [email protected](31, "wp_drm_lease_device_v1", 1)
[1036137.674] [email protected](32, "zwp_tablet_manager_v2", 1)
[1036137.677] [email protected](33, "zwp_idle_inhibit_manager_v1", 1)
[1036137.678] [email protected](34, "zxdg_exporter_v1", 1)
[1036137.681] [email protected](35, "zxdg_importer_v1", 1)
[1036137.683] [email protected](36, "zxdg_exporter_v2", 1)
[1036137.685] [email protected](37, "zxdg_importer_v2", 1)
--
[1036137.689] [email protected](39, "zwp_text_input_manager_v3", 1)
[1036137.691] [email protected](40, "zwp_input_method_manager_v2", 1)
[1036137.693] [email protected](41, "wl_output", 4)
[1036137.695] [email protected](95165)
[1036137.700] -> [email protected]_inhibitor(new id zwlr_input_inhibitor_v1@30)
[1036137.706] -> [email protected](new id wl_callback@32)
[1036138.125] [email protected]_id(32)
[1036138.140] [email protected](95165)
[1036139.347] -> [email protected]_surface(new id wl_surface@32)
--
[1036185.864] [email protected](19, "org_kde_kwin_server_decoration_manager", 1)
[1036185.866] [email protected](20, "zxdg_decoration_manager_v1", 1)
[1036185.868] [email protected](21, "zxdg_output_manager_v1", 3)
[1036185.870] [email protected](22, "zwlr_output_manager_v1", 3)
[1036185.872] [email protected](23, "zwlr_input_inhibit_manager_v1", 1)
[1036185.875] [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[1036185.876] [email protected](25, "zext_workspace_manager_v1", 1)
[1036185.878] [email protected](26, "zwp_pointer_constraints_v1", 1)
[1036185.880] [email protected](27, "zwp_relative_pointer_manager_v1", 1)
[1036185.882] [email protected](28, "zwp_virtual_keyboard_manager_v1", 1)
[1036185.883] [email protected](29, "zwlr_virtual_pointer_manager_v1", 2)
[1036185.885] [email protected](30, "zwlr_foreign_toplevel_manager_v1", 3)
[1036185.887] [email protected](31, "wp_drm_lease_device_v1", 1)
[1036185.889] [email protected](32, "zwp_tablet_manager_v2", 1)
[1036185.890] [email protected](33, "zwp_idle_inhibit_manager_v1", 1)
[1036185.892] [email protected](34, "zxdg_exporter_v1", 1)
[1036185.894] [email protected](35, "zxdg_importer_v1", 1)
[1036185.896] [email protected](36, "zxdg_exporter_v2", 1)
[1036185.897] [email protected](37, "zxdg_importer_v2", 1)
qwdqwddqwdqwdqqwwdqwd
[2090606.945] [email protected](21, "zxdg_output_manager_v1", 3)
[2090606.949] -> [email protected](21, "zxdg_output_manager_v1", 3, new id [unknown]@10)
[2090606.954] -> [email protected](new id wl_callback@11)
[2090606.973] [email protected](22, "zwlr_output_manager_v1", 2)
[2090606.978] [email protected](23, "zwlr_input_inhibit_manager_v1", 1)
[2090606.983] [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[2090606.987] -> [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1, new id [unknown]@12)
[2090606.991] [email protected](25, "zext_workspace_manager_v1", 1)
[2090606.995] [email protected](26, "zwp_pointer_constraints_v1", 1)
[2090607.012] [email protected](27, "zwp_relative_pointer_manager_v1", 1)
[2090607.017] [email protected](28, "zwp_virtual_keyboard_manager_v1", 1)
--
[2090607.025] [email protected](30, "zwlr_foreign_toplevel_manager_v1", 3)
[2090607.029] [email protected](31, "wp_drm_lease_device_v1", 1)
[2090607.036] [email protected](32, "zwp_tablet_manager_v2", 1)
[2090607.040] -> [email protected](32, "zwp_tablet_manager_v2", 1, new id [unknown]@13)
[2090607.044] [email protected](33, "zwp_idle_inhibit_manager_v1", 1)
[2090607.049] [email protected](34, "zxdg_exporter_v1", 1)
[2090607.053] -> [email protected](34, "zxdg_exporter_v1", 1, new id [unknown]@14)
[2090607.058] [email protected](35, "zxdg_importer_v1", 1)
[2090607.062] -> [email protected](35, "zxdg_importer_v1", 1, new id [unknown]@15)
--
[2090707.070] [email protected](19, "org_kde_kwin_server_decoration_manager", 1)
[2090707.074] [email protected](20, "zxdg_decoration_manager_v1", 1)
[2090707.079] [email protected](21, "zxdg_output_manager_v1", 3)
[2090707.083] [email protected](22, "zwlr_output_manager_v1", 2)
[2090707.088] [email protected](23, "zwlr_input_inhibit_manager_v1", 1)
[2090707.093] -> [email protected](23, "zwlr_input_inhibit_manager_v1", 1, new id [unknown]@32)
[2090707.098] [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[2090707.103] [email protected](25, "zext_workspace_manager_v1", 1)
[2090707.108] [email protected](26, "zwp_pointer_constraints_v1", 1)
[2090707.112] [email protected](27, "zwp_relative_pointer_manager_v1", 1)
[2090707.117] [email protected](28, "zwp_virtual_keyboard_manager_v1", 1)
[2090707.122] [email protected](29, "zwlr_virtual_pointer_manager_v1", 2)
[2090707.127] [email protected](30, "zwlr_foreign_toplevel_manager_v1", 3)
[2090707.130] [email protected](31, "wp_drm_lease_device_v1", 1)
[2090707.133] [email protected](32, "zwp_tablet_manager_v2", 1)
[2090707.137] [email protected](33, "zwp_idle_inhibit_manager_v1", 1)
[2090707.140] [email protected](34, "zxdg_exporter_v1", 1)
[2090707.143] [email protected](35, "zxdg_importer_v1", 1)
[2090707.146] [email protected](36, "zxdg_exporter_v2", 1)
[2090707.149] [email protected](37, "zxdg_importer_v2", 1)
--
[2090707.155] [email protected](39, "zwp_text_input_manager_v3", 1)
[2090707.158] [email protected](40, "zwp_input_method_manager_v2", 1)
[2090707.161] [email protected](41, "wl_output", 4)
[2090707.165] [email protected](14761)
[2090707.169] -> [email protected]_inhibitor(new id zwlr_input_inhibitor_v1@31)
[2090707.173] -> [email protected](new id wl_callback@33)
[2090707.298] [email protected]_id(33)
[2090707.308] [email protected](14761)
[2090708.420] -> [email protected]_surface(new id wl_surface@33)
--
[2090752.759] [email protected](19, "org_kde_kwin_server_decoration_manager", 1)
[2090752.762] [email protected](20, "zxdg_decoration_manager_v1", 1)
[2090752.764] [email protected](21, "zxdg_output_manager_v1", 3)
[2090752.767] [email protected](22, "zwlr_output_manager_v1", 2)
[2090752.769] [email protected](23, "zwlr_input_inhibit_manager_v1", 1)
[2090752.772] [email protected](24, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[2090752.774] [email protected](25, "zext_workspace_manager_v1", 1)
[2090752.776] [email protected](26, "zwp_pointer_constraints_v1", 1)
[2090752.779] [email protected](27, "zwp_relative_pointer_manager_v1", 1)
[2090752.781] [email protected](28, "zwp_virtual_keyboard_manager_v1", 1)
[2090752.783] [email protected](29, "zwlr_virtual_pointer_manager_v1", 2)
[2090752.785] [email protected](30, "zwlr_foreign_toplevel_manager_v1", 3)
[2090752.788] [email protected](31, "wp_drm_lease_device_v1", 1)
[2090752.791] [email protected](32, "zwp_tablet_manager_v2", 1)
[2090752.808] [email protected](33, "zwp_idle_inhibit_manager_v1", 1)
[2090752.813] [email protected](34, "zxdg_exporter_v1", 1)
[2090752.818] [email protected](35, "zxdg_importer_v1", 1)
[2090752.820] [email protected](36, "zxdg_exporter_v2", 1)
[2090752.824] [email protected](37, "zxdg_importer_v2", 1)
This issue is a limitation of using layer-shell and input-inhibitor, so only solution is to implement #53. For this reason I am closing this issue.