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

Desktop: Draw.io opens on removed monitor and can't be accessed #1699

Closed
2 tasks done
kiu opened this issue Apr 12, 2024 · 3 comments
Closed
2 tasks done

Desktop: Draw.io opens on removed monitor and can't be accessed #1699

kiu opened this issue Apr 12, 2024 · 3 comments
Assignees

Comments

@kiu
Copy link

kiu commented Apr 12, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
Draw.io remembers the last location it has been used on the desktop. If the location no longer exists (2nd monitor is removed) it will still open where the 2nd monitor used to be, making it unreachable. There seems to be no windows mechanism to force an app to go back to a visible portion of the desktop.

config.json:

{
	"lastWinSize": "974,1087,4393,0,false,false",
	"dontCheckUpdates": true
}

Fixed for me by editing the 4393 in the config.json but for the layman impossible to solve.

To Reproduce
Steps to reproduce the behavior:

  1. Connect two monitors on a Windows 11 machine
  2. Extend your desktop to the additional monitor
  3. Use the draw.io desktop client on the second monitor and close it
  4. Disconnect the second monitor
  5. Anytime you open draw.io it is placed on a non-existent monitor and can't be accessed

Expected behavior
Draw.io figures out that the monitor doesnt exist anymore or that the current desktop resolution would put the app outside the desktop, both leading to that draw.io is visible.

Screenshots
Could post a screen recording if this helps.

Desktop (please complete the following information):

  • OS: Windows 11
  • Draw.io: v23.0.2
@davidjgraph davidjgraph transferred this issue from jgraph/drawio Apr 19, 2024
@mtnholt
Copy link

mtnholt commented May 3, 2024

Just experienced the same bug. Found this issue, and tried the fix @kiu described, and it worked fine.

@m-mohamedin
Copy link
Contributor

The bug will be fixed in the next release
Thanks for the report

@davidjgraph
Copy link
Contributor

12.4.0

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

4 participants