Coder Social home page Coder Social logo

Comments (4)

daxpedda avatar daxpedda commented on May 28, 2024 1

Personally I can't reproduce this

You mean, in a minimal winit example of your own? Or not even in that Bevy example that I linked? Which browser did you try?

I tried the Bevy example you linked, which is pretty broken because it doesn't include #3553, a minimal Bevy example and the Winit example. I tried Chrome and Firefox on Linux. Also tried to zoom in before hitting opening the print dialog to at least pretend like my scale factor isn't 1.

from winit.

daxpedda avatar daxpedda commented on May 28, 2024

Duplicate of #3457.

Personally I can't reproduce this, but the reality is that this is almost certainly a browser bug. Its not relevant for production code because it is only a debug_assert! after all.

I'm unsure how to proceed here really, ideally I would be able to reproduce this so I can report the bug in Chrome (or find out that it is an issue on our end).

Alternatively, to figure out exactly how we could implement a workaround for Winit here, by accounting for this to not work, a reproduction would be required as well.

Let me know if you have additional information or if you are able to boil it down to a more minimal example (one without Bevy).

from winit.

Maximetinu avatar Maximetinu commented on May 28, 2024

Since you couldn't repro, I tried in another browser, Firefox, and it doesn't panic in it. It does in Safari. That smells like it's a bug in Chrome indeed

Just one question:

Personally I can't reproduce this

You mean, in a minimal winit example of your own? Or not even in that Bevy example that I linked? Which browser did you try?

from winit.

Maximetinu avatar Maximetinu commented on May 28, 2024

Cool, thx for the details! 🙏

from winit.

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.