Coder Social home page Coder Social logo

Window mode issues about unciv HOT 3 OPEN

trudnorx avatar trudnorx commented on June 30, 2024
Window mode issues

from unciv.

Comments (3)

SomeTroglodyte avatar SomeTroglodyte commented on June 30, 2024

Add: Multimonitor - Window doesn't save which Monitor it was on.

I had a working solution once, but it relied on ugly hacks under the hood as the used libraries already bungle what an app that wishes to 100% restore its state needs - down to but not limited to the GLFW layer. That's below LwJgl3, which is below Gdx. Outdated branch still around.

from unciv.

SomeTroglodyte avatar SomeTroglodyte commented on June 30, 2024

On second look - this is mostly already documented in source, except for point 1. OK, maybe point 3 detail "imprecise" isn't explained either in that comment - but I seem to vaguely remember we already had an issue where Windows was set to scale by 150% or worse and in that issue we learned that the underlying libraries - below Gdx - behave inconsistently when that is the case (some reported coordinates/dimensions which should be in pixels are scaled by that factor instead), which likely explains that as well. ...#9886 was it. So is your "fails to fully fill up" or "imprecise" maybe proportional to your windows scaling setting?

from unciv.

SomeTroglodyte avatar SomeTroglodyte commented on June 30, 2024

On third look - #1 is by design, probably. You can't drag any window big enough so that after removing borders it will still fill the screen entirely - obviously. What you get is the size of the inside of the window before switching to borderless. Just guessing without actually testing - I'm that lazy. But I bet that fits.

from unciv.

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.