You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug is likely to be seen only in the environment described in the title.
I am using a dual monitor setup. One monitor is 4K and the other is 1080p.
The issue occurs when the application is launched from the 1080p monitor and displayed on the 4K monitor. The issue is not seen in the other direction.
Bug Description
When the application is launched from the 1080p monitor (for example by double clicking the executable within Windows explorer) and the window is set to open on the 4K monitor, the wxTextCtrl's set for multiline rich text display their text enlarged.
There is a simple sample attached to demonstrate the issue. The sample consists of a simple window displaying 3 wxTextCtrl. The top control is set to multi-line rich text, the middle control is set to single line rich text and the bottom control is set to multi-line non rich text. There is also a resource file that declares a DPI aware level 2.
To Reproduce
Run the sample. It is important to launch the application from the 1080p monitor.
Observe the top text control displays the text larger than the others.
Note: It may be necessary to change the display integer in the sample to suit your system. The display for '1' (as the sample code) is for my 4K monitor but this will likely be different on other systems.
The attached image shows the result on my system.
Expected vs Observed Behaviour
The expected behaviour is for all of the text controls to display the text in a font of the same size.
Description
This bug is likely to be seen only in the environment described in the title.
I am using a dual monitor setup. One monitor is 4K and the other is 1080p.
The issue occurs when the application is launched from the 1080p monitor and displayed on the 4K monitor. The issue is not seen in the other direction.
Bug Description
When the application is launched from the 1080p monitor (for example by double clicking the executable within Windows explorer) and the window is set to open on the 4K monitor, the wxTextCtrl's set for multiline rich text display their text enlarged.
There is a simple sample attached to demonstrate the issue. The sample consists of a simple window displaying 3 wxTextCtrl. The top control is set to multi-line rich text, the middle control is set to single line rich text and the bottom control is set to multi-line non rich text. There is also a resource file that declares a DPI aware level 2.
To Reproduce
Note: It may be necessary to change the display integer in the sample to suit your system. The display for '1' (as the sample code) is for my 4K monitor but this will likely be different on other systems.
The attached image shows the result on my system.
Expected vs Observed Behaviour
The expected behaviour is for all of the text controls to display the text in a font of the same size.
Attachments
sample.zip
Platform and Version Information
The text was updated successfully, but these errors were encountered: