Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Toolybird (Toolybird) - Tuesday, 30 August 2022, 05:56 GMT
Task Type Feature Request
Category Packages: Core
Status Assigned
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 0%
Votes 0
Private No



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


Steps to reproduce:

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