FS#75740 - [pinentry] Enable Caps Lock checking for pinentry-qt

Attached to Project: Arch Linux
Opened by Chih-Hsuan Yen (yan12125) - Tuesday, 30 August 2022, 03:57 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 02 September 2023, 13:01 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Current pinentry-qt reports a warning when displaying a dialog on either X11 or Wayland:

> Checking for Caps Lock not possible on unsupported platform: "xcb"

> CapsLockWatcher was compiled without support for Wayland
> Checking for Caps Lock not possible on unsupported platform: "wayland"

Adding qt5-x11extas and kwayland to makedepends & optdepends (see attached PKGBUILD) enables Caps Lock checking. I used weston to test pinentry-qt on Wayland.

From release notes for pinentry 1.2.0 [1]

> qt: Show a warning if Caps Lock is on on Windows, X11 (requires libX11 and Qt5X11Extras), and Wayland (requires KF5WaylandClient).

Additional info:

testing/pinentry 1.2.1-1

[1] https://dev.gnupg.org/T5566

Steps to reproduce:

$ pinentry-qt
OK Pleased to meet you
GETPIN
(Hit Caps Lock after the dialog appears)
   PKGBUILD (1.8 KiB)
This task depends upon

Closed by  Levente Polyak (anthraxx)
Saturday, 02 September 2023, 13:01 GMT
Reason for closing:  Implemented
Additional comments about closing:  1.2.1-2

Loading...