If I open the client on the second monitor and then disconnect the monitor, the window stays there and can麓t be moved to the main monitor.
If I disconnect the second monitor the client window should position itself on the main monitor.
A coworker here has this issue. His application is open on monitor #2 at the office, but when at home he only has the single screen and can't see the app (although the icon appears in the tray). Would be nice if this didn't occur at all (if opens on missing monitor, at least fall back to a default location on an existing one).
As a workaround, you can move it via:
This actually works for any windows application (I've had apps in the past do the same thing).
I'm also seeing this issue a lot. User has the program on a 2nd monitor at work, they RDP in from home, and the program is off screen.
This is on 2.6.0
I believe there's another workaround for this.
Quit rocket chat (not just close the window, but quit using the taskbar icon). Edit this file: C:\Users\USERNAME\AppData\Roaming\Rocket.Chat+\window-state-main.json
It may look like:
{
"width": 1000,
"height": 600,
"x": -1219,
"y": 320,
"isMaximized": false,
"isMinimized": false,
"isHidden": false
}
Edit the " x" coordinate to 0. Restart. Fixed.
@thehutman Brilliant tip! Thank you.
I'm having this issue as well.
Using laptop and when disconnecting from the dock, it doesn't reset, it stays on the secondary screen which isn't there anymore.
Did the same thing as @kau210 but it's annoying that you have to do it.
This issue still exists on the 2.9.0 Client and is really annoying, but the workaround works as well...
I created a Gist that makes it easier to use the workaround by @kau210 (at least on Windows).
It stops the currently running RocketChat Client, updates the window-state-main.json and starts RocketChat afterwards.
_Use with caution, it works for me and should my portable to other machines, but your mileage may vary..._
Problem still exists in version 2.10.5
I also have this problem in 2.10.5
This is still an issue. Pls fix.
This is a serious issue, please fix.
Why have you closed it ? Latest available Windows version is 2.14.1 and target milestone of this issue is 2.14.2. I think it's too early to make it closed because on 2.14.1 it still doesn't work.
@fuss86 We close the issues when the develop branch has the resolution merged to keep our milestone goals clear. In no way that means a "won't fix".
By the way, there is a beta release for 2.14.2: https://github.com/RocketChat/Rocket.Chat.Electron/releases/tag/2.14.2-beta.1
Most helpful comment
A coworker here has this issue. His application is open on monitor #2 at the office, but when at home he only has the single screen and can't see the app (although the icon appears in the tray). Would be nice if this didn't occur at all (if opens on missing monitor, at least fall back to a default location on an existing one).
As a workaround, you can move it via:
This actually works for any windows application (I've had apps in the past do the same thing).