為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

popup does not resize properly to window container

  • 3 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 mr_soapdish

more options

Recently, something happened with popups where when one occurs, the content is so tiny I can't read it. I tried to zoom in on the content (Mac command +) but it only sizes the content inside of the flexbox to the its limits. I tried cycling through the values (0,1,2) on the about:config property "browser.link.open_newwindow.restriction" and setting it to 0 allows it to open in a new tab full window. I am guessing this issue is something that needs to be addressed on the developer end, but I was wondering if there was something else I am not seeing?

Note: The attached image was zoomed in from the original size.

Update: I have also attempted to swap the boolean value for "dom.disable_window_open_feature.resizable" and it doesn't fix the issue.

Recently, something happened with popups where when one occurs, the content is so tiny I can't read it. I tried to zoom in on the content (Mac command +) but it only sizes the content inside of the flexbox to the its limits. I tried cycling through the values (0,1,2) on the about:config property "browser.link.open_newwindow.restriction" and setting it to 0 allows it to open in a new tab full window. I am guessing this issue is something that needs to be addressed on the developer end, but I was wondering if there was something else I am not seeing? Note: The attached image was zoomed in from the original size. Update: I have also attempted to swap the boolean value for "dom.disable_window_open_feature.resizable" and it doesn't fix the issue.
附加的畫面擷圖

由 mr_soapdish 於 修改

被選擇的解決方法

Try to rename/remove xulstore.json (xulstoreOLD.json) in the Firefox profile folder with Firefox closed.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

Hmm, I wonder if the developer messed up sizing on Retina (double-pixel-density) displays?

Judging from your screenshot, it seems that the document body has been restricted in size, so enlarging the window has no effect on the visible area. It's possible to inject alternate style rules into that area using an add-on or by hand using the Page Inspector, but your workaround of directing the popup to a new tab seems simpler if you don't need the new window to float in front of the original page.

more options

選擇的解決方法

Try to rename/remove xulstore.json (xulstoreOLD.json) in the Firefox profile folder with Firefox closed.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Renaming the JSON profile worked. It's an interesting problem because it seemed to happen all of a sudden for no apparent reason, a bit frustrating but at least this worked.