trippsc2 / OpenTracker

An open-source cross-platform tracking application for A Link to the Past Randomizer.
MIT License
35 stars 9 forks source link

Window does not "appear" #65

Closed Berserker66 closed 3 years ago

Berserker66 commented 3 years ago

When running the application on Windows 10, I have it show as a white window in the taskbar: image The actual application is not to be found. It seems at some point some options got saved wrongly:

{
  "Version": "1.6.1.0",
  "Maximized": false,
  "X": -32000.0,
  "Y": -32000.0,
  "Width": 939.0,
  "Height": 750.0,
  "DisplayAllLocations": true,
  "ShowItemCountsOnMap": true,
  "DisplayMapsCompasses": false,
  "AlwaysDisplayDungeonItems": false,
  "LayoutOrientation": null,
  "MapOrientation": null,
  "HorizontalUIPanelPlacement": 1,
  "VerticalUIPanelPlacement": 0,
  "HorizontalItemsPlacement": 0,
  "VerticalItemsPlacement": 1,
  "UIScale": 1.0,
  "EmphasisFontColor": "#ff00ff00",
  "ConnectorColor": "#ff40e0d0",
  "AccessibilityColors": {
    "None": "#ffff3030",
    "Partial": "#ffff8c00",
    "Inspect": "#ff6495ed",
    "SequenceBreak": "#ffffff00",
    "Normal": "#ff00ff00",
    "Cleared": "#ff333333"
  }
}

It seems to want to open at -32000. What is also odd is that I can't mvoe it into view with hotkeys like win + arrow keys Setting X and Y to 0 is a workaround for now.

dewiniaid commented 3 years ago

I had this happen to me once as well, though my workaround was to delete the configuration file entirely. I can't recall any other information that might be useful other than to say that more than one person has experienced this.

Berserker66 commented 3 years ago

I don't know if it's related, but I will point out that I have changing monitor space, by using spacedesk with my tablet I sometimes have an additional (4th) monitor.

trippsc2 commented 3 years ago

My best guess is that it is trying to restore the window to the 4th display that doesn't exist. I'd like to try the following procedure to rule that out.

  1. Connect the tablet display.
  2. Run OpenTracker on that display and close it out, so that the window location is saved.
  3. Record the save file data for me.
  4. Disconnect the tablet display and try to run OpenTracker and see if the issue is reproduced.
Berserker66 commented 3 years ago

So, I tried disconnecting and reconnecting the display at various times in relation to OpenTracker and that doesn't seem to be it. I've also heard reports of others having the issue with just one monitor to their computer.

AverageFrustratedGamer commented 3 years ago

I just started having this issue today. A fresh uninstall and reinstall got me nowhere. Cost me an XKeys race on the ladder... ugh. Hoping I can resolve this; I enjoy this tracker quite a bit.

AverageFrustratedGamer commented 3 years ago

What's the name of the config file so I can mess with it?

AverageFrustratedGamer commented 3 years ago

Thanks Tripp for the answer in Discord:

OpenTracker.json is the file. It is in the local app data folder. On Windows that's C:\Users\AppData\Local\OpenTracker

Screwing with this file did resolve the issue as stated above.

trippsc2 commented 3 years ago

I believe this issue is resolved in v1.8.0+. We'll either reopen or create a new issue, if the issue is still occurring.