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)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha8
People
(Reporter: mcdavis941.bugs, Assigned: regis.caspar+bz)
Details
Attachments
(3 files, 1 obsolete file)
|
9.38 KB,
image/jpeg
|
Details | |
|
601 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
|
2.15 KB,
patch
|
Details | Diff | Splinter Review |
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
| Reporter | ||
Comment 1•18 years ago
|
||
Shows popup datepicker as normal, readonly and disabled
| Assignee | ||
Comment 2•18 years ago
|
||
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?
| Assignee | ||
Comment 3•18 years ago
|
||
| Assignee | ||
Comment 4•18 years ago
|
||
Perhaps the input box should look disabled too?
| Reporter | ||
Comment 5•18 years ago
|
||
(In reply to comment #4)
> Perhaps the input box should look disabled too?
>
Yeah, it should probably have styling similar to a disabled textbox.
Comment 6•18 years ago
|
||
Régis, Neil Deakin (enndeakin@) could probably review this.
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
| Assignee | ||
Comment 7•18 years ago
|
||
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 8•18 years ago
|
||
Comment on attachment 273295 [details] [diff] [review]
patch
Looks OK.
Inheriting readonly isn't needed though.
Attachment #273295 -
Flags: review?(enndeakin) → review+
| Assignee | ||
Comment 9•18 years ago
|
||
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]
Comment 10•18 years ago
|
||
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]
| Assignee | ||
Comment 11•18 years ago
|
||
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.
| Assignee | ||
Comment 12•18 years ago
|
||
Patch without "readonly" inherited following Neil's comment
Attachment #273295 -
Attachment is obsolete: true
Comment 13•18 years ago
|
||
(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.
| Assignee | ||
Comment 14•18 years ago
|
||
OK, => bug 389577 for the inputbox will attach a patch to it ASAP
-> adding [checking needed] back
Keywords: checkin-needed
Updated•18 years ago
|
Assignee: nobody → regis.caspar+bz
Status: ASSIGNED → NEW
Comment 15•18 years ago
|
||
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.
Description
•