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)
Tracking
(Not tracked)
People
(Reporter: earlgreypicard, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
145.60 KB,
image/jpeg
|
Details | |
2.21 KB,
patch
|
Details | Diff | Splinter Review |
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:
- Set the display resolution to "800 x 600".
- Start Thunderbird.
- Select menubar > Tools > Message Filters.
- 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;
}
}
Updated•9 months ago
|
Reporter | ||
Updated•9 months ago
|
Updated•8 months ago
|
Comment 1•1 month ago
|
||
Magnus, is it possible to sort out this regression from your patch in bug 1826700? Or does it require large changes in filter UI?
Comment 2•7 days ago
|
||
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.
Description
•