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

TokenTool randomly saves last screen position with bad coordinates #35

Open
Phergus opened this issue Apr 7, 2019 · 3 comments
Open
Labels

Comments

@Phergus
Copy link
Contributor

Phergus commented Apr 7, 2019

Describe the bug
Seemingly at random, TokenTool will save it's last screen position with negative screen coordinates way off the actual available screen space.

HKEY_CURRENT_USER\Software\JavaSoft\Prefs\net\rptools\tokentool\client
window_x = -32000.0
window_y = -32000.0

To Reproduce
Steps to reproduce the behavior:

  1. Unknown but appears to be related to dual monitor setups.

Expected behavior
Expect it not to happen.

TokenTool Info

  • Version: 2.0+
  • Install: Any

Desktop (please complete the following information):

  • OS: Windows
  • Version:

Additional context
See forum post.

@Phergus
Copy link
Contributor Author

Phergus commented Apr 7, 2019

Perhaps a check should be added before saving prefs that the values being saved are sane.

@RevenantBob
Copy link

Very late reply, but it might be easier to just check on import of settings from registry that the window is actually fully on screen.

@Phergus Phergus added the bug label Jul 12, 2021
@Phergus
Copy link
Contributor Author

Phergus commented Jul 12, 2021

Have not seen this happen with 2.1 or 2.2 develop but then it rarely happened before. YMMV.

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

No branches or pull requests

2 participants