Open Bug 1879791 Opened 9 months ago Updated 7 days ago

After Thunderbird 115, the minimum size of "Filter Rules" dialog is too large and the buttons extend off-screen the screen on low resolution

Categories

(Thunderbird :: Filters, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

People

(Reporter: earlgreypicard, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attention:

This bug is not same as Bug 1365521. The bug, reported 7 years ago, refers to "Message Filters" dialog.
("Enabled" column exists in "Message Filters" dialog)
This bug reports for “Filter Rules” dialog.
This bug does not depends on Bug 298632.

Environment:

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderbird/115.7.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0 Thunderbird/124.0a1

Steps to reproduce:

  1. Set the display resolution to "800 x 600".
  2. Start Thunderbird.
  3. Select menubar > Tools > Message Filters.
  4. Select "New" button.

Actual results:

"Filter Rules" dialog appears larger than the display area.
Then, the "OK", "Cancel", "+", "-" buttons are off-screen and can't be clicked.

Expected result:

The dialog should be approximately the same width and height as Thunderbird 102.
Please see the attached image.
The left side of the image is Ver.102, and the right side is Ver.115 of the "Filter Rule" dialog. The red line indicates the range shown on the 800x600 display.

Additional Information:

After examining the regression range, it is clear that this bug is a regression of Bug 1826700.
https://hg.mozilla.org/comm-central/rev/6bcb80dfc6f4

The size of the block elements and the window is set in the file below, but the values do not seem to be appropriate.

  • /mail/themes/shared/mail/filterEditor.css
  • /mailnews/search/content/FilterEditor.xhtml

So I applied the userChrome.css below and got good results.

@-moz-document url-prefix("chrome://messenger/content/FilterEditor.xhtml") {
  #applyFiltersSettings {
    min-height: 128px !important;
    height: 128px !important;
  }

  #searchTermListBox {
    min-height: 120px !important;
    height: 120px !important;
  }

  #filterActionsBox {
    min-height: 100px !important;
    height: 100px !important;
  }

  #FilterEditor {
    min-width: 560px !important;
    min-height: 520px !important;
  }
}
Keywords: regression
Regressed by: 1826700
Version: unspecified → Thunderbird 115
See Also: → 1365521
Status: UNCONFIRMED → NEW
Ever confirmed: true

Magnus, is it possible to sort out this regression from your patch in bug 1826700? Or does it require large changes in filter UI?

Flags: needinfo?(mkmelin+mozilla)

I tried the suggestion, but it's still not very good at 800x600. Something is making the width larger than it should be for this situation, and the dialog is behaving oddly when trying to resize.

Flags: needinfo?(mkmelin+mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: