The main interface cannot be displayed when using multiple monitors
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
@fufesou
@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
@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
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.
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.
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!
Getting the visible area of the screens requires some extra work.
This issue is not high priority.
- This issue is not a common one.
- We are currently working on the flutter version.
I will deal with this issue if more people give feedback.
Agree
Hi,
I have the same on my setup (like in the screenshot). It's:
- Left: 3840*2160 at 225%
- Right: 5120*1440 at 100%
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 🥲
PS: i use sciter not flutter
@SamGenTLEManKaka could you try flutter version?
Same for us, dual monitor, the main GUI goes offscreen... Now is totally usable, is there a tweak to overcome this ?
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/
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
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.
I think this https://github.com/rustdesk/rustdesk/pull/8075 fix the problem, please verify.