DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.94k stars 1.45k forks source link

Bug in behavior of maximizing window size on dual displays #1219

Closed yui10 closed 3 months ago

yui10 commented 4 months ago

Current behavior

It is not possible to maximize the DevToys window size on a second display or to reduce the window size from the maximized state.

How to reproduce it (as minimally and precisely as possible)

Place DevToys on the second screen and click the Maximize/Resize button.

Expected behavior

Alternate maximization and return to original size by clicking maximize/resize buttons.

Screenshots

https://github.com/DevToys-app/DevToys/assets/79691301/e576eb87-b965-489f-ba2e-3a36b3fa8a8f

https://github.com/DevToys-app/DevToys/assets/79691301/e75b50bb-2950-43a5-8bd6-5c66eac79e9f

Workaround

No response

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 2.0-preview.1

Relevant Assets/Logs

No response

veler commented 4 months ago

Hi, Thanks for reporting this issue. I have a fix ready here: https://github.com/DevToys-app/DevToys/pull/1226

yui10 commented 4 months ago

Thank you for your response.