Coder Social home page Coder Social logo

Won't open about tokentool HOT 17 CLOSED

ericw83 avatar ericw83 commented on May 18, 2024
Won't open

from tokentool.

Comments (17)

Phergus avatar Phergus commented on May 18, 2024

I think you are saying that it was working but isn't now. Were you using a different display or perhaps two displays the last time you used it?

With it showing on the task bar, right-click on an empty area of the task bar and select "Show windows side-by-side". Does that make it appear?

from tokentool.

Shotty4Life avatar Shotty4Life commented on May 18, 2024

I'm currently having the same issue.
I installed 2.0 version for the first time about a week ago and it did run just fine the first time I opened tokentool after installing it, managed to make a good batch of tokens with no issues.

And just like eric283 described, it is not opening anymore. All I get at startup is the loading window and once that completes tokentool "opens". By that, I mean, it just appears in my bottom task bar, I can see it on the list of open windows when alt-tabbing, but it will not actually open the window if I try to alt-tab to it. Trying to right click tokentool from task bar will only give "close window" as an option.

In case any of the following tidbits matter: I have 2 displays. I have tokentool 1.0 which is working fine. When I installed tokentool 2.0, I didn't install it to AppData\Local as the default installer attempted, but to a separate folder I created to Desktop.

I would like to point out, that when I started tokentool 2.0 for the 2nd time a couple days later, it didn't really start, obviously, but hovering my mouse over the tokentool icon in task bar did show the previous image I had turned into a token before closing tokentool 2.0 after the first time I used it after installing. (made me think it created a save-state of my previous session with it, or it had frozen)
This didn't happen after I tried to reinstall it. After that all I've been seeing is that default image.
I tried the "Show windows side-by-side" option you described, but that didn't show it up either.

To be more specific: first time I tried tokentool 2.0, I installed it and run with the .exe, but I had the .jar file for it just in case. Not to repeat myself too much, but it did only run the first time immediately after installing it, now it won't open either from the .exe or .jar. Deleting all files and reinstalling didn't help.

I don't know if it helps, but I found a log file under: C:\Users\Me.tokentool-rptools\logs
The log file only appears generate from the most recent session with tokentool? And I'm not noticing any obvious errors there.
Attached few logs here with varying amounts of fiddling before closing the program, hope it's of some use.
log1.txt
log2.txt
log3.txt
log4.txt
log5.txt
log6.txt
log7.txt

from tokentool.

Phergus avatar Phergus commented on May 18, 2024

Your log tells you exactly what the problem is:
2018-11-17 14:01:13.788 [JavaFX Application Thread] INFO net.rptools.tokentool.AppPreferences - Restoring window position x, y: -32000.0, -32000.0

I doubt you have a display that goes to -32000, -32000. :) So it's displayed way, way off screen.

Did you try my suggestion above?

from tokentool.

Shotty4Life avatar Shotty4Life commented on May 18, 2024

You mean "Show windows side-by-side" ? Yeah I did, but that didn't make it appear.
Is there somewhere I can try and manually change those settings?

from tokentool.

Phergus avatar Phergus commented on May 18, 2024

Check the registry here:
Computer\HKEY_CURRENT_USER\Software\JavaSoft\Prefs\token/Tool\control\main/Frame

from tokentool.

Shotty4Life avatar Shotty4Life commented on May 18, 2024

Ok, I found that.
The keys were REG_SZ, values x:632 y:0
Tried to fiddle those numbers up and down a little bit, but log file from tokentool still has that same window position line.

from tokentool.

Phergus avatar Phergus commented on May 18, 2024

That probably means it's somewhere else. TT 2.0 is a new build using JavaFX and that may be enough to move those prefs somewhere else. I'll poke around.

from tokentool.

Phergus avatar Phergus commented on May 18, 2024

Try this one:
Computer\HKEY_CURRENT_USER\Software\JavaSoft\Prefs\net\rptools\tokentool\client

In particular window/Main_preferences

from tokentool.

Shotty4Life avatar Shotty4Life commented on May 18, 2024

Yup, that was it.
Found two registry keys (window_x and window_y) whit a whooping value of -32000
Set both to 0 and tokentool appeared at the corner of my screen as if nothing was ever wrong.

Thanks a ton.
... Note to self: Write down the location of those registries in case this happens again.

from tokentool.

Phergus avatar Phergus commented on May 18, 2024

Glad that fixed it. Now that the info is posted here hopefully the next person will be able to find it.

from tokentool.

JamzTheMan avatar JamzTheMan commented on May 18, 2024

FYI In Windows, you can press Windows key + left/right arrow to force an application to the next monitor.

Also, TokenTool 2.1 has a "reset" menu option than will 0 out the coordinates and screen size (resets all saved preferences) and can be accessed via a shortcut key.

from tokentool.

Azhrei avatar Azhrei commented on May 18, 2024

I saw you closed this, but I don't see a resolution to the window geometry being set to negative values. Is that covered somewhere else? Or is it something that Java or JavaFX or Windows does that you don't have control over? Just curious...

from tokentool.

Phergus avatar Phergus commented on May 18, 2024

Also, TokenTool 2.1 has a "reset" menu option than will 0 out the coordinates and screen size (resets all saved preferences) and can be accessed via a shortcut key.

No hot key shown in the Menu. And will it even work if the window is off display? With the window active but mostly off the display, I couldn't access the reset (Alt -> H -> R) until I dragged it back on screen.

from tokentool.

JamzTheMan avatar JamzTheMan commented on May 18, 2024

That's because negative geometry is valid. That's how multiple monitors work. X,Y is relative to the main monitor where negative coords are to the left or down of main monitor.

from tokentool.

JamzTheMan avatar JamzTheMan commented on May 18, 2024

@Phergus that's unfortunate. I thought a shortcut was added but also Surprised alt h r didn't work...

from tokentool.

Azhrei avatar Azhrei commented on May 18, 2024

I realize about negative geometry. Just wondering why it isn’t corrected automatically when the window is reopened. Does Windows require that every app check for that itself? Annoying if every graphical app has to check to see if its main window is visible and correct for it...

from tokentool.

Phergus avatar Phergus commented on May 18, 2024

@JamzTheMan I kind of expected it to work as well. Good news is that if I go into the registry and force it offscreen that I was able to use Alt-H-R to open the confirmation dialog and reset it.

However Windows-Left Arrow/Right Arrow did not work.

from tokentool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.