![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Minimize, maximize and close buttons missing when previewing a PDF in a firefox window
When clicking on a link to open a PDF, the PDF opens in a new window ("Preview in Firefox" is selected) but the minimize, maximize and close buttons are missing on that new window only. The window from which I clicked the PDF link has the buttons. See attached screenshot. Any ideas? This started about a week ago (I believe right after an update,) and I have the same problem on a pc at home running windows 10.
All Replies (8)
Apparently the screenshot didn't upload, so here it is.
The website might be opening a pop-up window and specify to hide some controls. There are prefs present on the about:config page to control what websites are allowed to do. You can set these prefs to true to prevent the website from disabling a specific feature.
- dom.disable_window_open_feature.*
You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.
I don't see any option pertaining to just those buttons, is there a specific line you're referring to?
Can you give that link out or is that a signed in account your showing?
Hi ToyotaMike, those buttons should be there, at least the close (X) button if not the others.
Do you currently have any customized settings here:
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.
(2) In the search box above the list, type or paste open_feat and pause while the list is filtered
Preferences that are bolded or italicized have been modified from their default values.
(I only change dom.disable_window_open_feature.toolbar => true to guarantee I always have the full main toolbar in a popup window.)
As a workaround, Windows has a shortcut to show a control menu with those three commands: hold down the Alt key and tap the spacebar.
WestEnd, I am signed in on a work account that I can't give out, sorry.
Jscher2000, none of the preferences are bold or italicized, I like the full toolbar modification, so thanks for that tip! Alt+spacebar was also new to me, thank you!
This honestly seems like a bug to me, thanks for the help so far!
Stumbled on some interesting information this morning, I accidentally turned off the menu bar (file, edit, view etc.) and the minimize, maximize and close buttons reappeared on the new window. See attached screenshots. Not sure what this means, but it's new information. Yes, they disappear again if I turn the menu bar back on.
ToyotaMike trɔe
The control buttons normally appear on the Title bar or the Menu bar. If both these toolbars are hidden then these icon should appear on the Tab bar. If that isn't working then you may have code in userChrome.css that hides these buttons.
- https://www.userchrome.org/how-create-userchrome-css.html
- https://www.userchrome.org/what-is-userchrome-css.html
Otherwise in a pop-up window it is possible that the website hides these buttons and Firefox comes with prefs to allow websites to hide some items like posted above.