Closed
Bug 826938
Opened 12 years ago
Closed 11 years ago
PDF viewer shows extra empty space after last page on HiDPI screens
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
VERIFIED
FIXED
Firefox 24
People
(Reporter: st3fan, Assigned: bdahl)
References
Details
(Keywords: regression, Whiteboard: [pdfjs-c-ux][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/3308)
Attachments
(3 files)
545 bytes,
text/html
|
Details | |
2.20 KB,
patch
|
yury
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
2.20 KB,
patch
|
yury
:
review+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Example document http://ww1.microchip.com/downloads/en/DeviceDoc/51953A.pdf
Expected:
When scrolling down I expect to not be able to scroll further down than just this one page document.
Actual:
It seems like there is an extra invisible page under the one page.
Comment 1•12 years ago
|
||
FWIW, this is WFM using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20130105 Firefox/20.0 ID:20130105030839 with PDF Viewer 0.7.45.
Assignee | ||
Comment 2•12 years ago
|
||
WFM me as well. What version of Firefox are you using?
Status: NEW → UNCONFIRMED
Ever confirmed: false
Whiteboard: [pdfjs-c-information-requested]
Comment 3•12 years ago
|
||
WFM also with latest Nightly.
Stefan, do you still see the issue?
Flags: needinfo?(sarentz)
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Mihaela Velimiroviciu [QA] (:mihaelav) from comment #3)
> WFM also with latest Nightly.
> Stefan, do you still see the issue?
Yes. Still same issue on Nightly.
I forgot to mention one thing that I realize might be important: I'm on a Retina MacBook Pro. Is it possible that this only happens on that hardware?
Flags: needinfo?(sarentz)
Comment 5•12 years ago
|
||
(In reply to Stefan Arentz [:st3fan] from comment #4)
> (In reply to Mihaela Velimiroviciu [QA] (:mihaelav) from comment #3)
> > WFM also with latest Nightly.
> > Stefan, do you still see the issue?
>
> Yes. Still same issue on Nightly.
>
> I forgot to mention one thing that I realize might be important: I'm on a
> Retina MacBook Pro. Is it possible that this only happens on that hardware?
Can you please try with a new profile ( http://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles ) or in safe mode ( http://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_how-to-start-firefox-in-safe-mode ) and see if it still reproduces?
Flags: needinfo?(sarentz)
I am unable to reproduce this with Firefox 19.0b5 though I'm not on a retina Mac. That may make a difference. I'll try to find someone with a retina Mac to confirm.
Comment 8•12 years ago
|
||
Using Retina MacBook Pro, I can reproduce. Issue occurs in both nightly 2013-02-07 and 19.0b5.
For comparison, I used nightly on an Ubuntu image, to see the difference.
If need be, I can take a video screenshot to demonstrate the visual behavior.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: PDF viewer shows extra empty space after last page → PDF viewer shows extra empty space after last page on HiDPI screens
Reporter | ||
Comment 9•12 years ago
|
||
FWIW This still happens for me with today's nightly. Right now I am looking at for example this document:
http://media.pragprog.com/titles/mbfpp/tail.pdf
Comment 10•12 years ago
|
||
Replicated on Windows 7 Nightly 23.0a1 (2013-04-02) with the example PDFs. There's one page-height of blank space below the document.
Please make it block Bug 820679 and change platform to All.
Comment 12•12 years ago
|
||
For Win 7, the regression is bug 844604.
Blocks: 844604
Keywords: regression
Comment 13•12 years ago
|
||
Starting with bdahl, unless we think that jfkthame's help is needed here.
Assignee: nobody → bdahl
status-firefox21:
--- → unaffected
status-firefox22:
--- → affected
status-firefox23:
--- → affected
tracking-firefox22:
--- → +
tracking-firefox23:
--- → +
Comment 14•12 years ago
|
||
Pinged Brendan about this, not a lot of time to address in FF22.
Reporter | ||
Comment 15•12 years ago
|
||
Just a quick message that this bug is still present in Nightly as of 23-May-2013
Assignee | ||
Comment 16•12 years ago
|
||
I'll try to check it out Tuesday when I can get a high dpi mac. However, I think this is somewhat low priority due to the problem it causes and how many people have high dpi screens.
Comment 17•12 years ago
|
||
If you have a 2560x1xxx screen kicking around, you can set hiDPI on that with SwitchResX. (or on Windows out of the box in the resolution control panel) On Windows you could also try 1920x1200 @ 144dpi.
(but you'll love the rMBP ;))
Comment 18•12 years ago
|
||
(In reply to Brendan Dahl from comment #16)
> I'll try to check it out Tuesday when I can get a high dpi mac. However, I
> think this is somewhat low priority due to the problem it causes and how
> many people have high dpi screens.
Agreed that we can ship without, but would rather now. The thinking behind tracking this bug is that FF22 is the first Firefox version to properly support Windows HiDPI.
Assignee | ||
Comment 19•12 years ago
|
||
// sorry for the spam, posted this in the duplicate bug...
On highdpi screens we create an extra large canvas and then scale the canvas down with a css transforms to improve the quality. The extra space is due to the handling of the scaling and calculating heights. I'm not exactly sure what the correct handling of this is since IE/Chrome/Firefox all have different results for the attachment (a highdpi screen is NOT needed to see the issues).
As a temporary workaround we can probably wrap the canvas in a div and hide the overflow, but we may want to investigate how this should be properly handled in another bug. I'll look into this tomorrow.
Comment 20•12 years ago
|
||
hiDPI vs. Canvas is something that needs to be thought through more thoroughly and deserves its own bug. I think something akin to backingScaleFactor for canvases makes the most sense.
Updated•12 years ago
|
Whiteboard: [pdfjs-c-information-requested] → [pdfjs-c-ux][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/3308
Assignee | ||
Comment 21•12 years ago
|
||
Attachment #757489 -
Flags: review?(ydelendik)
Assignee | ||
Comment 22•12 years ago
|
||
Attachment #757490 -
Flags: review?(ydelendik)
Updated•12 years ago
|
Attachment #757489 -
Flags: review?(ydelendik) → review+
Updated•12 years ago
|
Attachment #757490 -
Flags: review?(ydelendik) → review+
Assignee | ||
Comment 23•12 years ago
|
||
Comment on attachment 757489 [details] [diff] [review]
aurora patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): n/a
User impact if declined: Extra space after pdf pages for users with hidpi screens.
Testing completed (on m-c, etc.): in the pdf.js developer extension for over a week
Risk to taking this patch (and alternatives if risky): low, mainly css and html changes for content permission code
String or IDL/UUID changes made by this patch: none
Attachment #757489 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 24•12 years ago
|
||
Comment on attachment 757490 [details] [diff] [review]
beta patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): n/a
User impact if declined: Extra space after pdf pages for users with hidpi screens.
Testing completed (on m-c, etc.): in the pdf.js developer extension for over a week
Risk to taking this patch (and alternatives if risky): low, mainly css and html changes for content permission code
String or IDL/UUID changes made by this patch: none
Attachment #757490 -
Flags: approval-mozilla-beta?
Updated•12 years ago
|
Attachment #757489 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•12 years ago
|
Attachment #757490 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 25•12 years ago
|
||
What I talk about in comment #20 is actually covered in Bug 780362. My apologies.
Comment 26•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/1504352b0676
https://hg.mozilla.org/releases/mozilla-beta/rev/d0a27a8a2ccd
Fixed on trunk by bug 878897.
Status: NEW → RESOLVED
Closed: 12 years ago
status-firefox24:
--- → fixed
Depends on: 878897
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Comment 27•12 years ago
|
||
This doesn't appear to be fixed. I've tried FF23.0b4 from 2013-07-08 and FF24 from 2013-07-16.
The space is still there, and it looks identical to the shipping version of FF22.
Happy to help diagnose this further, if possible.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 28•11 years ago
|
||
If this isn't fixed on 24, please revert the status-firefox24 flag to affected and add any other development branches this still occurs on.
Comment 29•11 years ago
|
||
FF24 candidate looks A-OK.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•