PDFs open in different windows if you click on different window when batch opening PDFs - related to bug 1792466 (Video)
Categories
(Firefox :: File Handling, defect, P5)
Tracking
()
People
(Reporter: anzepintar, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
621.02 KB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
Clicking on different firefox window when batch opening PDFs when the first PDF is loaded and the remaining PDFs are still loading. Related to bug 1792466
Actual results:
First PDF opens in one window and other open in second window.
Expected results:
All PDFs should open in the window, which was last in focus before opening PDFs.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
It's likely a file handling issue rather than a pdf.js one: pdf.js renders the pdf but doesn't "choose" the window/tab where to render it.
Comment 3•3 years ago
|
||
In BrowserContentHandler I see
handURIToExistingBrowser (resource:///modules/BrowserContentHandler.jsm#941)
dch_handle (resource:///modules/BrowserContentHandler.jsm#1188)
with urilist.length == 1
Comment 4•3 years ago
|
||
See https://bugzilla.mozilla.org/show_bug.cgi?id=1792466#c9, the problem is that Firefox in invoked by Windows multiple times, one per each file selected, and because of that we don't know which window was used for the first pdf or for the whole operation, it's totally separate operations from our point of view.
This is a lower priority than bug 1792466, since apart from the annoyance it's not a huge problem that pdfs are opened in different windows.
Updated•2 years ago
|
Description
•