FLTK logo

Re: [fltk/fltk] If app appears on non-active screen while active screen has screen scaling enabled, window resizes (#259)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] If app appears on non-active screen while active screen has screen scaling enabled, window resizes (#259) Webb Hinton Jul 20, 2021  
 

What happens if you move the window from one screen to the other screen and back? The expected behavior would be that the window keeps its size, as far as possible, if ... Assume the screen size is similar (e.g. 21") but the screens have different pixel sizes (effective: different resolutions, dpi).
Yes the screen sizes are similar, 21" for the 1080 and 24" for the 4k, I believe.

Yes, there is a small delay in the resizing. I've always understood that FLTK was doing some resizing of the window when moving it between mointors with different resolutions. I guess the problem is that in this particular situation where the window is popping up on the "non-active" window causes the window to appear in the incorrect position and can cause widgets to take on the wrong dimensions, as I described in the fltk-rs issue.

Screen capture: 1080p monitor on the left, 4k on the right:
https://user-images.githubusercontent.com/38958118/126364402-24674a70-df0f-4bcb-9677-ae3c6a77a75f.mp4


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.