RegionToShare icon indicating copy to clipboard operation
RegionToShare copied to clipboard

Content freezes when resizing

Open supertx2 opened this issue 2 years ago • 5 comments

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.

supertx2 avatar Feb 03 '23 08:02 supertx2

I can't reproduce this, maybe a limitation of your environment?

tom-englert avatar Feb 05 '23 14:02 tom-englert

Had a VS2022 freeze on me and crash.

ValtsS avatar Feb 13 '23 14:02 ValtsS

Unless someone can provide a reliable way to reproduce or a stack trace or crash dump there is nothing I can do about this.

tom-englert avatar Feb 25 '23 16:02 tom-englert

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:

  1. Open RegionToShare
  2. Start sharing RegionToShare on MS Teams. Red box appears showing shared window
  3. Resize window several times. RegionToShare window retains a frame from before resizing which gets more corrupted the more you change the window size.
  4. Click within the RegionToShare window. The window becomes transparent again and starts working as normal.
  5. 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.

oliverparis avatar Aug 22 '23 13:08 oliverparis

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.

tom-englert avatar Aug 29 '23 07:08 tom-englert