Open
Bug 325251
Opened 20 years ago
Updated 20 years ago
In labels for controls we don't call |formatAccessKey()| when value is set
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
NEW
People
(Reporter: jag+mozilla, Assigned: jag+mozilla)
Details
Attachments
(2 files)
|
1.87 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
bzbarsky
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
|
2.65 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
This means that for such labels you're forced to set |value| before you set |accessKey| to trigger the formatting. In nsTextBoxFrame.cpp it triggers on both.
Comment 1•20 years ago
|
||
Actually, I faked out nsTextBoxFrame.cpp - if you have alwaysappendaccesskey set to true, and set a label to Cancel, then its access key to X, then the label to Cancel (X), then Cancel (X) is displayed, but if you set a label to Cancel (X), then the access key to X, then Cancel (X) (X) is displayed.
Comment 2•20 years ago
|
||
The code tries to optimize the attribute change but compares the wrong title.
Attachment #211284 -
Flags: superreview?(bzbarsky)
Attachment #211284 -
Flags: review?(bzbarsky)
Updated•20 years ago
|
Attachment #211284 -
Flags: superreview?(bzbarsky)
Attachment #211284 -
Flags: superreview+
Attachment #211284 -
Flags: review?(bzbarsky)
Attachment #211284 -
Flags: review+
Updated•20 years ago
|
Attachment #211284 -
Flags: branch-1.8.1?(bzbarsky)
Updated•20 years ago
|
Attachment #211284 -
Flags: branch-1.8.1?(bzbarsky) → branch-1.8.1+
| Assignee | ||
Comment 3•20 years ago
|
||
This is my "quickly hacked together without thinking _too_ much" patch from right before I filed this bug. If check boxes and radio buttons aren't covered by Neil's patch I can spend some time cleaning this up.
| Assignee | ||
Updated•20 years ago
|
Attachment #211309 -
Flags: review?(neil)
Comment 4•20 years ago
|
||
Comment on attachment 211309 [details] [diff] [review]
This is the fix I had for radio buttons and checkboxes.
This is just cut & paste & search & replace of previously reviewed code, right ;-)
Attachment #211309 -
Flags: review?(neil) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•