Closed
Bug 67333
Opened 25 years ago
Closed 24 years ago
Buttons do not display in XUL grid.
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.0
People
(Reporter: daniel.c.maddy, Assigned: eric)
References
Details
Attachments
(1 file)
|
908 bytes,
application/octet-stream
|
Details |
This was found in Mozilla 0.7 on Linux and WinNT 4.
This problem does not seem to exist if the code is run inside a browser window.
Steps to reproduce:
1.) Copy the xul code below into main.xul.
2.) Register main.xul.
3.) Run "mozilla -chrome chrome://main/content"
4.) Notice that button "0" displays but all of the buttons in the grid are
not displayed
main.xul:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<!DOCTYPE window>
<window id="Main"
title="Main example"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox>
<button value="0"/>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<button value="1"/>
<button value="2"/>
</row>
<row>
<button value="3"/>
<button value="4"/>
</row>
</rows>
</grid>
</vbox>
</window>
Comment 1•25 years ago
|
||
Saving the testcase as a local file and loading it in Mozilla, all buttons
display. This is on a personal build from a CVS pull at about 10AM today.
I have no idea how to register it as a "chrome".
Comment 2•25 years ago
|
||
Over to XPToolkit/Widgets:XUL for testing.
Assignee: asa → trudelle
Component: Browser-General → XP Toolkit/Widgets: XUL
QA Contact: doronr → jrgm
Comment 3•25 years ago
|
||
Actually, you can get the missing buttons if you load into the browser and
then switch themes (which makes this related to bug 58515).
(Sidenote: registering as chrome requires the creation of a full jar package
with a contents.rdf, and modification of installed-chrome.txt. I'll attach a
ample jar; "content,install,url,jar:resource:/chrome/main.jar!/content/main/"
needs to be added to installed-chrome.txt).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•25 years ago
|
||
Comment 7•25 years ago
|
||
I'm seeing this (or something similar, I've also got menulists in the grid,
which also are not appearing) with Mozilla 0.8 (build 2001022308) on Solaris 8.
Initially I was working in the class theme, and when I changed theme to modern
the widgets appears. Closing Mozilla and reopening (still in modern) I didn't
see the problem, so it might be classic specific?
Comment 8•24 years ago
|
||
Bug 89644 describes instances in Composer app where we see missing buttons
and menulists. We found that by fiddling with "flex", we could mostly hide these
problems, but we need to figure out the real cause in XUL code.
I have some debugging dialogs that I will go over with evaughan sometime soon.
Comment 10•24 years ago
|
||
*** bugscape bug 7221 has been marked as a dup of this bug ***
Comment 11•24 years ago
|
||
*** Bug 82563 has been marked as a duplicate of this bug. ***
Comment 12•24 years ago
|
||
I vote that this problem needs to be fixed soon! It really makes using grids
difficult and unpredictable.
| Assignee | ||
Comment 13•24 years ago
|
||
Grid has been rewritten. It now supports:
borders, padding, on margins on <rows> <columns> <row> <column>
tags. And had been extensively tested
This should fix this.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•