Open Bug 284378 Opened 20 years ago Updated 2 years ago

XUL checkbox broken on Linux

Categories

(Toolkit :: UI Widgets, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: mozilla, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

The XUL control <checkbox> is not displayed correctly in Firefox 1.0 and 1.0.1
on Linux. It displays as an empty rectangle, and if you click it, no checkmark
appears. The same code works fine in Mozilla on Linux, and in Firefox on Windows.

Reproducible: Always

Steps to Reproduce:
1.Load this minimal page into Firefox:

<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<checkbox id="c1" type="checkbox" label="this looks wrong"/>
</window>

2. The checkbox is displayed incorrectly as described.


Actual Results:  
Checkbox looks and functions incorrectly as described.

Expected Results:  
A working checkbox followed by the words "This looks wrong".

I will upload a screenshot.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050316 Firefox/1.0+
I reproduced the bug successfully on a PC running Mandrake 10.1.
I'm changing the status to new.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Oh no... This bug is now present in Mozilla 1.7.8 (Linux)! It was not present in
1.7.3, the previous version I had.
Bug still exists in Firefox 1.5 beta 1 on linux.

I'm amazed if more people haven't encountered this: checkboxes are completely
broken in XUL!

Assignee: bross2 → nobody
Attached file simple testcase
Here's the testcase from comment 0 as an attachment you can click on to see the problem.
I pulled trees from before and after the checkin for bug 247631 and confirmed that checkin caused this bug.

http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2004-06-22+15%3A00%3A00&maxdate=2004-06-22+15%3A20%3A00&cvsroot=%2Fcvsroot

This bug is blocking a Firefox 2 blocker, which makes it important to fix.  Brian, your patch on bug 247631 was quite large.  Any idea what part of that patch might be responsible for this regression?
Priority: -- → P1
Target Milestone: --- → Firefox 2
The problem is that if you don't include global.css like you're supposed to, then you don't get the binding to chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing and everything falls apart, but if you are a Windows or Mac using extension author, you don't realize it until the Linux users start complaining.

(And thus no longer a blocker for a Fx 2 blocker, now that it's including global.css)
No longer blocks: 349752
Severity: major → normal
Component: General → XUL Widgets
Priority: P1 → --
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Target Milestone: Firefox 2 → ---
Version: unspecified → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: