Code Monkey home page Code Monkey logo

Comments (7)

dremin avatar dremin commented on June 12, 2024

Which DPI scaling setting are you using on the 4k monitor?

from cairoshell.

david-delaune avatar david-delaune commented on June 12, 2024

DPI scaling is set to 175 on the 4k monitor.

from cairoshell.

dremin avatar dremin commented on June 12, 2024

Would you be willing to test a custom build to see if this is caused by what I suspect (incorrect rounding)? If so, do you need a 32bit, 64bit, or ARM64 build?

from cairoshell.

dremin avatar dremin commented on June 12, 2024

Here is a 64-bit build to try:
CairoSetup_64bit.zip

from cairoshell.

david-delaune avatar david-delaune commented on June 12, 2024

It would actually be much more convenient for me if you posted a diff so I could test with that.

I apologize for not getting back with you. I did look into the bug last weekend but when I opened the ManagedShell project I realized that I could fix all the little issues that annoyed me. I got distracted and added/removed a bunch of features for myself throughout the entire evening until bedtime.

I guess the most notable would be a 250ms delay to the Menu bar. It's nearly impossible to close/minimize a window without opening the menu bar. Took a different approach from how I think you would have implemented it. I added a new "MouseInitiatedAutoHide" property and a SetAutoHideStateFromMouse() setter function called from AppBarWindow_MouseEnter(). Then in the property-changed handler launched an asynchronous function to wait 250 milliseconds and check if the mouse is still located on the screen boundary.

Anyway, I'm yammering. Could you put up a diff?

from cairoshell.

dremin avatar dremin commented on June 12, 2024

Here are the ManagedShell changes: cairoshell/ManagedShell@master...metric-rounding
Here are the Cairo changes: master...remove-top-hack

Regarding what you mentioned adding a delay to the menu bar: This should already exist in Cairo; there is an "auto-hide show delay" setting in Cairo Settings > Advanced. Or am I misunderstanding the change?

from cairoshell.

dremin avatar dremin commented on June 12, 2024

As of #802, this should now be fixed.

from cairoshell.

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.