Width mismatch with two default buttons displayed sequentially by using a XUL overlay

UNCONFIRMED
Unassigned

Status

()

Firefox
General
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: Andreas Eibach, Unassigned)

Tracking

Trunk
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0b8pre) Gecko/20101101 Firefox/4.0b8pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b8pre) Gecko/20101101 Firefox/4.0b8pre

(Preface: My FF extension you will find here uses NEITHER skinning NOR any other bells and whistles. Everything is deliberately left to default values.)

When specifying two buttons in a XUL overlay file, the widths of the two buttons---which are not styled or customized in any way---differ by 1 pixel.

Reproducible: Always

Steps to Reproduce:
Please install my application.
It will utter "I'm alive" once if it's active and running.
You will see two buttons labeled BUTTON1 and BUTTON2 in your status bar aka add-on bar.
(FF4 users will have to explicitly ENABLE the add-on bar for my app to work.)
Actual Results:  
Firefox 3: 
Texts seem OK, but making a screenshot and analyzing the picture in my graphics app showed that the first button width was 73 pixels, the second was 74.
Firefox 4:
Button width mismatch is alike; (1 pixel) however, text rendering is different. BUTTON1 shows as BUTTON1;
BUTTON2 shows as BUT TON2 (yes, with a gap in-between)

Expected Results:  
- Button sizes MUST be 100% same.

(FF4) - Text must not drift off in two halves to the left hand and right hand side.
(Reporter)

Comment 1

7 years ago
Created attachment 488074 [details]
Firefox extension to demonstrate the "button bug".
(Reporter)

Updated

7 years ago
Version: unspecified → Trunk
(Reporter)

Comment 2

7 years ago
Update time!

>Button width mismatch is alike; (1 pixel) however, text rendering is different.
>BUTTON1 shows as BUTTON1;
>BUTTON2 shows as BUT TON2 (yes, with a gap in-between)

Dunno WHAT fixed it, but the "BUT TON2" gap problem is gone with this new nightly I'm currently using:
Mozilla/5.0 (Windows NT 6.1; rv:2.0b8pre) Gecko/20101117 Firefox/4.0b8pre

Width mismatch (73px -left- vs. 74px -right-) is still an issue.
You need to log in before you can comment on or make changes to this bug.