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

Linux Gnome Desktop Client: remember window position and window size on external monitor #8282

Open
2 tasks done
jackwilliams79 opened this issue Jan 16, 2025 · 3 comments
Open
2 tasks done
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues

Comments

@jackwilliams79
Copy link

  • This is not a feature request (existing functionality does not work, not missing functionality).
    I will request features on forum or via support.
  • I've searched and did not find a similar issue.

Describe the bug
Tuta Desktop Client, currently running on Fedora 41 with Gnome 47, doesn't remember either window position nor window size.

I have a 2-Monitor-Setup (Laptop internal monitor and one external monitor). Every time I start the Tuta Desktop client, it opens on the laptop's internal monitor and always with the same window size (width, height). If I drag the window over to the external monitor and maximize it, after restarting the app, it reopens on the internal monitor.

To Reproduce
Steps to reproduce the behavior:

  1. Start Tuta Desktop Client
  2. Move and resize window
  3. End Tuta Desktop Client app (not only the app's window but also exiting the icon in the menu bar)
  4. Reopen Tuta Desktop Client

Expected behavior
I expect it to remember the last window position and size, across multiple monitors. If the window was maximized before closing, it should open again as maximized.

Screenshots
No screenshots.

Desktop (please complete the following information):

  • OS: Fedora 41
  • Desktop Environment: Gnome 47
  • Tuta Version: v259.250113.0

Additional context
No further infos.

@jackwilliams79 jackwilliams79 added bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues labels Jan 16, 2025
@charlag
Copy link
Contributor

charlag commented Jan 16, 2025

Hi, thank you for the report.
Could you please confirm that you close the windows before you close the whole app? I think we are missing handler for this specific case but generally window sizes should be saved

@jackwilliams79
Copy link
Author

jackwilliams79 commented Jan 16, 2025

@charlag Hi. I did the following tests:

  • First test:
    1. Start Tuta desktop. The window is opened on the laptop's internal monitor
    2. Keep window on internal montor. Move and resize window
    3. Close window first
    4. Wait a couple of seconds and then close Tuta by exiting via menu bar icon (close whole app)
    5. Restart Tuta desktop. It remembered the last window position and window size 👍
  • Second test:
    1. Start Tuta desktop. The window is opened on the laptop's internal monitor (last position/size from first test)
    2. Move window to external monitor and resize it
    3. Close window first
    4. Wait a couple of seconds and then close Tuta by exiting via menu bar icon (close whole app)
    5. Restart Tuta. This time, it opened again at the position and with the size of the first test 👎
  • Third test:
    1. Start Tuta desktop. The window is opened on the laptop's internal monitor
    2. Keep window on internal montor. Move and resize window
    3. This time, close the whole app directly without closing the window first
    4. Restart Tuta desktop. It remembered the last window position and window size

Any window manipulations (move around, resize, maximize, etc.), that don't happen on the internal monitor are ignored.

PS: the external monitor is configured as the main monitor.

@charlag
Copy link
Contributor

charlag commented Jan 16, 2025

@jackwilliams79 thank you a lot for the detailed testing. It looks like the issue is related to the external monitor rather than closing the app in a certain way, so my assumption was wrong. We will look into it!

@charlag charlag changed the title Linux Gnome Desktop Client: remember window position and window size Linux Gnome Desktop Client: remember window position and window size on external monitor Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues
Projects
None yet
Development

No branches or pull requests

2 participants