Ticket #14735 (new defect)
RichTextCtrl underline not working correctly on Windows
| Reported by: | transana | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxRichText | Version: | |
| Keywords: | underline windows RichTextCtrl | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
On Windows, ApplyUnderlineToSelection() doesn't always show up immediately. If you underline a selection, the underlining for that original selection won't show up until a subsequent Underline, Bold, or Italics call is made elsewhere.
Removing underlining always occurs immediately. Bold and Italics work immediately. Underlining works fine on lines that also contain bold or italics, but not when used alone. The same code that fails on Windows works correctly on Ubuntu and OS X.
I've verified this in wxPython 2.8.12.1 and 2.9.4.0, and was referred here by Robin Dunn, who suggested this was more likely a wxWidgets issue than a wxPython issue.

