Open Bug 1335360 Opened 4 years ago Updated 4 years ago

Highlighted word has no space after stylized characters

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
normal

Tracking

()

ASSIGNED
Tracking Status
firefox52 --- disabled
firefox53 --- disabled
firefox54 --- disabled
firefox55 --- wontfix
firefox56 --- disabled
firefox57 --- disabled

People

(Reporter: zstimi, Assigned: mikedeboer)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

[Affected versions]:
-Firefox 54.0a1

[Affected platforms]:
-Win 8.1 x64
-Ubuntu 16.04 x64
-Mac OS X 10.11

[Steps to reproduce]:
1. Launch Firefox.
2. Open link from additional notes.
3. Search for "test case" using "Ctrl"/"CMD" + "F"(without quote).

[Expected result]:
-The search highlights "test case" with the space between the words.

[Actual result]:
-The search highlights "test case" without the space between the words.

[Regression range]:

 Last good: 20161013030204
 First bad: 20161014060324
 Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=644b3de5d7a18b101d44a003bc27d50853dee4c9&tochange=a07fb64ae0a7dc76aa0f8e7067ed169baf11ef7c

[Additional notes]:
-Link for testing: https://bugzilla.mozilla.org/attachment.cgi?id=8762295
-Similar issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1279704
Has STR: --- → yes
Has Regression Range: --- → yes
Blocks: 1291278
Version: 54 Branch → Trunk
Is this a possible regression from bug 1283042?
Flags: needinfo?(mdeboer)
Highly unlikely. It's more likely to be caused by bradwerth's work on platform APIs helping the modal highlighting feature.

Brad, do you think your recent fixes also fixed this bug possibly?
Flags: needinfo?(mdeboer) → needinfo?(bwerth)
Nothing I've landed would have fixed this. I noted the same issue in Bug 1340731. The caller of getClientRectsAndText seems to strip leading whitespace before drawing the highlight text.
Flags: needinfo?(bwerth)
OK, thanks Brad. I will check out what we're doing wrong.
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
This is for the new find toolbar, correct?  So our shipping releases are not actually affected by this bug, correct?
Flags: needinfo?(mdeboer)
(In reply to Nathan Froyd [:froydnj] from comment #5)
> This is for the new find toolbar, correct?  So our shipping releases are not
> actually affected by this bug, correct?

Indeed.
Another release, another twiddling of flags.
AFAICT, we're not shipping this yet. Setting to disabled for all current versions.
Duplicate of this bug: 1340731
You need to log in before you can comment on or make changes to this bug.