Skip to content

Distorted canvas rendering #3312

Closed
Closed

Description

@snawbel

I have an app displaying a mapboxgl canvas on an iMac 27" screen in portrait mode. Looks good i Chrome but in my Electron App the canvas distorts when resizing the window height beyond a certain number of pixels.

I see the same problem with http://alteredqualia.com/three/examples/webgl_terrain_dynamic.html and suspect it exists for other webgl/canvas sites.

So, until I can reproduce this with a more general example, it could be an issue with mapboxgl. Still I'm curious as to the different behaviour in Chrome vs Electron.

Screenshot 2880x5120px (converted to PNG8 for file size)
distorted_canvas_screenshot_png8

Activity

  1. zcbenz commented on Nov 4, 2015

    @zcbenz
    Contributor

    Can it be related to the version of Chrome? Electron is still using Chrome 45 for now.

  2. added
    blocked/need-info ❌
    on Nov 4, 2015
  3. snawbel commented on Nov 4, 2015

    @snawbel
    Author

    Yes, I get the same error on Chrome 45. Thanks for pointing me in the right direction!

    So... that begs the question; when do you think Electron will be updated to Chrome 46? :)

  4. added and removed
    blocked/need-info ❌
    on Nov 4, 2015
  5. zcbenz commented on Nov 4, 2015

    @zcbenz
    Contributor

    So... that begs the question; when do you think Electron will be updated to Chrome 46? :)

    It is currently blocked by the upgrading of our internal build machines, which is also put aside because the server guys are busy doing another big thing. A safe guess is to wait for another month, by then maybe we will skip Chrome 46 and upgrade to Chrome 47 instead.

  6. herrmannplatz commented on Dec 2, 2015

    @herrmannplatz
    Contributor

    Since Chrome 47 is out, whats the plan when to upgrade?

  7. zcbenz commented on Dec 8, 2015

    @zcbenz
    Contributor

    Fixed by #3714.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions