Closed Bug 46961 Opened 25 years ago Closed 24 years ago

Buttons shouldn't visually respond if disabled

Categories

(SeaMonkey :: Themes, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.8

People

(Reporter: bugzilla, Assigned: hewitt)

References

Details

(Keywords: classic)

Attachments

(1 file)

Build ID: 2000072908 Disabled XUL buttons still seem to depress, even if they're disabled. You can see this with the remove buttons in the image/cookie manager, if you have no blocked sites or cookies. These lines in button.css are calling the problem: button:hover:active { border : 1px solid threeddarkshadow; } button:hover:active > .button-box-1 { border : 1px solid threedshadow; } button:hover:active > .button-box-1 > .button-box-2 { border : 1px solid threedface; } So, obviously, the solution is to add a border style to this rule: button[disabled="true"], button[disabled="true"]:hover:active { color : graytext; } However, I can't figure out which border to set. I tried various ones, including 0px, and though they had different effects, none had *no* effect (which is what's needed here). So, basically I can't figure out what border a normal disabled button has (because that's the border we need to set for button [disabled="true"]:hover:active, so nothing seems to happen on click)
Will probably get fixed by hyatt's checkin to fix bug 30644...
Component: XP Toolkit/Widgets → Themes
Keywords: classic, correctness
QA Contact: jrgm → BlakeR1234
*** Bug 48606 has been marked as a duplicate of this bug. ***
*** Bug 51493 has been marked as a duplicate of this bug. ***
nominate nsbeta3 and rtm per PDT review of Classic theme
Keywords: nsbeta3, rtm
Nav triage team: [nsbeta3+], since PDT hath spoken.
Priority: P3 → P2
Whiteboard: [beta3+]
Whiteboard: [beta3+] → [nsbeta3+]
PDT thinks this is P4
Priority: P2 → P4
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP4]
Marking as "nsbeta3-".
Whiteboard: [nsbeta3+][PDTP4] → [nsbeta3-][PDTP4][cut 0919]
Ben, do you have a fix for this yet? Or should we minus this.
Priority: P4 → P2
Whiteboard: [nsbeta3-][PDTP4][cut 0919] → [nsbeta3-][PDTP4][cut 0919][RTM NEED INFO]
Nav triage team: No fix for this yet; must minus.
Priority: P2 → P3
Whiteboard: [nsbeta3-][PDTP4][cut 0919][RTM NEED INFO] → [nsbeta3-][PDTP4][cut 0919][rtm-]
Let's do this for 6.01, since Ben said he had a fix for this awhile ago.
Keywords: ns601
Keywords: ns601mozilla0.9
Any chance we'll see a fix for this soon? It's a bit confusing for new users that they seem to be able to press disabled buttons...
taking
Assignee: ben → hewitt
Priority: P3 → P2
Status: NEW → ASSIGNED
Themes Triage Team nsbeta1+
Keywords: nsbeta3nsbeta1
Applied it by hand, this looks great to me. r=blake
Keywords: rtm
Whiteboard: [nsbeta3-][PDTP4][cut 0919][rtm-]
Target Milestone: --- → mozilla0.8
a=hangas
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: