[PSS2017] Set DPI Compatibility when in Debug

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
datacore.glenn
Posts: 30
Last visit: Fri Jan 11, 2019 1:31 pm

[PSS2017] Set DPI Compatibility when in Debug

Post by datacore.glenn »

Hello,

I have a number of GUI projects which are quite sizeable and therefore which I shan't be adapting to make use of DPI-awareness any time soon. In fact, it is more likely that they will be refactored to use XAML and WPF controls. However in the interim I still need to make minor modifications periodically.

Working on a high DPI system, I find that the compiled .exe will scale correctly if I first set the display compatibility within the properties of said executable. If I do this, then the forms will render themselves exactly as they would on our low DPI target systems.

However this doesn't work when I am running the project in PSS Debug. Is it technically possibly that this might be made an option? With the debug host making use of OS-provided compatibility settings?

Regards,
Glenn
DPI_Compatibility.png
DPI_Compatibility.png (26.01 KiB) Viewed 1617 times
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: [PSS2017] Set DPI Compatibility when in Debug

Post by Alexander Riedel »

[Topic moved to correct forum by moderator]

Please make sure to always post in the correct forum and answer the version questions usually accompanying a new post. It will allow us to help you quicker.

Please provide the version information for PowerShell Studio and Windows. Additionally, all packaged applications and running in the debugger *should* be DPI aware without additional settings, unless you disabled manifests system wide or are using a different Windows version than we test with.
In order to determine how to help you, please post screenshots of the differences you see.
We will try to replicate your results and see what we can do.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 6 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.