RocketChat / Rocket.Chat.Electron

Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
https://rocket.chat/
MIT License
1.59k stars 700 forks source link

Rocket Chat Window doesn't start in the last known position #2714

Open bochenekm opened 1 year ago

bochenekm commented 1 year ago

Search before asking

Operating System

Operating System Version

Windows 10/11

It happens on the web browser too?

No, it just happens on the Desktop app

Rocket.Chat Desktop App Version

3.9.4 / 3.9.5 / 3.9.6

Rocket.Chat Server Version

6.2.5

Describe the bug

Rocket Chat window doesn't start in the last known position if the position was at the edge of the screen. No matter what edge (or corner) it is, RC always starts in random position. Problem occurs with multiple and single screen setups without changing the sreens setup.

If the last window position wasn't at the edge - RC starts in that position with unharmed window size.

Seems like the bug has appeared somewhere at the 3.9.x version, as with the version 3.8.x everything was working fine. We noticed the problem afrer updates.

How to Reproduce

  1. Open RC app.
  2. Move the RC wintow to the outer edge/corner of the screen.
  3. Close RC app.
  4. Open RC app.

Describe your Expected behavior

As we use multiple screens setup with many different aplications windows opened at the same time it's very important for us to have RC in the exact same position every time it turns on. It's very annoying to be forced to adjust this window every day on startup.

Anything else

No response

Are you willing to submit a code contribution?

preeesha commented 8 months ago

Heyy @bochenekm, thanks for sharing your experience and point out the bug.

@jeanfbrito, I would be delighted to work on this issue. I will be updating you with the status of the progress shortly.

Prisha Gupta

bochenekm commented 6 months ago

Hi @preeesha, please let me know if we can expect any updates on this issue. RocketChat didn't change its behavior since we reported this problem.

preeesha commented 6 months ago

Hey @bochenekm, glad you reconnected. Can you please share some sort of visual such as a video or GIF so that we can get a better hold of the problem. This way it will become easier for me to approach the problem.

Thanks.