Giter Site home page Giter Site logo

Comments (2)

Ethrel avatar Ethrel commented on August 18, 2024

So, I just had this happen myself. Don't have logs or details, but in my settings file (%appdata%/ModMyFactoryGUI/settings.json) the "window_restore_state" value was "-32000;-32000;160;39"

That seems to be, from some pure guess-work, window location x and y, and a width and height. Changed both -32000 values to 0, opened the program, and the window showed up in the top left of my screen (at what I expected 0,0 to be), with just enough window space to show the logo, minimize, and close buttons. Resized it, and bam! Window is back.

Something somewhere is saving a bad value into the config, shoving the window fairly far off top the top left of the screen.

Hopefully this helps.

Ah. Incidentally, this seems to be related to or the same as #40

from modmyfactory2.

Artentus avatar Artentus commented on August 18, 2024

I have previously tried to identify why this is happening but couldn't find any apparent reason.
Since I haven't worked at all on MMF for almost a year I'm now gonna try the sledghammer method and simply filter positions of -32000,-32000 out. That way at last the window won't be hidden offscreen, although it will reset the previously saved location.

Edit: update will go live in a moment.

from modmyfactory2.

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.