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

The main interface cannot be displayed when using multiple monitors #6223

Open
SamGenTLEManKaka opened this issue Oct 30, 2023 · 14 comments
Open
Labels
bug Something isn't working

Comments

@SamGenTLEManKaka
Copy link

Bug Description

My laptop has an extended monitor, (the laptop's monitor is the main monitor) I open rustdesk's main interface on the extended monitor and remote others, then I finish remotely shutting down the software, I unplug the extended monitor and just use the laptop's Monitor, when I open the rustdesk software at this time, the main interface cannot be displayed on the main screen of the laptop. I guess it should be opened on the non-existent extended monitor.

How to Reproduce

Exiting rustdesk on the extended monitor, then unplugging the extended monitor and running the rustdesk software again can reproduce the problem stably.

Expected Behavior

When it runs again, it should correctly identify the monitor status and open it on the correct monitor.

Operating system(s) on local side and remote side

windwos10

RustDesk Version(s) on local side and remote side

1.2.3

Screenshots

none

Additional Context

No response

@SamGenTLEManKaka SamGenTLEManKaka added the bug Something isn't working label Oct 30, 2023
@rustdesk
Copy link
Owner

@fufesou

@fufesou
Copy link
Collaborator

fufesou commented Oct 30, 2023

@SamGenTLEManKaka Thanks for your feedback.

But I cannot reproduce this issue.

Can you please give some screenshots of the display settings before and after you unplugging the extended monitor? Thx

@SamGenTLEManKaka
Copy link
Author

SamGenTLEManKaka commented Oct 31, 2023

@fufesou
Thanks for the reply!
I have found many computers that can reproduce this problem stably.
And if I want to really see the main interface of the software running, I have to plug the extended monitor back in, otherwise I can't use the software.
Here is a screenshot of my configuration
PS: i use sciter not flutter
img_v2_216f8925-7b7d-4a3c-8fe0-2e28c4b9e9eg
img_v2_9e6d6d69-8d72-40c8-9d62-2cf10340993g

@fufesou
Copy link
Collaborator

fufesou commented Oct 31, 2023

Thanks for your kind reply.

i use sciter not flutter

It must be the reason. We did not handle the position well in sciter version.
I'll try fix it.

@DMSnz
Copy link

DMSnz commented Oct 31, 2023

In the mean time until a fix is out, what happens if you hover over the taskbar icon (dont click), once the preview window shows RustDesk, RIGHT click and say maximise or restore, does that flick it back to laptop monitor?
May not work but we had a weird similar bug in a program we use, this was how we got around it.

@SamGenTLEManKaka
Copy link
Author

In the mean time until a fix is out, what happens if you hover over the taskbar icon (dont click), once the preview window shows RustDesk, RIGHT click and say maximise or restore, does that flick it back to laptop monitor? May not work but we had a weird similar bug in a program we use, this was how we got around it.

Thanks for the reply!
Your approach can solve the problem!

@fufesou
Copy link
Collaborator

fufesou commented Nov 2, 2023

Getting the visible area of the screens requires some extra work.

This issue is not high priority.

  1. This issue is not a common one.
  2. We are currently working on the flutter version.

I will deal with this issue if more people give feedback.

@rustdesk
Copy link
Owner

rustdesk commented Nov 2, 2023

Agree

@SpikySpam
Copy link

SpikySpam commented Nov 3, 2023

Hi,

I have the same on my setup (like in the screenshot). It's:

  • Left: 3840*2160 at 225%
  • Right: 5120*1440 at 100%

rustdesk

Sometimes I can see a corner (when I did close the app on the left monitor), but it's completely gone when I close the app on the right (completely to the far right).

PS.:
I can't fit a bigger monitor on my desk 😂
Almost got it to work on my side.
Thanks!

PPS:
I can Maximize it via the Windows Taskbar Icon, and it resettles itself... So no worries.... None of my friends or family have ever seen such a resolution 🥲

@rustdesk
Copy link
Owner

rustdesk commented Dec 3, 2023

PS: i use sciter not flutter

@SamGenTLEManKaka could you try flutter version?

@AlcorSystem
Copy link

Same for us, dual monitor, the main GUI goes offscreen...
Now is totally usable, is there a tweak to overcome this ?

Repository owner deleted a comment from PotatoYummy Feb 15, 2024
@rustdesk
Copy link
Owner

rustdesk commented Feb 15, 2024

No idea if this can help.

https://answers.microsoft.com/en-us/windows/forum/all/program-open-in-task-bar-but-not-visible-on-screen/ef424c12-5f57-46eb-bb81-66563e284050

Or try modify %APPDATA%\RustDesk\config\RustDesk_local.toml by removing the line starting with wm_Main.

Another discussion https://www.reddit.com/r/rustdesk/comments/1ar98yt/cant_access_rust_desk_interface/

@rustdesk
Copy link
Owner

rustdesk commented Feb 15, 2024

Solutions

  • when storing postion, check postion against display coordinates, if it make sense, restore, otherwise use default pos.
  • saving displays information also, when restoring check if can match

@NewEraCracker
Copy link

I am having the exact same problem, but with the accept connection window.

I need to go trough hops like couple of WIN+D (to desktop, out of desktop), ALT+SPACE to bring context menu, and then restore, move or WIN+UP_ARROW to maximize.

Some helpful links:
https://superuser.com/questions/53585/how-to-move-windows-that-open-up-offscreen
https://superuser.com/questions/1099093/move-off-screen-window-back-to-screen-on-windows-10
https://superuser.com/questions/1267176/recover-windows-10-opening-off-screen

Please improve these mechanisms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants