Comment 4 for bug 1321903

Revision history for this message
In , csslayer (wengxt) wrote :

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131221082715

Steps to reproduce:

I'm using two screen with setup 3200x1800 on the left and 1600x1200 on the right under linux. DPI is set to 228 so by default right click menu height would only be a little bit smaller than 1200.
When devPixelsPerPx is larger than 1, firefox seems to think the screen size also times the factor. Which makes window in the right screen think they are in the left screen.

Actual results:

in my screen resolution setup, if devPixelsPerPx is set to 1.2, after right clicking on a window in 1600x1200 screen, clicking on the left part would show menu in the first screen, while the right half click would show menu in the right screen.

if devPixelsPerPx is set to some larger number (for instance 2), all popup menu that should be shown in the right screen would be shown in the left screen.

Expected results:

menu appears in correct screen.