Skip to content

solid backgrounds are drawn as transparent gradients after visiting certain pages #10136

Closed

Description

@Swatinem
  • using browserhtml
  • when going to for example github.com
  • solid colors are turned into strange half transparent gradients

I can not reproduce this when I visit github.com without browserhtml. I can also not reproduce this when visiting google.com for example. Once things are screwed up that way, it stays that way no matter what other tabs I open in browserhtml

Also, when I open two pages, their content overlaps because apparently the page becomes half transparent.

bildschirmfoto von 2016-03-23 11-26-59

Activity

  1. paulrouget commented on Mar 23, 2016

    @paulrouget
    Contributor

    Most likely a dupe of #10115

  2. paulrouget commented on Mar 23, 2016

    @paulrouget
    Contributor

    Bump to bhtml P1. This happens quite often.

    Again, most likely similar to #10115.

  3. pcwalton commented on Mar 29, 2016

    @pcwalton
    Contributor

    This will be annoying to reproduce without a small test case. Hmm.

  4. pcwalton commented on Mar 29, 2016

    @pcwalton
    Contributor

    Minimal test case:

    <!DOCTYPE html>
    <style>
    body {
        background: black;
    }
    div {
        color: white;
        text-shadow: 0 0 2px gray;
    }
    </style>
    <div>whoa</div>
    
  5. pcwalton commented on Mar 29, 2016

    @pcwalton
    Contributor

    apitrace says glCopyTexSubImage2D() is returning GL_INVALID_VALUE on this test case. So there's the undefined behavior.

  6. pcwalton commented on Mar 30, 2016

    @pcwalton
    Contributor

    I'm guessing this is because the texture copies are overwriting the dummy color texture.

  7. added a commit that references this issue on Mar 30, 2016
  8. paulrouget commented on Mar 31, 2016

    @paulrouget
    Contributor

    @pcwalton servo/webrender#253 doesn't fix this.

  9. pcwalton commented on Mar 31, 2016

    @pcwalton
    Contributor

    There must be two bugs here, because I'm certain that that PR fixes symptoms like these. I guess this must be texture cache corruption from another source.

  10. paulrouget commented on Mar 31, 2016

    @paulrouget
    Contributor

    Let me double check that I'm compiling with the proper version of webrender.

  11. paulrouget commented on Mar 31, 2016

    @paulrouget
    Contributor

    Hm, the latest cargo update didn't include the latest 2 PRs.

  12. paulrouget commented on Mar 31, 2016

    @paulrouget
    Contributor

    Confirmed fixed with the latest wr. Waiting for the cargo update.

  13. pcwalton commented on Mar 31, 2016

    @pcwalton
    Contributor

    Excellent. :)

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