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

If lid closed: Screen freezes while alt-tab preview correctly shows state of Windows #3266

Closed
jens-k opened this issue Feb 18, 2023 · 17 comments
Labels
duplicate This issue or pull request already exists help wanted Extra attention is needed unreproducible Can not be reproduced

Comments

@jens-k
Copy link

jens-k commented Feb 18, 2023

Bug Description

Once in a while (sorry for being so vague), when being connected to another machine (both via public or local Rust server), the connection seems to get into a semi-frozen state in which I can still somehow interact with the current window (e.g. mark text) but all further interactions (press buttons, change windows etc.) do not seem to work.

However, if I do perform an action (e.g., press a button) and then use Alt-Tab to see the Windows previews, as if I were to switch to another window, the action was actually performed correctly and the real state of Windows is being shown to me in the preview. The actual screen, however, does not reflect this and remains in thie semi-frozen state.

How to Reproduce

Connect to remote machine, interact with it for a while.

Expected Behavior

I would expect the actual screen and the previews to match and to be able to interact with the machine.

Operating system(s) on local side and remote side

Windows 10 -> Windows 11

RustDesk Version(s) on local side and remote side

1.1.9 -> 1.1.9

Screenshots

Captura de pantalla 2023-02-18 163239

Please note how one window is still shown on the actual screen (Git installation), while it is not among the open windows in the previews (as in reality it is not there anymore).
In contrast, the GitHub installation window is not shown on the actual screen, while it has correctly been started and is shown in the preview.

Additional Context

No response

@rustdesk
Copy link
Owner

Try out nighly build please on both side.

@jens-k jens-k changed the title Rust freezes windows (while alt-tab preview correctly shows realtime state) Rust freezes while alt-tab preview correctly shows realtime state of Windows Feb 18, 2023
@jens-k
Copy link
Author

jens-k commented Feb 19, 2023

Thanks for your answer! I upgraded both sides to 1.2.0, but unfortunately, that did not help.

@rustdesk
Copy link
Owner

@fufesou

@rustdesk
Copy link
Owner

Could you upload a recording video?

@felixsevero
Copy link

I'm having a similar problem when I'm doing some remote support.
After a few seconds, I can't interact with the windows anymore, but sometimes I can still press the Windows Start Menu button and interact with the tray icons.
I'm using the latest version of Rustdesk (1.1.9) and both machines are Windows 10.

@fufesou
Copy link
Collaborator

fufesou commented Feb 23, 2023

After a few seconds, I can't interact with the windows anymore, but sometimes I can still press the Windows Start Menu button and interact with the tray icons.

@felixsevero Hi, do you mean the Windows Start Menu can be pressed when other window lose interaction?

BTW, did you have RustDesk installed? For the portable version, foreground sysmtem window or foreground process that run as admin will stop the interaction.

@felixsevero
Copy link

@felixsevero Hi, do you mean the Windows Start Menu can be pressed when other window lose interaction?

Hi, exactly that.

BTW, did you have RustDesk installed? For the portable version, foreground sysmtem window or foreground process that run as admin will stop the interaction.

I see, I'm using the portable version. I don't have the client's PC anymore, but I'll try to reproduce on a VM.

@rustdesk
Copy link
Owner

rustdesk commented Feb 23, 2023

UAC related, #3017, #104, install please.

@rustdesk rustdesk changed the title Rust freezes while alt-tab preview correctly shows realtime state of Windows Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC again) Feb 23, 2023
@rustdesk rustdesk changed the title Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC again) Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC) Feb 23, 2023
@felixsevero
Copy link

Just to let you know, when I tried with a VM the same thing happened, but when I installed it, as suggested by you, the problem was solved.

Thank you very much!

@jens-k
Copy link
Author

jens-k commented Feb 24, 2023

I'm not sure this is the problem I have. I use an installed version of Rust. Please find a video attached.

c219567635_20230224185650.mp4

In the beginning the video is already playing but remains black in Rust. Then when I change applications, the playing video is updated.
I then open several folders that are on the desktop. None of them is shown on the screen, but they appear in the Windows app preview (Alt-Tab). This latter part almost feels like there is another virtual screen on which the windows pop up but that is invisible to me via remote (which does not explain the freezing of windows, though, which I have experienced in several different applications).

@jens-k
Copy link
Author

jens-k commented Feb 24, 2023

Maybe it helps to say that the majority of glitches I am experiencing occurs when the lid of the laptop to which I connect is closed (while "When I close the lid" is set to "Do nothing" in the Systems setting).

@jens-k
Copy link
Author

jens-k commented Feb 25, 2023

Just to clarify, the computer to which I dial in is never locked.

@jens-k
Copy link
Author

jens-k commented Mar 2, 2023

Is there any further information I can give? I don't think the issue should be closed. Please check the video I posted, this issue still occurs. Thanks!
@rustdesk

@rustdesk rustdesk changed the title Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC) Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC limit, install please) Mar 2, 2023
@rustdesk rustdesk changed the title Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC limit, install please) Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC limit, install please) Mar 2, 2023
@rustdesk rustdesk reopened this Mar 2, 2023
@rustdesk rustdesk changed the title Rust freezes while alt-tab preview correctly shows realtime state of Windows (UAC limit, install please) Rust freezes while alt-tab preview correctly shows realtime state of Windows Mar 2, 2023
Repository owner deleted a comment from fufesou Mar 2, 2023
@rustdesk
Copy link
Owner

rustdesk commented Mar 2, 2023

Reopened.

Frankly, totally no clue, if you have installed the RustDesk (not run the portable version). Looking forward to someone else can give us some hint about the solution.

@rustdesk rustdesk added the help wanted Extra attention is needed label Mar 2, 2023
@jens-k
Copy link
Author

jens-k commented Mar 2, 2023

If there are problems playing the video, here is a dropbox link to it:
https://www.dropbox.com/s/m8fanytbx009zbg/rust%20issue%203266.mp4?dl=0

@rustdesk rustdesk changed the title Rust freezes while alt-tab preview correctly shows realtime state of Windows freezes while alt-tab preview correctly shows realtime state of Windows Apr 11, 2023
@rustdesk rustdesk added the unreproducible Can not be reproduced label Apr 11, 2023
@jens-k jens-k changed the title freezes while alt-tab preview correctly shows realtime state of Windows If lid closed: Screen freezes while alt-tab preview correctly shows state of Windows May 11, 2023
@jens-k
Copy link
Author

jens-k commented May 11, 2023

I reproduced the problem on first try on two different computers on a different network.
Operating system(s) on local side and remote side: Windows 10 -> Windows 11
RustDesk Version(s) on local side and remote side: 1.1.9 -> 1.1.9
Again, the laptop to which I dial in has the lid closed. Action when closing lid is set to "Do nothing".

Please see the video or here in higher res on Dropbox.

rust.issue.3266b-smaller.mp4

What you see in the video:
The video starts right after I closed an open text editor and a Chrome window and opened Windows Explorer. The screen looks like the text editor and Chrome are still open but frozen. Both window are entirely unreponsive. When I press Alt + Tab, you can see that they are not actually open anymore and have been replaced by the Explorer window. I try to bring the Explorer window to the front but nothing happens. I then open VLC. Also this window is not visible on the screen but show up in the Alt + Tab preview.
Opening the lid solves the problem immediately.

@rustdesk
Copy link
Owner

close to favor duplicate #4296

@rustdesk rustdesk added the duplicate This issue or pull request already exists label Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists help wanted Extra attention is needed unreproducible Can not be reproduced
Projects
None yet
Development

No branches or pull requests

4 participants