Git Product home page Git Product logo

Comments (13)

MikeMaximus avatar MikeMaximus commented on August 17, 2024 1

Awesome 👍 Let me know if you see any other problems with DPI scaling and reopen the issue (the commit is going to auto-close it).

from gbm.

MikeMaximus avatar MikeMaximus commented on August 17, 2024 1

Not sure if it's just perception and warped memory that's telling me it's a bit wider than normal, but generally, seems to be fixed! GBM_ofM1DshdJG

Sorry I didn't notice this before. I think that is normal, it will get wider and weirder looking the higher the scaling is because the controls and window will keep growing with the font size and pushing it to the right.

from gbm.

Darthagnon avatar Darthagnon commented on August 17, 2024 1

To be honest, I wasn't 100% sure if it wasn't just my memory.

Thank you, once again, for the software and continued fixes! Wishing you a Merry Christmas!

from gbm.

Darthagnon avatar Darthagnon commented on August 17, 2024

I do need to update my graphics drivers, and it was fairly recently I went back to 125% scaling instead of 100%, so it could just be me, but the padding around the items seems a lot larger than I remember.

from gbm.

MikeMaximus avatar MikeMaximus commented on August 17, 2024

I haven't had this problem myself or any other reports. It looks like it's not properly anchoring the controls to the window size on your system. It is very likely related to the DPI setting and custom fix. You can try changing the DPI settings in the properties of GBM.exe (Compatibility Tab) to see if that makes a difference.

from gbm.

Darthagnon avatar Darthagnon commented on August 17, 2024

Tested DPI compatibility settings, which haven't made a difference.

I'll now tinker with the DPI fix (it's apparently based off Win8.1 scaling), see if that makes a difference.

from gbm.

MikeMaximus avatar MikeMaximus commented on August 17, 2024

I replicated what you're seeing by setting the High DPI scaling override to "Application", which makes sense because GBM doesn't do any DPI scaling on it's own.

I got the best results using the System (Enhanced) setting, but I'm not sure if that is available on your old version of Windows 10.

image

from gbm.

Darthagnon avatar Darthagnon commented on August 17, 2024

Aha! I tried System (Enhanced), but (probably because of the Win8.1 DPI fix) that didn't do anything. Just tried setting compatibility to Windows 8 in combination with the DPI fix and System (Enhanced), which didn't do anything, so I'll try with it disabled.

from gbm.

Darthagnon avatar Darthagnon commented on August 17, 2024

I disabled the custom scaling mod (using Win10 v1709 built-in scaling).

Results:

  • Normal: correct scaling, but very blurry (as often happens with HiDPI screens), including the tray context menu
  • Scaling performed by application: Crisp, but weird spacing as before
  • Scaling performed by system: correct scaling, but very blurry
  • Scaling performed by system: correct scaling, but very blurry

Comparison:
Everything_tkMLC0zBsW

from gbm.

Darthagnon avatar Darthagnon commented on August 17, 2024

Blurry applications on a HiDPI screen are common; the Win8.1 scaling fix I linked earlier usually fixes them (sometimes at the cost of a couple of slightly cropped buttons), but GBM seems to be incompatible with the fix when at custom scaling factors (i.e. other than 100%).

Is there any different way it could calculate spacing when at 125% and other custom scaling factors?

from gbm.

MikeMaximus avatar MikeMaximus commented on August 17, 2024

This actually seems to be a bug with the split container control used on the main form. No other form seems to have this problem.

I'm unsure how to fix it at this point. I'll post an update when/if I find a fix.

from gbm.

MikeMaximus avatar MikeMaximus commented on August 17, 2024

I believe I have a work-around for the issue. It should make the main form scale properly using the "Application" High DPI scaling override and your custom scaling fix.

Try this build, just rename your GBM.exe and extract the one in this archive to the folder. GBM - DPI Scaling Fix.zip (64-Bit)

Let me know how it works for you. This build will show v1.3.4 but it won't break your data, you can just restore your old exe if you need to.

from gbm.

Darthagnon avatar Darthagnon commented on August 17, 2024

Works! Thank you so much!

Looks perhaps a little wider than "normal", but it scales correctly with both the DPI fix (and is non-blurry) (pictured). Also scales correctly without the DPI fix, but is blurry due to the standard Windows bug. (hmmm, it's late at night, my brain's asleep and I'm confusing myself with what compatibility settings I've had applied etc. but TLDR: at the moment I'm using my DPI fix, and it's scaling looks mostly normal and text is crisp. I can do more testing in the morning)
Zjw3Vvprt1

Not sure if it's just perception and warped memory that's telling me it's a bit wider than normal, but generally, seems to be fixed!
GBM_ofM1DshdJG

from gbm.

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.