Overwolf reduces width and/or height of native windows when such windows are located on a screen which size is less than the app size.
For example, if your app width is 1280px and your screen width is 1080px, Overwolf will change your app width to 1080px so the whole app will be visible inside your screen. However, the right part of the app will be cut since this behavior is not expected (app content usually has a fixed size). Moreover, it should not happen when you move your native window from one monitor to a smaller one (e.g. from 1920x1080 to 1080x1920).
You can achieve a similar result if you change a scale factor in Windows settings (you may need to set 175% or higher on 1920x1080 resolution to reproduce the issue).
Note 1: if you move your native window from a smaller screen to a bigger one, Overwolf will reset the app size to its normal values.
Note 2: it happens even if you defined min_size in manifest.json.
– Normal view: https://sun9-23.userapi.com/eEfUrbklJHi8xrx0UgAPF_6BMpR-SI2fmkmbUg/okUcrOO4Be0.jpg (1920x1080)
– Wrong view: https://sun9-59.userapi.com/YAWuHZFemhrD2_VoE_3dBEH3Bd2EG1IBTzxYKA/6IVxnseYWyU.jpg (1080x1920, the app width was reduced automatically from 1280px to 1080px)
– Wrong view: https://sun9-67.userapi.com/4_Ej9DiXSpiDY5jqjGA6fG6MwxU5naNRLTVauQ/BI8KOUlLoFE.jpg (1080x1920, the right part of the app is cut)
… and more.
Steps to reproduce:
- Define a native desktop window in manifest.json.
- Specify its size (for example, width is 1280px and height is 720px).
3.1. Change your screen resolution so your screen width/height is less than your app width/height.
— or —
3.2. Move your app from one monitor to a smaller one (for example, if your second screen resolution is 1920x1080, change the orientation to Portrait).
Impact for my app: high (it also affects many other apps).
Do you currently have a workaround?