Git Product home page Git Product logo

Comments (8)

HidenoriMatsubayashi avatar HidenoriMatsubayashi commented on July 18, 2024

Can you please inform me of some more information?

  • Reproduce rate
  • Can it be reproduced even using Sway?
  • Did old flutter-elinux versions work fine?

from flutter-embedded-linux.

makotosato-at avatar makotosato-at commented on July 18, 2024

Thank you for your reply.

  • Reproduce rate

Reproduce rate is 47/50

  • Can it be reproduced even using Sway?

Yes. Reproduce rate is 47/50

  • Did old flutter-elinux versions work fine?

3.7.10 : It works fine.
3.7.11 : It does not work fine.

from flutter-embedded-linux.

HidenoriMatsubayashi avatar HidenoriMatsubayashi commented on July 18, 2024

Can you please get trace level logs?

from flutter-embedded-linux.

makotosato-at avatar makotosato-at commented on July 18, 2024

Hello.

I could not get FLUTTER_LOG_LEVELS=TRACE log because it only occurs in the release version,
but I could get WAYLAND_DEBUG=1 log instead.(ok_log.txt and ng_log.txt)

flutter-elinux version is 3.10.6 and I got this log on RPi4.
ok_log.txt
ng_log.txt

from flutter-embedded-linux.

makotosato-at avatar makotosato-at commented on July 18, 2024

I built libflutter_elinux_wayland.so with -DENABLE_ELINUX_EMBEDDER_LOG=ON -DFLUTTER_RELEASE=ON and I got trace level log.
The log is the same whether the phenomenon occurs or not.
trace_log.txt

from flutter-embedded-linux.

HidenoriMatsubayashi avatar HidenoriMatsubayashi commented on July 18, 2024

Thanks. #350 should fix this issue. Can you please check it? I'm a little concerned about degradation.

from flutter-embedded-linux.

makotosato-at avatar makotosato-at commented on July 18, 2024

Thank you for the patch.
I tried it and it works fine, but "xdg_surface has never been configured" occurred.(Same as #330)

I tried the following patch and it worked.

diff --git a/src/flutter/shell/platform/linux_embedded/window/elinux_window_wayland.cc b/src/flutter/shell/platform/linux_embedded/window/elinux_window_wayland.cc
index 8a84022..64b72e4 100644
--- a/src/flutter/shell/platform/linux_embedded/window/elinux_window_wayland.cc
+++ b/src/flutter/shell/platform/linux_embedded/window/elinux_window_wayland.cc
@@ -86,6 +86,7 @@ const xdg_surface_listener ELinuxWindowWayland::kXdgSurfaceListener = {
           if (self->wait_for_configure_) {
             self->wait_for_configure_ = false;
           }
+          self->request_redraw_ = true;
         },
 };

from flutter-embedded-linux.

HidenoriMatsubayashi avatar HidenoriMatsubayashi commented on July 18, 2024

I see. Can you please create a change and send it to the PR?

from flutter-embedded-linux.

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.