Apply a GDI region to the top level Island window to allow dragging with a single Xaml Island#929
Conversation
miniksa
left a comment
There was a problem hiding this comment.
Is there a visual difference when changing this? Like does it remove the pixel gap between the islands or the frame? Or is it just the drag area?
Can you MSPaint on a screenshot what the difference is so we can visualize it more easily?
Co-Authored-By: Michael Niksa <[email protected]>
Co-Authored-By: Michael Niksa <[email protected]>
|
/azp run |
1 similar comment
|
/azp run |
DHowett-MSFT
left a comment
There was a problem hiding this comment.
I'm comfortable with this. I just need a second signoff to merge it.
|
kinda odd how the borders at the top are rounded. Very few apps have rounded borders on Windows 10. One is Math Input Panel. |
|
They already said this will change in the future, Windows is getting rounded borders everywhere |
|
Introducing rounded corners after years of persistent sharp corners is hard and we don't have rounded corners right now anyway. I got a little off topic as it's more of a topic for the winui repo |
|
The real technical reason this is happening is that we're suppressing window decorations and drawing over them, and the kernel component in charge of that (don't ask) gives us a region with rounded corners. |
…ith a single Island (microsoft#929) * Use a region to cut off the dragable region * Use proper measurements for the draggable area * Working better, paint works most of the time * Fix a bug where paint is incomplete when double clicking the dragbar * Remove old fork on XamlApplication * Upgrade to XamlApp preview6.2 * Add Microsoft.VCRTForwarders to make it easy to dogfood Co-Authored-By: Michael Niksa <[email protected]> Co-Authored-By: Mike Griese <[email protected]>
…ith a single Island (microsoft#929) * Use a region to cut off the dragable region * Use proper measurements for the draggable area * Working better, paint works most of the time * Fix a bug where paint is incomplete when double clicking the dragbar * Remove old fork on XamlApplication * Upgrade to XamlApp preview6.2 * Add Microsoft.VCRTForwarders to make it easy to dogfood Co-Authored-By: Michael Niksa <[email protected]> Co-Authored-By: Mike Griese <[email protected]>
|
🎉 Handy links: |
Summary of the Pull Request
When Terminal is drawing in the non client area we no longer create 2 islands. Instead we create a single island and create a region that "pokes" the drag-able title bar area in the top right corner of the main window of terminal.
This change also fixes:
References
PR Checklist
Detailed Description of the Pull Request / Additional comments