Closed Bug 243640 Opened 22 years ago Closed 17 years ago

button type=checkbox, checked=true does not change appearance of button in “classic” theme.

Categories

(SeaMonkey :: Themes, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: crayne, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

828 bytes, application/vnd.mozilla.xul+xml
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 Created an hbox in xul with button specification with "type=checkbox" , checked="true". When displayed, there is no visual difference between this button and other buttons in the "classic" theme. There is a difference in the "modern" theme. Reproducible: Always Steps to Reproduce: 1. hbox definition: <hbox pack = "center" selectedIndex = "2"> <button type="tri-state" checked="true" label = "text" id="standardFont" group="1" oncommand="standardFont();" style = "font-weight:bold" /> <button label = "text" id="mediumFont" group="1" oncommand="mediumFont();" style = "font-size: medium; font-weight:bold" /> <button label = "text" id="largeFont" group="1" oncommand="largeFont();" style = "font-size: large; font-weight:bold" /> <button label = "text" id="xLargeFont" group="1" oncommand="xLargeFont();" style = "font-size: x-large; font-weight:bold" /> </hbox> 2. 3. Actual Results: All buttons in toolbar look the same Expected Results: The first button should look different from the others (preferably "depressed", as in IE) because it is "checked". Att: Aaron Leventhal
Sounds like a native theming issue...
Trying someone who might just understand GTK theming...
> Trying someone who might just understand GTK theming.. This is a Windows bug, I don't know if it's a problem under GTK. Classics's button.css has a rule for type="checked" -- guess it's not working. http://lxr.mozilla.org/seamonkey/source/themes/classic/global/win/button.css#94 80 button:hover:active, 81 button[checked="true"], 82 button[open="true"] { 83 -moz-border-top-colors: transparent transparent transparent #000000 #8290A5 #899AAC; 84 -moz-border-right-colors: transparent transparent transparent #000000 #8290A5 #899AAC; 85 -moz-border-bottom-colors: transparent transparent transparent #000000 #8290A5 #899AAC; 86 -moz-border-left-colors: transparent transparent transparent #000000 #8290A5 #899AAC; 87 background-color: #90A1B3; 88 color: #FFFFFF; 89 }
Bug occurs only in classic, not in modern theme. Workaround: style="moz-appearance:none" but it's ugly. Btw: Bug can be confirmed in Composer or Mail by highlighting a word and mark it bold. In modern theme the "B" button is pressed.
Product: Browser → Seamonkey
Hmm... this works for toolbarbuttons, but not for ordinary buttons?
Keywords: testcase
(In reply to comment #6) > Created an attachment (id=181124) [details] > Testcase from comment 0 Susan, is this still a valid bug? I am testing in SeaMonkey 1.1.9 and 2.0a1pre Classic Theme - Show Fine Modern Theme - First and Second buttons are same.
I close this for now as wfm. Reporter, if you still run into this problem while using an recent Build, please reopen and submit actual information.
Assignee: general → nobody
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Component: General → Themes
QA Contact: general → themes
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: