Firefox needs to be restarted when changing the system DPI settings for it to display the content correctly
I am using the XFCE window manager in Linux. When I modify the system's DPI settings, I need to restart Firefox for the content to be displayed correctly.
Other programs such as Chrome automatically adapt content to use the new DPI settings. Is there any way to make this happen automatically?
Reproduction steps:
- Open Firefox, load a page
- In XFCE, go to Applications -> Settings -> Appearance -> Fonts, then change the "Custom DPI setting" field and hit Enter
- The page displayed in Firefox stays the same. The browser needs to be restarted to display the content correctly
Spremenil dvillegas
Vsi odgovori (2)
I think the base DPI might be set on a per-window basis when the window is created. So if you launch a new Firefox window after changing the system level DPI, it may reflect the change without your having to restart Firefox. Do you see that on yours?
If so, I realize that may leave a lot of tabs in the wrong-size window. You could experiment with multi-selecting a bunch of tabs in that window and sending them to a new window to see whether they then inherit the new DPI setting. (right-click one of the selected tabs, Move Tabs > Move to new window)
Hi Jefferson,
Thanks for the reply! Unfortunately, this doesn't seem to solve the issue. Neither opening a new window with Ctrl+N or moving a tab to a new window by choosing the menu option seem to apply the new DPI settings. So far the only way I've found for Firefox to use the right DPI is restarting it.