Open Bug 1660474 Opened 1 year ago Updated 1 year ago

Table border in Print Preview Cut-Off


(Core :: Print Preview, defect, P3)

Firefox 81



81 Branch
Tracking Status
firefox81 --- affected


(Reporter: bobsfree, Unassigned)



(Keywords: nightly-community, Whiteboard: [print2020])


(6 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

Visit with the new print modal dialog in Nightly. Open the dialog and view the print preview.

I am running the latest Firefox Nightly on Gentoo Hardened, with a Systemd/Gnome stack on Wayland. I am running Webrender and Fission. I am running Mozilla-provided binaries.

Actual results:

Notice per the attached screenshot the missing right-hand border in the table in the print preview.

Expected results:

The table should have all the borders displayed and not be cut-off.

Attached file about:support

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

mozregression --launch 2020-08-20 --pref gfx.webrender.force-disabled:true -a
Confirmed. It also occurs with X11 and software rendering, so it's likely cross-platform.
Only some horizontal lines are missing for me, but different ones than on your screenshot.
I don't have a printer, but I assume the output would still be correct.
Edit: The PDF output looks correct.

Component: Widget: Gtk → Printing
Ever confirmed: true
OS: Unspecified → Linux
Product: Core → Toolkit
Hardware: Unspecified → x86_64
Duplicate of this bug: 1660473

Hi Emma, can you please set a priority and severity on this bug?

Flags: needinfo?(emalysz)
Severity: -- → S4
Flags: needinfo?(emalysz)
Priority: -- → P2
Whiteboard: [print2020_v81]

Hey Jonathan, have you come across this issue before?

Flags: needinfo?(jwatt)
Component: Printing → Print Preview
Product: Toolkit → Core
Target Milestone: --- → 81 Branch

Thanks for reporting this. Does this also happen for you with the preference print.tab_modal.enabled set to false?

(In reply to Emma Malysz from comment #6)

Hey Jonathan, have you come across this issue before?

There are several bugs on file related to printing tables. The closest in terms of behaviour that I can see is bug 1184707. This bug seems fairly unique though in that the borders are well within the margins of the page.

Hi Jonathan,

I have just tried this with print.tab_modal.enabled to false, and I cannot reproduce the issue.

Please see the newly attached view of the table in the old print preview dialog; it works as expected.

Is this just depending on the preview window size? I mean, it depends on scale.

Hello John, would you changing the scale value to the minimum (30% I think) in the old print preview UI? On my Linux box, a vertical border line disappear in the 30% scale in the old print preview window.

Flags: needinfo?(alexrees)

I suspect this is a graphics issue related to scaling as mentioned in comment 10. I can reproduce this on macOS depending on the scale in settings, with different borders disappearing at different scale values.

We have a few bugs on file for similar issues when the border is thin (1px): bug 1481307, bug 1476379, bug 1490361.

Summary: Table in Print Preview Cut-Off → Table border in Print Preview Cut-Off

Hi Sean and Hiroyuki,

Apologies for the delay in response.

I have confirmed that this does not seem reproducible any longer by default on the new print preview window, on my 27" 1920x1200 monitor. Presumably, this is now not visible due to the recent change that allowed the print-preview window to be more adaptive. Nonetheless, I am reasonably certain it would be visible on certain resolutions and configs.

I also suspect that this is due to scaling, given that it changes depending on the zoom setting.

Although it is not present by default anymore on my setup, I can easily reproduce it by trying to further zoom in the preview (from its default state) through the use of the scroll wheel.

Regarding your query for the old print preview dialog, I can confirm that indeed at 30% the border disappears completely, although if I again use the scroll wheel slightly, I can get some borders back.

Flags: needinfo?(alexrees)

I have also uploaded a couple more screenshots with the old print preview at 30%, before and after scrolling slightly.

While I was updating the bug, I thought I'd provide a screenshot of what I was saying re reproducing the issue on the default new preview after zooming slightly with the scrollwheel.

Thanks John!

Flags: needinfo?(jwatt)
Priority: P2 → P3
Whiteboard: [print2020_v81] → [print2020]
You need to log in before you can comment on or make changes to this bug.