Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Fix full screen window issue in multiple montiors #419

Open
core-ai-bot opened this issue Aug 17, 2021 · 4 comments
Open

[CLOSED] Fix full screen window issue in multiple montiors #419

core-ai-bot opened this issue Aug 17, 2021 · 4 comments

Comments

@core-ai-bot
Copy link
Member

Issue by sobisht
Friday Apr 13, 2018 at 10:50 GMT
Originally opened as adobe#638


Issue: adobe/brackets#13349

  • Currently we are not handling the WM_NCPAINT for dark aero glass. This causes the issue when we delegate this handling to the OS.
    To fix this issue, I have added a handle for dark aero similar to the one present for dark window.

  • This will also fix the following issue
    brackets

The boundaries of the non client area is not correctly painted when we launch brackets in maximized window and go from maximize to restored window.
After the fix
brackets_fix

Unit tested the fix

  • On Win10 builds before and after creators update.
  • On Dual monitors with different resolution
  • On Dual monitors with one monitor with high DPI.

Please review @nethip @swmitra @vickramdhawal @JeffryBooher


sobisht included the following code: https://github.com/adobe/brackets-shell/pull/638/commits

@core-ai-bot
Copy link
Member Author

Comment by nethip
Friday Apr 13, 2018 at 11:00 GMT


Thanks for the PR @sobisht . Great work!

I see that these are also not handled inside cef_aero_dark_window. Does it make sense to handle the following as well?

WM_NCCREATE
WM_NCDESTROY
WM_NCHITTEST

@core-ai-bot
Copy link
Member Author

Comment by sobisht
Friday Apr 13, 2018 at 11:24 GMT


@nethip

  • We are already handling WM_NCHITTEST in cef_dark_aero_window::DwpCustomFrameProc().
  • The functionality related to WM_NCCREATE is done by HandleCreate() for WM_CREATE. On adding the handling of WM_NCCREATE introduces the issue again.
  • And WM_NCDESTROY is handled by cef_window::WindowProc() called in cef_dark_aero_window::WindowProc().

So explicit handling of this messages might not be required.

@core-ai-bot
Copy link
Member Author

Comment by nethip
Friday Apr 13, 2018 at 11:24 GMT


Thanks for confirming @sobisht!

@core-ai-bot
Copy link
Member Author

Comment by nethip
Friday Apr 13, 2018 at 11:25 GMT


Thanks for fixing this @sobisht

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant