Recent updates to Firefox Developer Edition changed the relative size of all dialog buttons for Windows 7 Classic Theme
Categories
(Firefox :: Theme, defect)
Tracking
()
People
(Reporter: max.vlasov, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
I usually use profile manager, so I run one of the recent version of Firefox Developer Edition version around 91.0b3 (64-bit), Windows 7, Classic theme. Also I started looking at the different program dialogs containing buttons like the one for Saving downloading item
Actual results:
I noticed that the buttons became smaller (see the screenshot, where the new dialog is on the left and the old one on the right)
This was visible in the profile choose dialog (started with firefox.exe /p) and possible in other dialogs containing buttons
Expected results:
I expected to be bigger for two reasons:
- My subjective response to new sizes is that they're too small to operate comfortable
- Usually the design decisions of Firefox team are explained using the goal to much the current user OS design settings, regarding also the sizes of interface elements. This change obviously violates this since the sizes now don't much the usual sizes of the buttons in Windows 7/Classic Theme
Comment 1•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Theme' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Hi,
I have tried to reproduce the issue on Windows 7 and 10, on Firefox Developer Edition 91.0b3, and Nightly 92.0a1 (2021-07-19) (64-bit) versions, but as you can see in the new attached screenshot 'win7.jpg', size in dialogs boxes seem normal in this end.
Could you answer the following questions in order to further investigate this issue?
- Does this issue happen with a new profile? Here is a link on how to create a new profile: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
Can you test the issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode.
-
Does this issue occur to you in the latest nightly version of firefox? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
-
Can you also include your about:support information?
If you are still able to reproduce it, please, share further information with us, like new screenshots on another dialog boxes, screen recording, or more specific steps.
I've assigned a component in order to get the dev team involved.
'Core-Dom: UI Events & Focus Handling' team: if the component is not relevant please change it to a more appropriate one.
Regards.
| Reporter | ||
Comment 4•5 years ago
|
||
(In reply to Jerónimo Torti from comment #2)
Hi,
I have tried to reproduce the issue on Windows 7 and 10, on Firefox Developer Edition 91.0b3, and Nightly 92.0a1 (2021-07-19) (64-bit) versions, but as you can see in the new attached screenshot 'win7.jpg', size in dialogs boxes seem normal in this end.
Jerónimo, thank you for your comment. Actually, I specifically mentioned Classic Theme. As I see on the screenshot, yours were made with Aero or something similar. Can you try to repeat your tests with the Classic Theme? I will try to append additional info you requested tomorrow asap (currently I'm on a different machine). Thanks
| Reporter | ||
Comment 5•5 years ago
|
||
| Reporter | ||
Comment 6•5 years ago
|
||
I found a non-updated copy of FF, made the screenshot before the update and after, see ff_update_side_by_side.png(ff 90.0b12 -> ff 91.0b4). The dialogs aligned at the top so the red line shows the difference in the dialog sizes (apart from the difference in button sizes)
| Reporter | ||
Comment 7•5 years ago
|
||
- Does this issue happen with a new profile? Here is a link on how to create a new profile: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
Yes, even the profile chooser/creator has the small buttons itself.
Can you test the issue while in Safe Mode. You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode.
Tested, symptoms are the same
- Does this issue occur to you in the latest nightly version of firefox? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
Nightly 92.0a1 (2021-07-19) (64-bit) has the issue.
Hi Max,
thanks for responding the previous questions.
I re-tested again using Windows Classic theme (at first I thought it was related to https://addons.mozilla.org/es/firefox/addon/classic-theme/ ) , and I was able to reproduce the issue in Firefox Developer Edition 91.0b3, and Nightly 92.0a1 (2021-07-19) (64-bit) versions, as you can see in 'classic.jpg'.
I'm marking this as New for visibility.
Any other information you need to provide or clarify, just let us know.
Thanks.
Jerónimo.
| Reporter | ||
Comment 10•5 years ago
|
||
I looked at the sources and related and share what I found
It's comparatively easy to look at the XUL dialogs by accessing the chrome urls directly and inspect the DOM and styles. Bbut the dialogs (and buttons) still look different to how they will finally appear, but at least it's better than nothing.
So we have a similar dialog at
chrome://mozapps/content/downloads/unknownContentType.xhtml
and what I found comparing version 91.0b5 (new, bad) and 90.0.2 (older, good) that the hbox tag activated the rule
.button-box {
padding-block: 2px 3px;
....
}
from the Windows button.css file.
This rule is absent in newer versions. Looking at the revisions of this file, there was a recent change when this rule was removed.
The seems to explains the 5 pixel difference between older versions and new versions for Classic Theme. But for the Aero buttons (when I switched the Windows theme from Classic to Aero) the observation are
- Chrome-viewed in the tab they look bigger than the Classic one despite that absence of the button-box rule (Height 16 vs 13 pixels), but this is probably due to the label rendered bigger with a little bigger font for Aero theme
- Real height in real dialogs is even bigger and I could not find the rule contributing the this increase. I suspected that the css media selector is somehow should be applied
Comment 11•5 years ago
|
||
(This doesn't seem to have anything to do with UI Events)
| Reporter | ||
Comment 12•5 years ago
|
||
Forgot initially to find the regression with the brilliant mozregression tool. Now I can confirm that the regression was introduced with the commit https://bugzilla.mozilla.org/show_bug.cgi?id=1715722
My session in mozregression was to set 90-92 version window and to look at the Page info page Help button size.
| Reporter | ||
Comment 13•5 years ago
|
||
In the version 95.0b3 the button sizes in Windows 7/Classic Theme is back to how they were before this issue, with the sufficient padding.
Updated•3 years ago
|
Comment 14•3 years ago
|
||
This seems to now be fixed. Please re-open if you can still reproduce this issue in a current release.
Description
•