Code Monkey home page Code Monkey logo

Comments (2)

pauldendulk avatar pauldendulk commented on June 12, 2024 1

Thanks for you clear bug report. What you describe seems like a problem with PixelDensity. It may not be a Mac specific problem but a problem that shows if you work with two monitors with a different density. You can request the density in the MainPage of you app with:

var pixelDensity = XamlRoot?.RasterizationScale;

Could you check that? Perhaps you need to start the app in a specific screen to get a correct value.

I am testing on Windows and can not reproduce it there, but that may be because of my monitors.

Looking at our code just now I think it is more likely that this is a bug in SkiaSharp or Uno. We do not store the PixelDensity but request it on every iteration. I don't know what else we could do to fix this.

I also found another problem and that is that the mouse wheel event is not fired on my second monitor unless I have the pointer near the top left (it seems 1/16th of the screen area).

from mapsui.

mcocaroUX avatar mcocaroUX commented on June 12, 2024 1

@pauldendulk. I checked the pixiel density and doesn't seem to change when switching screens, as it does on windows (just tested on both platforms). I'll raise an issue to UNO. Thanks for your help!

from mapsui.

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.