Home GnuPG

qt: Fix showing of pinentry window on Wayland

Description

qt: Fix showing of pinentry window on Wayland

* qt/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Skip the
minimize+raise trick on Wayland.

When running on Wayland then the following warning was logged:
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Skipping the minimize+raise calls shows the window on Wayland without
fancy animation instead of not showing it at all.

Details

Provenance
ikloeckerAuthored on Thu, Jul 22, 11:36 AM
Parents
rP78e4284e8d93: qt: Show hint if Caps Lock is on
Branches
Unknown
Tags
Unknown
Tasks
T5528: pinentry-qt: Pinentry window not shown on Wayland