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

Tailviewer starts offscreen in case the virtual desktop size has changed in between sessions #238

Closed
Kittyfisto opened this issue Jul 24, 2020 · 1 comment · Fixed by #249
Labels

Comments

@Kittyfisto
Copy link
Owner

Steps to reproduce:

  1. Have 2 or more monitors attached
  2. Start TV
  3. Move TV to the 2nd monitor
  4. Close TV
  5. Disconnect the 2nd monitor from the setup
  6. Start TV

Current behavior: TV isn't visible and remains on its last position
Expected behavior: TV should start in the visible portion of the virtual desktop (e.g. monitor 1 in this example)

@Kittyfisto Kittyfisto added the bug label Jul 24, 2020
Kittyfisto added a commit that referenced this issue Dec 12, 2020
…a anymore #238 (#249)

- [x] Modify main window position and/or size in case it doesn't fit the virtual desktop area anymore during startup (for example because the monitors have been changed, resolution was changed, etc...)
- [x] The main window is moved in case the window clips a particular monitor and is moved to the closest monitor
- [x] The main window is resized to a smaller size in case there's no screen anymore which can hold the full window
- [x] The main window isn't moved in case it has been placed across multiple screens
- [x] Exceptions are caught so that TV doesn't crash on startup in case something unexpected happens (such as Winforms throwing upon enumerating screens)
- [x] TV's actions are logged so the reason why the screen is moved is part of the log file

Fixes #238
@Kittyfisto
Copy link
Owner Author

Fixed with Tailviewer v0.9.3.894.

@Kittyfisto Kittyfisto changed the title Recenter window in visible area in case desktop area becomes smaller Tailviewer starts offscreen in case the virtual desktop size has changed in between sessions Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant