Skip to content

[Web] Regression in Master - PDF display distorted due to change in BMP Encoder #93615

@zambetpentru

Description

@zambetpentru

Hi,

I noticed in our test environment that pdf rendering is broken on a very recent release in master. It was working fine in 2.4, 2.5.3, 2.8.0-3.1.pre, 2.6.0-12.0.pre.662, 2.6.0-12.0.pre.670 and so far narrowed it down that it was broken in 2.6.0-12.0.pre.674, 2.6.0-12.0.pre.678, 2.6.0-12.0.pre.696 and latest master 2.6.0-12.0.pre.718, can you please have a look and advise?

Steps to reproduce

  1. Clone the sample provided
  2. Run it on web
Normal PDF distorted colours and rotated
image image

This repo I previously created for another problem represents the issue:
https://github.com/zambetpentru/flutter_88688_video_overwriting_widget

flutter doctor
[√] Flutter (Channel master, 2.6.0-12.0.pre.718, on Microsoft Windows [Version 10.0.17763.2300], locale en-IE)
    • Flutter version 2.6.0-12.0.pre.718 at C:\Code\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3d889b4e4b (16 hours ago), 2021-11-13 23:46:03 +0600
    • Engine revision 140bd9399e
    • Dart version 2.16.0 (build 2.16.0-10.0.dev)
    • DevTools version 2.8.0

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Omega\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • CHROME_EXECUTABLE = C:\Code\FlutterTesting\ChromeCORS.bat

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] VS Code (version 1.62.2)
    • VS Code at C:\Users\Omega\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.28.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.69
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 94.0.992.50

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: regressionIt was better in the past than it is nowc: renderingUI glitches reported at the engine/skia or impeller rendering levelfound in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions