TokenTool
TokenTool copied to clipboard
TokenTool randomly saves last screen position with bad coordinates
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:
- 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.
Perhaps a check should be added before saving prefs that the values being saved are sane.
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.
Have not seen this happen with 2.1 or 2.2 develop but then it rarely happened before. YMMV.