PrintPreview display spurious text
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(firefox77 affected, firefox78 affected, firefox79 affected)
People
(Reporter: pchoma2, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
Steps to reproduce:
FireFox ver 77.0
URL: https://www.libreoffice.org/
Perform PrintPreview
Actual results:
Page displays with spurious text: (/#header (/#
Expected results:
Should not display spurious text.
Comment 1•5 years ago
|
||
Hi,
Thanks for the details. I was able to reproduce on (OS), on the following versions, on win 10 pro.
I've tried Release 77.0 (64-bit),
Beta 78.0b5 (64-bit) (64-bit) and
Firefox Nightly 79.0a1 (2020-06-11) (64-bit)
This won't occur in chrome.
I will move this over to a component so developers can take a look over it. If is not the correct component please feel free to change it to an appropriate one.
Thanks for the report.
Comment 2•5 years ago
|
||
I see the same thing in Safari on macOS. It looks like it's rendering the href attribute of the carousel left/right arrows underneath the buttons, like a caption.
The same thing seems to happen with other links, like the "DOWNLOAD NOW" button -- note the added (/DOWNLOAD/DOWNLOAD/) path that appears after it in the print output. Similarly (/discover/libreoffice/), (/about-us/), etc. These links appear in the print preview on Chrome as well. So I assume that's the intended rendering for "clickable" links when generating print output.
For some reason, though, the carousel left/right arrows don't appear at all in Chrome's print preview, and so naturally their link text (/#header) doesn't appear either. I'm not sure what the site is doing that causes these elements to be omitted from the Chrome print rendering -- probably something Chrome-specific in their CSS, but I didn't immediately find it.
Moving to webcompat component for further consideration. Given this appears in Safari as well as Firefox, I think it's more of a site bug than a Firefox issue. Maybe we can contact the site to look into what they're doing for Chrome here, and why other browsers aren't supported in the same way?
Comment 3•5 years ago
|
||
I can't reproduce it on my side.
https://prnt.sc/w8jzsp
Tested with:
Browser / Version: Firefox Nightly 86.0a1 (2020-12-22)
Operating System: Windows 10 Pro
Peter Choma does it still occur on your side?
| Reporter | ||
Comment 4•5 years ago
|
||
Yes, still reproducible on demand in ver: 84.0. See the new attachment
| Reporter | ||
Comment 5•5 years ago
|
||
Still reproducible in latest ver 84.0.1
Spurious text:
(/#|
(#Header)
Comment 6•5 years ago
|
||
This seems to be dependent on the paper size/margins; it only appears if the available width is large enough. So for example I see the problem if I select "margins: none" with A4 or US Letter paper, or if I switch to landscape orientation, but not with portrait & default margins.
As described in comment 2, this is a site issue, not a Firefox bug, and can be reproduced in other browsers as well -- again, dependent on page width. (Note that unlike what comment 2 says, this does reproduce in Chrome as well, if a wide paper size (e.g. landscape orientation) is selected.)
I think we should simply resolve this as INVALID as a Firefox bug. The place to report the problem is the LibreOffice project; it's their website that has bad styling when printed with a wide paper size.
| Reporter | ||
Comment 7•5 years ago
|
||
Neither Chrome nor Microsoft Edge browsers have this problem with the LibreOffice project website. I provided that web site as an easily reproducible example. Only the Firefox browser has this problem. So this is NOT a site issue - but a specific Mozilla FireFox issue.
I have found FireFox printing to be unreliable with multiple web sites and have had to frequently switch to Chrome to get a reasonable printout.
Clearly Firefox has multiple problems in the print area. Closing a problem report does not help address the underlying issues in FireFox printing. Nor does it help to say it is a web site issues when multiple other browsers DO NOT have the same print problem.
Comment 8•5 years ago
|
||
As mentioned above, this is not just a Firefox issue; but it's sensitive to the exact paper size set in the printer driver, so some experimentation might be needed to reproduce in other browsers. This screenshot shows similar "spurious" text appearing in the print preview in Chrome, when the paper size is set to US Letter and Landscape orientation.
Comment 10•4 years ago
|
||
We appreciate your report. I was not able to reproduce the issue. The "Print Preview" displays the text as expected, with no issues encountered
Tested with:
Browser / Version: Firefox Nightly 92.0a1 (2021-07-22) (64-bit)/
Operating System: Windows 10 PRO x64
Is the issue reproducible on your side using the latest build of Firefox Nightly? If so could you please try clearing cache/data/cookies, disable addons and Ad-blocker (if available), or use a clean profile, and check again? If there are any changes made to the default settings of the browser (e.g. in about: config) please revert to the default settings and try again. Also, have the required cookies been accepted for this page?
Comment 11•4 years ago
|
||
As I've explained above (see comment 6, and screenshot in comment 8) this is a site issue, not a Firefox bug. The "spurious" text appears or not depending on the exact size of the page, presumably because of poorly-designed @media rules in the site's CSS.
E.g. in Chrome, choosing a larger paper size like Tabloid or A3 causes it to appear, or selecting Landscape orientation. It also appears in Safari.
| Reporter | ||
Comment 12•4 years ago
|
||
I agree with bug closure.
Still happens in FireFox v90.0.2 in print preview US letter landscape mode.
But also happens in chrome Version 91.0.4472.164 in print landscape mode and paper size is changed from US letter to US legal.
So it does appear to be a site problem.
Description
•