Page MenuHome GnuPG

qt: make the pin entry dialog float again

Authored by qyliss on Feb 18 2022, 9:57 PM.



After 85b180f ("qt: Show hint if passphrase is shown and formatting is enabled"), Sway would attempt to tile the pin entry dialog window, because the size constraint was removed.

I'm not sure if this is the right fix, because I don't know how to test pinentry with a passphrase hint, since AFAICT GnuPG doesn't support it yet. But it does solve a problem I've been having since upgrading to 1.2.0 where Sway would try to tile this dialog instead of having it float as it did before.

Test Plan

Cause the pinentry dialog to be opened in Sway, and see that it floats again.

It should be tested that this change doesn't break the layout of the password hint, but I don't know how to do that.

Diff Detail

Lint Skipped
Unit Tests Skipped