servoshell icon indicating copy to clipboard operation
servoshell copied to clipboard

External monitors shrink view port

Open sophiajt opened this issue 7 years ago • 3 comments

If you use servoshell on macOS and go out to an external monitor, the view gets shrunk to the lower left quadrant.

screen shot 2017-09-18 at 11 46 01 am

edit: this seems to only happen when using the full version. The minimal (glutin) version seems okay.

sophiajt avatar Sep 18 '17 00:09 sophiajt

Different DPI?

paulrouget avatar Sep 18 '17 14:09 paulrouget

Yup, looks like it is.

sophiajt avatar Sep 18 '17 16:09 sophiajt

Hmm, we need to do something similar to: https://github.com/paulrouget/servoshell/blob/0587cc0e6bd955e5b11e485fd7a284527955f663/src/main.rs#L134

Not sure how to detect the display change yet.

paulrouget avatar Sep 18 '17 17:09 paulrouget