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

Windows saved on a 2nd display will not open when the 2nd display is not connected #208

Open
ferrangomis opened this issue May 10, 2023 · 0 comments

Comments

@ferrangomis
Copy link

ferrangomis commented May 10, 2023

Pre-requisistes

  • Session management (save windows for later) is enabled in Tab manager plus

Steps to reproduce

  1. Connect a 2nd screen as extended desktop
  2. Open a browser window in the 2nd screen
  3. Save it for later in tab manager plus
  4. Disconnect the 2nd screen
  5. Open tab manager plus
  6. Click on the saved window to open it

Expected result

  • The window opens in the main screen

Actual result

  • The window does not open, the console throws an error:
Invalid value for bounds. Bounds must be at least 50% within visible screen space.
caught (in promise) TypeError: Cannot read properties of undefined (reading 'tabs')
at Session._callee$ (Session.js:173:30)
at tryCatch (babel-polyfill.js:6517:40)
at Generator.invoke [as _invoke] (babel-polyfill.js:6743:22)
at prototype. [as next] (babel-polyfill.js:6569:21)
at step (Session.js:1:747)
at Session.js:1:907

Suggestion

Default to (0,0) when detecting this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant