搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Minimize, maximize and close buttons missing when previewing a PDF in a firefox window

  • 8 回覆
  • 1 有這個問題
  • 16 次檢視
  • 最近回覆由 cor-el

more options

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.

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.

所有回覆 (8)

more options

Apparently the screenshot didn't upload, so here it is.

more options

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.

more options

I don't see any option pertaining to just those buttons, is there a specific line you're referring to?

more options

Can you give that link out or is that a signed in account your showing?

more options

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.

more options

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!

more options

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 於 修改

more options

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.

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.