Open Bug 1934393 Opened 7 months ago Updated 3 months ago

pdf scrolling does not work reliably when desktop site is enabled

Categories

(GeckoView :: PDF Viewer, defect)

Firefox 135
All
Android
defect

Tracking

(Not tracked)

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

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

Steps to reproduce:

I opened a PDF in landscape orientation my tablet.
The same behaviour exists with a touchpad too (from my Samsung Keyboard Cover).
Tested in Firefox Beta (134.0b2) and Firefox Nightly (135.0a1)

Actual results:

Scrolling mostly works on the left side of the screen (not 100% reliably) and does completely not work on the right side (dead zone).
I'll try to attach a screen recording.

I measured where the dead zone begins, and it's exactly the height of my tablet (as in the width of my tablet in portrait orientation), which makes me believe the scrolling area is correct in the portrait orientation as it correctly uses the width of my tablet, but the scrolling area is incorrect in landscape as it uses the wrong widht in landscape orientation.

Expected results:

The scrolling should work on the whole screen in landscape orientation

Just realized the same issue happens with the pdf.js demo https://mozilla.github.io/pdf.js/web/viewer.html but only on Firefox Fenix, so I'm not sure if this is a pdf.js issue or a Fenix issue. Could this also be a WebCompat issue?

Thanks for reporting this bug. Is this a website PDF that you're opening or a local PDF? Also, can you provide us with your device and its Android version please?

Component: General → PDF Viewer
Flags: needinfo?(bugzilla)
Product: Fenix → GeckoView

In the screen recordings I opened a PDF from a website, but the same behaviour exists if I'm opening a local pdf (content://media/external/file/....).

An I'm on Android version 14, and the device is the Samsung Galaxy Tab S10 Ultra.

Let me know if I can provide some more information like logs or something like that!

Flags: needinfo?(bugzilla)

Ah I see. Thanks for providing us with this additional information and the videos. One more thing - it seems that you may have desktop mode toggled on - this is the new default for tablets but was recently temporarily disabled due to some regressions. Can you try toggling it off and seeing if you can still reproduce the issue?

Flags: needinfo?(bugzilla)

Yes this seems to be the issue, without desktop mode it works fine, and with desktop mode the bug appears.
Though opening PDFs without desktop mode makes them very small at first, so one needs to zoom in everytime when opening a PDF without desktop mode, would be great if this could be fixed in the desktop mode! Otherwise I at least know how to mitigate this issue until this has been fixed, thanks!

Flags: needinfo?(bugzilla)

Thanks for confirming, moving this back to Fenix :: General and adding this to the Desktop mode by default meta, as this may be a blocker for the feature to be re-enabled

Component: PDF Viewer → General
Product: GeckoView → Fenix
See Also: → 1875041

Confirming this as I was able to reproduce it on my emulator tablet.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: pdf scrolling does not work reliably in landscape orientation → pdf scrolling does not work reliably when desktop side is enabled
Summary: pdf scrolling does not work reliably when desktop side is enabled → pdf scrolling does not work reliably when desktop site is enabled

The Bugbug bot thinks this bug should belong to the 'Fenix::Media' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Media
Component: Media → General
Component: General → PDF Viewer
Product: Fenix → GeckoView
Whiteboard: [fxdroid][group4]
Whiteboard: [fxdroid][group4]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: