Closed
Bug 339192
Opened 19 years ago
Closed 19 years ago
Readonly textboxes shouldn't look active
Categories
(Core Graveyard :: Widget: Mac, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.8.1beta1
People
(Reporter: philor, Assigned: philor)
References
Details
(Keywords: fixed1.8.1)
Attachments
(4 files)
|
97 bytes,
text/html
|
Details | |
|
208 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
|
1.23 KB,
patch
|
hwaara
:
review+
mikepinkerton
:
superreview+
mark
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
|
88.87 KB,
image/png
|
Details |
Currently, only Windows (both sorts for XUL, Luna for HTML) shows readonly textboxes any differently than regular active ones: there, they have the same gray (well, threedface) background as disabled textboxes, but for Mac (and GTK) they are just a frustratingly broken field where you can't type.
Apparently, judging by the lack of bugs, it's not much of a problem in HTML, but we've got at least two consumers in XUL (bug 297815 and bug 337344) that need at least some hint that there's a reason why you can't change the value, just copy it.
Testcases and patch forthcoming.
| Assignee | ||
Comment 1•19 years ago
|
||
Assignee: joshmoz → philringnalda
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•19 years ago
|
||
| Assignee | ||
Comment 3•19 years ago
|
||
I'm not quite sure about the style of this, but it works, in Firefox for XUL, and CocoaFox and Camino for HTML.
Attachment #223269 -
Flags: review?(joshmoz)
| Assignee | ||
Comment 4•19 years ago
|
||
Camino, CocoaFox, and Safari rendering the HTML testcase with my patch applied.
Updated•19 years ago
|
Attachment #223269 -
Flags: review?(joshmoz) → review+
| Assignee | ||
Updated•19 years ago
|
Attachment #223269 -
Flags: superreview?(bryner)
Attachment #223269 -
Flags: review?(mikepinkerton)
Comment 5•19 years ago
|
||
Comment on attachment 223269 [details] [diff] [review]
Fix v.1
sr=pink
Attachment #223269 -
Flags: superreview?(bryner)
Attachment #223269 -
Flags: superreview+
Attachment #223269 -
Flags: review?(mikepinkerton)
| Assignee | ||
Updated•19 years ago
|
Whiteboard: [checkin needed]
Comment 6•19 years ago
|
||
mozilla/widget/src/mac/nsNativeThemeMac.cpp 1.51
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Comment 7•19 years ago
|
||
Phil, do you intend to seek 1.8.1 approval for this? I'd take it.
| Assignee | ||
Comment 8•19 years ago
|
||
I do (it's a blocker for a Firefox 2.0 blocker), I just wanted a little baking since I don't use Cocoa widgets in HTML for daily browsing, so I wanted to see if it screwed up something I hadn't noticed.
Plus I'm still confused over who does which reviews for whom here ;) How about if I request a= from you, and you can pass it off if that's not right?
| Assignee | ||
Updated•19 years ago
|
Attachment #223269 -
Flags: approval-branch-1.8.1?(mark)
Comment 9•19 years ago
|
||
Comment on attachment 223269 [details] [diff] [review]
Fix v.1
Good call! Module owners can grant 1.8.1 approval until June 15, or at least that was the plan a few days ago.
Attachment #223269 -
Flags: approval-branch-1.8.1?(mark) → approval-branch-1.8.1+
| Assignee | ||
Updated•19 years ago
|
Whiteboard: [checkin needed (1.8 branch)]
Comment 10•19 years ago
|
||
1.8: Checking in mozilla/gfx/src/mac/nsNativeThemeMac.cpp;
/cvsroot/mozilla/gfx/src/mac/Attic/nsNativeThemeMac.cpp,v <-- nsNativeThemeMac.cpp
new revision: 1.40.2.2; previous revision: 1.40.2.1
done
Keywords: fixed1.8.1
Whiteboard: [checkin needed (1.8 branch)]
You need to log in
before you can comment on or make changes to this bug.
Description
•