Closed Bug 594284 Opened 16 years ago Closed 15 years ago

Text style and color does not apply properly when few words separately selected.

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 485638
mozilla1.9.3a5

People

(Reporter: rudra, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b6pre) Gecko/20100906 Firefox/4.0b6pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100907 Lightning/1.0b2 Lanikai/3.1.3 When choosing a few words and try to apply custom style or color to them will expectedly to see what styles are applied to all words, but in practice it applied only to the first highlighted word. Reproducible: Always Steps to Reproduce: 1.Create new email message. 2.Type few words 3.Select few words. 4.Apply text style or color. Actual Results: Style applying only to first selected word. Expected Results: Style applying to all selected words.
'thunderbird -safe-mode' gave me the same results.
I am not able to reproduce this using: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.10pre) Gecko/20100903 Lanikai/3.1.4pre ID:20100903002321 Which should be pretty close to the 3.1.3 release build. I'm not able to test in Linux.
I am sucessfuly reproduce this on: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100909 Lanikai/3.1.4preMozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100909 Lanikai/3.1.4pre May be it is linux related bug?
sucessfuly reproduce on: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10pre) Gecko/20100912 Lanikai/3.1.5pre Not a linux related bug.
OK To reproduce this, you must make separated selections. That is; make separated non-contiguous selection, then attempt to apply a font change. I'm not sure if this has ever worked though, so we should check in an older build. Marking as new, but further triage is needed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #6) > Marking as new, but further triage is needed. Joe would you have time to do it over the next week ?
(In reply to comment #7) > (In reply to comment #6) > > > Marking as new, but further triage is needed. > > Joe would you have time to do it over the next week ? Will do. Even if this turns out to be an enhancement request, it would be a valuable improvement since multiple selection is a common editing style. In the meantime I have a "weak" work-around: With the multiple selection still highlighted,if you apply the font change again, then the change is applied to the next selection. Might save someone a few key strokes.
Summary: Text style and color does not apply properly when few words selected. → Text style and color does not apply properly when few words separately selected.
I can reproduce this in the midas demo http://www.mozilla.org/editor/midasdemo/ New steps to reproduce: Open the midasdemo and choose a font Type in a few words in that font Hold down CNTRL and select multiple words Click on an attribute in the formatting toolbar (IE bold) Result: The attribute was only applied to the first selected word. Additional info: If you continue to toggle the selected icon so that all selections are updated, then further formatting toolbar selections are then applied to all selections, with just one click.
Component: Message Compose Window → Editor
OS: Linux → All
Product: Thunderbird → Core
QA Contact: message-compose → editor
Target Milestone: --- → mozilla1.9.3a5
Version: unspecified → Trunk
reproduced this on User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3 Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.