Opened 13 years ago
Closed 7 years ago
#6029 closed enhancement (patchwelcome)
Font Name in Editor doesn't show state for Arial, others not on list
Reported by: | Adam Peller | Owned by: | Adam Peller |
---|---|---|---|
Priority: | low | Milestone: | future |
Component: | Editor | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
This appears to be a shortcoming of FilteredSelect?. How do we get it to show values not on the list?
Attachments (1)
Change History (13)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Milestone: | 1.2 → 1.1 |
---|
comment:3 Changed 13 years ago by
Owner: | changed from liucougar to Adam Peller |
---|---|
Status: | new → assigned |
Changed 13 years ago by
mapping code for serif --> arial, etc plus an abbreviated test file with sample text in each font.
comment:4 Changed 13 years ago by
comment:5 Changed 13 years ago by
comment:6 Changed 13 years ago by
Priority: | normal → high |
---|
comment:7 Changed 13 years ago by
comment:8 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [13061]) specify generics, custom list as options on FontChoice?. Fixes #6029, #6035
comment:9 Changed 13 years ago by
Milestone: | 1.1 → 1.2 |
---|---|
Priority: | high → normal |
Resolution: | fixed |
Status: | closed → reopened |
Type: | defect → enhancement |
hmm... just realized there is another aspect to this. I think what I originally meant was the ability to have FilteringSelect? pick up values on-the-fly, whether based on selection or by the user typing something into the field that isn't in the data store. The mapping we put in place only solves the problem wrt CSS generic fonts, but there are endless font choices out there. Think about this for 1.2+
comment:10 Changed 12 years ago by
Milestone: | 1.2 → future |
---|
comment:11 Changed 8 years ago by
Priority: | high → low |
---|
comment:12 Changed 7 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | reopened → closed |
Unlikely this will be fixed unless someone wants to supply a patch (including a test case).
As Bill points out, there are a large number of issues with editor fonts, portability across locales and operating systems, and even with importing content, but to list them here would likely confuse a number of bugs.
The bug is simply that selecting a range in IE results in a font of Arial which is not presently on the list. A kludge would be to add that one font to the list. A more general solution would be to allow for any selected font to be tolerated by the Font Name toolbar widget, even if it's not in its known list.
To reproduce, in IE:
load test_Editor.html look for editor with font name dropdown select a range and select a font. click on something else the selection comes back as arial and the filtered select shows a warning and an inconsistent state with the last font chosen
it may be more involved than this, as I haven't investigated fully. I wanted to jot something down so this wouldn't get lost.