Giter Club home page Giter Club logo

Comments (6)

ReinisSprogis avatar ReinisSprogis commented on May 21, 2024
2024-04-27.00-21-28.mp4

I tried in dartpad chrome and edge and seems like working as expected.

from flutter.

danagbemava-nc avatar danagbemava-nc commented on May 21, 2024

Hi @gambuccigirl, it seems to be working as expected for me. See the recording below. Can you share a recording of what happens? Do you see any errors in your browser console? Is there any additional information you can provide?

Screen.Recording.2024-04-29.at.07.13.39.mov

from flutter.

gambuccigirl avatar gambuccigirl commented on May 21, 2024
2024-04-29.08.42.22.mp4

The video is from running in chrome on linux. It's fine running as a linux app, and also fine running the same code on windows chrome.

And there is a warning in console:

 This app is linked to the debug service: ws://127.0.0.1:41387/FtFa1VIIf1k=/ws
canvaskit.js:129 WebGL: this extension has very low support on mobile devices; do not rely on it for rendering effects: WEBGL_polygon_mode
(anonymous) @ canvaskit.js:129
kd @ canvaskit.js:129
jd @ canvaskit.js:128
fa @ canvaskit.js:127
a.GetWebGLContext @ canvaskit.js:14
CanvasKitExtension$124GetOffscreenWebGLContext @ canvaskit_api.dart:158
[_createNewCanvas] @ surface.dart:420
createOrUpdateSurface @ surface.dart:293
prepareToDraw @ offscreen_canvas_rasterizer.dart:61
draw @ rasterizer.dart:49

Entire warning stack trace:
chrome_error.txt

from flutter.

danagbemava-nc avatar danagbemava-nc commented on May 21, 2024

Hi @gambuccigirl, I just tested on ubuntu 22 with chrome 124 but I can't seem to reproduce the issue. See the recording below.
Can you try upgrading chrome to see if this still reproduces for you? Also, what version of chrome was the windows device running?

Screencast.from.04-30-2024.06.43.56.AM.webm
flutter doctor -v

[!] Flutter (Channel stable, 3.19.6, on Ubuntu 22.04.4 LTS 6.5.0-28-generic, locale en_US.UTF-8)
    • Flutter version 3.19.6 on channel stable at /home/daniel/fvm/versions/stable
    ! Warning: `flutter` on your path resolves to /home/daniel/fvm/versions/beta/bin/flutter, which is not inside your current Flutter SDK checkout at /home/daniel/fvm/versions/stable. Consider adding /home/daniel/fvm/versions/stable/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /home/linuxbrew/.linuxbrew/Cellar/dart/3.2.2/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /home/daniel/fvm/versions/stable. Consider adding /home/daniel/fvm/versions/stable/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (12 days ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/daniel/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /home/daniel/.local/share/JetBrains/Toolbox/apps/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2023.1)
    • Android Studio at /home/daniel/.local/share/JetBrains/Toolbox/apps/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 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.87.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.86.0

[✓] Connected device (3 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Linux (desktop)              • linux         • linux-x64      • Ubuntu 22.04.4 LTS 6.5.0-28-generic
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 124.0.6367.91

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

from flutter.

gambuccigirl avatar gambuccigirl commented on May 21, 2024

Version 122.0.6261.128 (Official Build) (64-bit) Linux (not working, accessed remote desktop)
Version 124.0.6367.91 (Official Build) (64-bit) Linux upgraded (still not working)

Version 124.0.6367.63 (Official Build) (64-bit) Windows (working, local machine)

The only other thing I wondered is if could have anything to do with the linux machine being accessed via remote desktop (NoMachine)? Since if I deploy to a docker container on the linux machine it appears fine on my local windows machine, but not displayed correctly when accessed via a browser on the linux remote desktop. I don't have a local Linux box available to test this hypothesis. But at this point it doesn't seem likely to be flutter.

I appreciate you having looked into this.

from flutter.

danagbemava-nc avatar danagbemava-nc commented on May 21, 2024

Can you walk me through how you did the setup? Maybe I can reproduce under the same environment

from flutter.

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.