Text highlight mismatch in view-source when layout.css.devPixelsPerPx is >= 1.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Confirmed
|
Unknown
|
|||
firefox (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
== The issue ==
Search and text selection highlighting visuals get mismatched with the actual selection in view-source when the value of `layout.
== Steps to reproduce ==
* Open `about:config`, find `layout.
* Open a view-source view with long lines: `view-source:https:/
* hit Ctrl+f, search for rss
* using the LMB, try selecting some text, then copy and paste it somewhere
== What happens ==
Screenshot 1: the highlighted text on the page is not ”rss”. The highlight doesn’t even adhere to letter widths.
Screenshot 2: the pasted text is not even close to what you’ve selected to copy.
== What I expect to happen ==
For the search to hightlight an occurence of ”rss”, and for the pasted text to correspond to what I’ve selected from the view-source view.
== Other info ==
* In my testing, a devPixelsPerPx value of 1.1 seems to not trigger this, whereas 1.2 and anything above does.
* In addition to 18.04 (whence the attached info is from) I’ve reproduced this in a VM running up-to-date 18.10.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: firefox 62.0.3+
ProcVersionSign
Uname: Linux 4.15.0-36-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
BuildID: 20181002130007
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 16 16:59:28 2018
InstallationDate: Installed on 2016-10-13 (733 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fi_FI.UTF-8
SHELL=/bin/bash
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in firefox (Ubuntu): | |
importance: | Undecided → Low |
Changed in firefox: | |
status: | Unknown → Confirmed |
I can reliably reproduce the bug with the steps provided.
@Jani: would you mind reporting the bug upstream at https:/ /bugzilla. mozilla. org/enter_ bug.cgi# h=dupes% 7CFirefox and sharing the link to it here?
When I search for upstream bug reports containing "layout. css.devPixelsPe rPx", I find several issues that are probably related to what you're seeing, but none mention the view-source: view, so I think a new bug would be useful.
Thanks!