Closed Bug 389145 Opened 18 years ago Closed 18 years ago

for disabled popup-type datepicker, dropmarker should look disabled

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha8

People

(Reporter: mcdavis941.bugs, Assigned: regis.caspar+bz)

Details

Attachments

(3 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007070804 Minefield/3.0a7pre For a popup-type datepicker, when disabled, the dropmarker is disabled as well, but it looks normal. It should actually look disabled so that users don't think it's operable when it really isn't. Reproducible: Always
Shows popup datepicker as normal, readonly and disabled
Attached patch patch (obsolete) — Splinter Review
Patch adding xbl:inherits to the dropmarker and "chrome://global/skin/dropmarker.css" to the ressources in the xbl file Will attach XUL testcase too
Attachment #273295 - Flags: review?
Attached file XUL testcase
Perhaps the input box should look disabled too?
(In reply to comment #4) > Perhaps the input box should look disabled too? > Yeah, it should probably have styling similar to a disabled textbox.
Régis, Neil Deakin (enndeakin@) could probably review this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
Comment on attachment 273295 [details] [diff] [review] patch (In reply to comment #6) > Régis, Neil Deakin (enndeakin@) could probably review this. Thanks Adam.
Attachment #273295 - Flags: review? → review?(enndeakin)
Comment on attachment 273295 [details] [diff] [review] patch Looks OK. Inheriting readonly isn't needed though.
Attachment #273295 - Flags: review?(enndeakin) → review+
Thanks Neil. What do you think about the textbox should it be greyed or not (in your opinion) when the datepicker is disabled?
Status: NEW → ASSIGNED
Whiteboard: [checkin needed]
Regis: you can use the checkin-needed keyword now, instead of the status whiteboard marker. That being said, it looks like the minor change from comment 8 hasn't been addressed, and you probably want Neil to answer the question before this gets checked in, so removing it for now.
Whiteboard: [checkin needed]
I wasn't aware of the keyword, thanks. About readonly not needed, I thought it wasn't an issue. Will make the change, sorry. About the question in comment 9, I think the inputbox state is not part of this bug but we sure can handle its state in this bug with the popup state.
Attached patch patch 2Splinter Review
Patch without "readonly" inherited following Neil's comment
Attachment #273295 - Attachment is obsolete: true
(In reply to comment #9) > Thanks Neil. > What do you think about the textbox should it be greyed or not (in your > opinion) when the datepicker is disabled? > Quite likely should be yes. It should behave the same as the timepicker in the windows/mac set date/time dialog. But that should be a different bug.
OK, => bug 389577 for the inputbox will attach a patch to it ASAP -> adding [checking needed] back
Keywords: checkin-needed
Assignee: nobody → regis.caspar+bz
Status: ASSIGNED → NEW
mozilla/toolkit/content/widgets/datetimepicker.xml 1.6
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: