Ticket #7661 (new defect)

Opened 6 years ago

Last modified 6 years ago

Font size in Firefox becomes too small after switching monitors

Reported by: greenrd Owned by:
Priority: minor Component: guest additions
Version: VirtualBox 3.2.10 Keywords:
Cc: Guest type: Linux
Host type: Mac OS X


I was running Firefox in a full-screen Kubuntu 10.10 guest, and I put my Macbook Pro to sleep and then unplugged the external monitor I was using. I then later woke up my Macbook Pro (without plugging it into an external monitor), went out of and back into full screen mode a few times because of issues with full screen mode, and then quit Firefox and ran it again. When Firefox restarted, its font size for its menus was almost unreadably small.

I have seen similar issues many times before on Fedora as well.

Change History

comment:1 Changed 6 years ago by greenrd

It's not just Firefox, either - if I do

killall kwin

and somehow regain control of the konsole, and then do


then kwin also uses a font size that is too small for window titles.

comment:2 Changed 6 years ago by greenrd

The DPI that the guest X server believes it has, according to xdpyinfo:

72x67 dots per inch

differs markedly from the DPI given by an XQuartz X server running on the host (on which programs display fine):

97x100 dots per inch

comment:3 Changed 6 years ago by greenrd


xrandr --dpi 97

(or whatever is the approximation of the correct value) and then restart all affected programs.

comment:4 Changed 6 years ago by michael

Is this with or without Additions?

comment:5 Changed 6 years ago by greenrd

With additions - it's the additions that are doing the guest display auto-resizing (or should be, but don't when you put the laptop to sleep before unplugging the external monitor).

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use