Closed Bug 1744076 Opened 2 years ago Closed 2 years ago

The selected menu item is shifted

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr91+ wontfix, thunderbird96+ affected)

RESOLVED FIXED
97 Branch
Tracking Status
thunderbird_esr91 + wontfix
thunderbird96 + affected

People

(Reporter: super.dukefb1, Assigned: aleca)

Details

Attachments

(2 files)

Attached image menu.jpg

Steps to reproduce:

  1. Create a new message for a OpenPGP enabled account.
  2. In the compose window: Options > OpenPGP > Subject Encryption (or Attach My Public Key)

Actual results:

Check Options > OpenPGP > Subject Encryption (or Attach My Public Key), you will find the entire menu item was shifted right.

Expected results:

The selected menu item should not be shifted.

Component: Message Compose Window → Security: OpenPGP
Product: Thunderbird → MailNews Core

Alex, can you say why the needsgutter isn't applied on this menupopup? It should be applied through this code: https://searchfox.org/mozilla-central/source/toolkit/content/widgets/menupopup.js#17-37.

When I set this attribute in the XHTML directly it is removed on runtime.

Flags: needinfo?(alessandro)
Assignee: nobody → alessandro

The issue is due to the fact that our code was adding the hidden="false" attribute to those menu item, so they were excluded from that query selector because of the not:([hidden]) condition.
Patch with the fix ready for review.

Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(alessandro)
Target Milestone: --- → 97 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3ee10762fcfb
[Win] Fix missing gutter for OpenPGP compose menu items.r=Paenglab

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: