Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Issue 371413002: Don't split text runs on underline style change (Closed)

Created:
6 years, 5 months ago by Tomasz Moniuszko
Modified:
6 years, 3 months ago
Reviewers:
msw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Don't split text runs on underline style change BUG=392154 Committed: https://crrev.com/a7fd79d2cddafb635489bd5a2a65dc647af6a927 Cr-Commit-Position: refs/heads/master@{#295444}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Don't split text runs on underline style change (with code review fixes) #

Patch Set 3 : Don't split text runs on underline style change (CharRangeToGlyphRange fixed) #

Patch Set 4 : Avoid applying style change in the middle of grapheme #

Total comments: 3

Patch Set 5 : Avoid applying style change in the middle of grapheme #

Patch Set 6 : Avoid breaking text runs in the middle of grapheme #

Patch Set 7 : Avoid applying style change mid-grapheme #

Total comments: 6

Patch Set 8 : Avoid applying style change mid-grapheme #

Patch Set 9 : Avoid applying style change mid-grapheme #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -9 lines) Patch
M ui/gfx/render_text.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -3 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -6 lines 0 comments Download

Messages

Total messages: 32 (3 generated)
Tomasz Moniuszko
6 years, 5 months ago (2014-07-08 13:28:37 UTC) #1
msw
Does this defect still exist with --enable-harfbuzz-rendertext? Are the menu mnemonic key underline ranges actually ...
6 years, 5 months ago (2014-07-08 17:20:54 UTC) #2
Tomasz Moniuszko
On 2014/07/08 17:20:54, msw wrote: > Does this defect still exist with --enable-harfbuzz-rendertext? Yes, it ...
6 years, 5 months ago (2014-07-16 10:35:33 UTC) #3
Tomasz Moniuszko
https://codereview.chromium.org/371413002/diff/1/ui/gfx/render_text_win.cc File ui/gfx/render_text_win.cc (right): https://codereview.chromium.org/371413002/diff/1/ui/gfx/render_text_win.cc#newcode894 ui/gfx/render_text_win.cc:894: position < intersection.end(); ) { On 2014/07/08 17:20:53, msw ...
6 years, 5 months ago (2014-07-16 10:35:45 UTC) #4
msw
https://codereview.chromium.org/371413002/diff/1/ui/gfx/render_text_win.cc File ui/gfx/render_text_win.cc (right): https://codereview.chromium.org/371413002/diff/1/ui/gfx/render_text_win.cc#newcode900 ui/gfx/render_text_win.cc:900: if (decorated_glyphs.is_empty()) On 2014/07/16 10:35:45, Tomasz Moniuszko wrote: > ...
6 years, 5 months ago (2014-07-16 19:52:39 UTC) #5
Tomasz Moniuszko
On 2014/07/16 19:52:39, msw wrote: > https://codereview.chromium.org/371413002/diff/1/ui/gfx/render_text_win.cc > File ui/gfx/render_text_win.cc (right): > > https://codereview.chromium.org/371413002/diff/1/ui/gfx/render_text_win.cc#newcode900 > ...
6 years, 5 months ago (2014-07-21 09:52:04 UTC) #6
Tomasz Moniuszko
On 2014/07/16 10:35:33, Tomasz Moniuszko wrote: > On 2014/07/08 17:20:54, msw wrote: > > Does ...
6 years, 5 months ago (2014-07-21 09:53:05 UTC) #7
Tomasz Moniuszko
6 years, 5 months ago (2014-07-21 09:53:30 UTC) #8
Tomasz Moniuszko
Hi msw, Do you think this patch is ready for integration now? Should RederTextHarfBuzz also ...
6 years, 4 months ago (2014-08-21 11:33:26 UTC) #9
msw
I think this is the wrong approach. The underline range supplied for the single character ...
6 years, 3 months ago (2014-09-02 20:18:21 UTC) #10
Tomasz Moniuszko
On 2014/09/02 20:18:21, msw wrote: > I think this is the wrong approach. The underline ...
6 years, 3 months ago (2014-09-03 14:25:02 UTC) #11
msw
On 2014/09/03 14:25:02, Tomasz Moniuszko wrote: > On 2014/09/02 20:18:21, msw wrote: > > I ...
6 years, 3 months ago (2014-09-03 19:17:33 UTC) #12
Tomasz Moniuszko
On 2014/09/03 19:17:33, msw wrote: > On 2014/09/03 14:25:02, Tomasz Moniuszko wrote: > > On ...
6 years, 3 months ago (2014-09-04 14:46:43 UTC) #13
msw
On 2014/09/04 14:46:43, Tomasz Moniuszko wrote: > Unfortunately this approach doesn't work properly in all ...
6 years, 3 months ago (2014-09-04 18:03:43 UTC) #14
ckocagil
Patch set 5 + either solution sounds good to me. Mike, is there a reason ...
6 years, 3 months ago (2014-09-04 18:12:50 UTC) #15
msw
On 2014/09/04 18:12:50, ckocagil wrote: > Patch set 5 + either solution sounds good to ...
6 years, 3 months ago (2014-09-04 18:17:03 UTC) #16
ckocagil
On 2014/09/04 18:17:03, msw wrote: > On 2014/09/04 18:12:50, ckocagil wrote: > > Patch set ...
6 years, 3 months ago (2014-09-04 18:32:16 UTC) #17
Tomasz Moniuszko
Patch Set 6 is the solution (2) applied to RenderTextWin. There are some drawbacks of ...
6 years, 3 months ago (2014-09-05 14:21:08 UTC) #18
msw
On 2014/09/05 14:21:08, Tomasz Moniuszko wrote: > Patch Set 6 is the solution (2) applied ...
6 years, 3 months ago (2014-09-05 19:43:13 UTC) #19
Tomasz Moniuszko
> Instead, try "clearing [ranged] styles on SetText" (1), if that's simple. Done in Patch ...
6 years, 3 months ago (2014-09-08 10:42:52 UTC) #20
msw
Looks pretty good; just some minor comments. https://codereview.chromium.org/371413002/diff/120001/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): https://codereview.chromium.org/371413002/diff/120001/ui/gfx/render_text.cc#newcode420 ui/gfx/render_text.cc:420: // Clear ...
6 years, 3 months ago (2014-09-08 19:29:35 UTC) #21
Tomasz Moniuszko
https://codereview.chromium.org/371413002/diff/120001/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): https://codereview.chromium.org/371413002/diff/120001/ui/gfx/render_text.cc#newcode420 ui/gfx/render_text.cc:420: // Clear style ranges as they might break new ...
6 years, 3 months ago (2014-09-09 09:59:15 UTC) #22
msw
Excellent, thank you for your help and patience. LGTM
6 years, 3 months ago (2014-09-09 16:40:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmoniuszko@opera.com/371413002/140001
6 years, 3 months ago (2014-09-10 07:58:58 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/12084)
6 years, 3 months ago (2014-09-10 09:07:59 UTC) #27
Tomasz Moniuszko
On 2014/09/10 09:07:59, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-17 12:14:01 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/371413002/160001
6 years, 3 months ago (2014-09-18 09:05:30 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:160001) as cd4ff0d3609e32bdf44da9588e12bc1e092534e6
6 years, 3 months ago (2014-09-18 10:12:08 UTC) #31
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 10:56:12 UTC) #32
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/a7fd79d2cddafb635489bd5a2a65dc647af6a927
Cr-Commit-Position: refs/heads/master@{#295444}

Powered by Google App Engine
This is Rietveld 408576698