Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1952594 - pinentry-qt appears minimized in Wayland sessions
Summary: pinentry-qt appears minimized in Wayland sessions
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pinentry
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Boris Ranto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-22 16:00 UTC by Bernie Innocenti
Modified: 2021-06-06 20:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bernie Innocenti 2021-04-22 16:00:24 UTC
Upstream bug: https://dev.gnupg.org/T5377

All gpg password prompts appear minimized in Plasma Wayland sessions.
Works fine in X11, and also in GNOME (but only because Qt defaults to the XCB backend on GNOME).

Steps to reproduce:

1. Log into Plasma Wayland session
2. Type: echo GETPIN | pinentry-qt

diff --git a/qt/pinentrydialog.cpp b/qt/pinentrydialog.cpp
index 1b2be36..bf9d5a9 100644
--- a/qt/pinentrydialog.cpp
+++ b/qt/pinentrydialog.cpp
@@ -232,7 +232,6 @@ PinEntryDialog::PinEntryDialog(QWidget *parent, const char *name,
        result in an animation when the pinentry is shown and
        not just popping it up.
     */
-    setWindowState(Qt::WindowMinimized);
     QTimer::singleShot(0, this, [this] () {
         raiseWindow (this);
     });


Note You need to log in before you can comment on or make changes to this bug.