RegionToShare
RegionToShare copied to clipboard
Content freezes when resizing
Environment
- Operating System: Windows 10 21H2
Describe the bug When I start the Region To Share and resize the app some times it freezes and I can't interact the the apps that are over it
To Reproduce Start the region to share and resize the window multiple times if needed
Expected behavior It should continue to work as expected after we resize the Region To Share to share window. If it's not expected to be able to resize after we start it shouldn't allow us.
I can't reproduce this, maybe a limitation of your environment?
Had a VS2022 freeze on me and crash.
Unless someone can provide a reliable way to reproduce or a stack trace or crash dump there is nothing I can do about this.
https://github.com/tom-englert/RegionToShare/assets/12477578/8b73ee63-10be-4b54-84e9-fa8747db7454
This is a screen recording of the behaviour I experience, and a workaround I found which is to simply click within the RegionToShare window.
The sequence of actions I take in the video are as follows:
- Open RegionToShare
- Start sharing RegionToShare on MS Teams. Red box appears showing shared window
- Resize window several times. RegionToShare window retains a frame from before resizing which gets more corrupted the more you change the window size.
- Click within the RegionToShare window. The window becomes transparent again and starts working as normal.
- Scroll window underneath RegionToShare, showing the window is now updating as expected.
Note: Resizing the RegionToShare window again after the initial resizing where it corrupts the view acts as expected - no further corruption occurs for the remainder of the sharing session.
I see, that's what you mean by "Freeze".
Well, I don't think there is much we can do about this - Teams seems to update the z-order of the windows, but RegionToShare does not know about what you do in Teams, it only can realize that the z-order is wrong when you click into the content.
So this is not easily avoidable, but has a simple workaround by clicking into the window.