0xC0000054 / PSFilterPdn

A Paint.NET effect plugin that enables the use of 3rd party 8bf filters.
https://forums.getpaint.net/index.php?/topic/20622-psfilterpdn/
MIT License
37 stars 3 forks source link

DPI issue for opening plugins when multiple monitors with different DPI #9

Open HoLengZai opened 2 months ago

HoLengZai commented 2 months ago

Hello,

I didn't have this issue with old version of PSFilterPdn (i don't remember which version as I have already overwritten my previous version)

Main monitor (laptop, 15inch): 4K resolution Second monitor (24 inch): FullHD resolution I wish to have 2 monitors with the same resolution/DPI but i cannot find 24inch 4K screen easily

I normally use Paint.net (5.0.13) on my second monitor as it's bigger (24inch) but when I open the plugin, the plugin window by default opens on the main monitor and become very small since the new version of PSFilter, so I move it to the second monitor and the window size is OK. However, I didn't have this issue with previous version, and I can move smoothly the plugin window between main monitor and second monitor without dpi issue. I have also noticed that the tab menus are very small whatever the monitor I put the PSFilterPdn main window image

As a workaround I enable High DPI scaling override but it doesn't totally fix the issue as the plugin window only looks OK on main monitor but becomes very big on the second monitor. image

Thanks

0xC0000054 commented 2 months ago

Dynamic/Per-monitor DPI is not something I have tested with, but the plugin should correctly support the case where all monitors have the same DPI scaling. Changing the DPI properties for PSFilterShim.exe would not affect the main dialog or Paint.NET.