Closed
Bug 1467373
Opened 8 years ago
Closed 7 years ago
[TSF][TS_E_NOLAYOUT] Separate TS_E_NOLAYOUT hacks in TSFTextStore::GetTextExt() into new methods and disable these hacks on Win10 Build 17643 or newer
Categories
(Core :: Widget: Win32, enhancement)
Core
Widget: Win32
Tracking
()
RESOLVED
FIXED
mozilla63
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: inputmethod)
Attachments
(2 files)
Now, we have a lot of hacks of TS_E_NOLAYOUT bug of Windows:
https://searchfox.org/mozilla-central/rev/cf464eabfeba64e866c1fa36b9fefd674dca9c51/widget/windows/TSFTextStore.cpp#4428-4625
These hacks are ugly and makes difficult to check entire code in GetTextExt(). So, let's move those hacks into new methods, and then, stop running almost all of these hacks on Win10 Build 17643 or later since the bug of Windows has been fixed!
See also my blog post: https://d-toybox.com/studio/weblog/show.php?id=2018060200
FYI: Stopping running the hacks will make some IME behavior better.
| Assignee | ||
Comment 1•7 years ago
|
||
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Comment 4•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8996972 [details]
Bug 1467373 - part 1: Split hack for TS_E_NOLAYOUT part from TSFTextStore::GetTextExt()
https://reviewboard.mozilla.org/r/260948/#review268206
Attachment #8996972 -
Flags: review?(m_kato) → review+
Comment 5•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8996973 [details]
Bug 1467373 - part 2: Skip hacks for most TIPs in TSFTextStore::HackNoErrorLayoutBugs() if running on Windows 10 build 17643 or newer
https://reviewboard.mozilla.org/r/260950/#review268210
Attachment #8996973 -
Flags: review?(m_kato) → review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/79e964194d99
part 1: Split hack for TS_E_NOLAYOUT part from TSFTextStore::GetTextExt() r=m_kato
https://hg.mozilla.org/integration/autoland/rev/845a7347f1a9
part 2: Skip hacks for most TIPs in TSFTextStore::HackNoErrorLayoutBugs() if running on Windows 10 build 17643 or newer r=m_kato
Comment 7•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/79e964194d99
https://hg.mozilla.org/mozilla-central/rev/845a7347f1a9
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
| Assignee | ||
Updated•7 years ago
|
Summary: [TSF] Separate TS_E_NOLAYOUT hacks in TSFTextStore::GetTextExt() into new methods and disable these hacks on Win10 Build 17643 or newer → [TSF][TS_E_NOLAYOUT] Separate TS_E_NOLAYOUT hacks in TSFTextStore::GetTextExt() into new methods and disable these hacks on Win10 Build 17643 or newer
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•