Closed Bug 1870809 Opened 1 year ago Closed 1 year ago

The dialog window shown after the OpenPGP key submission has wrong size

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 123
x86_64
Linux
defect

Tracking

(thunderbird_esr115 fixed, thunderbird122 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
thunderbird_esr115 --- fixed
thunderbird122 --- fixed

People

(Reporter: Bogomil, Assigned: mkmelin)

Details

(Keywords: regression)

Attachments

(2 files)

How to reproduce:

  • Menu
  • Tools
  • OpenPGP Key Manager
  • Select one of the keys
  • Then click on the "Key Server" menu
  • then click publish

I see the success result dialogue, but the "Close " button is cut. See the screenshot. I see this on 115 and on 122

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Version: unspecified → Thunderbird 122

Which exact version of 122 are you using?

Hi,
Sorry my bad, it's on 123.0a1 (2023-12-19), but I see the same on 115.* as well

Version: Thunderbird 122 → Thunderbird 123

I see that with both versions yes. But only for the first time the dialog is opened, and it seems to depend on how long the text is as well.

var { EnigmailDialog } = ChromeUtils.import("chrome://openpgp/content/modules/dialog.jsm");
EnigmailDialog.alert(null, "Public key sent to \"vks://keys.opengpgp.org\".");

Anyway, I literally have patches lined up for landing to use standard dialogs for this instead, which will avoid this issue...

This is a workaround really intended for 115 only. The code in question is getting removed, and fixing the sizing issues is difficult without completely rewriting the html...

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Component: Untriaged → Security: OpenPGP
Product: Thunderbird → MailNews Core

Thanks Magnus!

Target Milestone: --- → 123 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/3fe32769e8a4
Workaround to ensure OpenPGP alerts have some minimum size. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

Comment on attachment 9369608 [details]
Bug 1870809 - Workaround to ensure OpenPGP alerts have some minimum size. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #): unknown
User impact if declined: bad UI in some openpgp alerts
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): safe

Attachment #9369608 - Flags: approval-comm-esr115?
Attachment #9369608 - Flags: approval-comm-beta?
Summary: The dialog window shown after the OpenPGP key submition has wrong size → The dialog window shown after the OpenPGP key submission has wrong size

Comment on attachment 9369608 [details]
Bug 1870809 - Workaround to ensure OpenPGP alerts have some minimum size. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9369608 - Flags: approval-comm-beta? → approval-comm-beta+
Keywords: regression

Comment on attachment 9369608 [details]
Bug 1870809 - Workaround to ensure OpenPGP alerts have some minimum size. r=#thunderbird-reviewers

[Triage Comment]
Approved for esr115

Attachment #9369608 - Flags: approval-comm-esr115? → approval-comm-esr115+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: