Kaiteki-Fedi/Kaiteki

AppImage version: UI flickers on Arch Linux

Opened this issue · 6 comments

Error Type

Unhandled Exception: Bad state: No element

Error Message

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: No element

Stack Trace

(kaiteki:48119): Gdk-CRITICAL **: 15:31:22.602: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: No element
#0      Stream.last.<anonymous closure> (dart:async/stream.dart:1618)
#1      _RootZone.runGuarded (dart:async/zone.dart:1582)
#2      _DoneStreamSubscription._onMicrotask (dart:async/stream_impl.dart:751)
#3      _microtaskLoop (dart:async/schedule_microtask.dart:40)
#4      _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

flutter: dynamic_color: Accent color detected.

Additional information

the UI flickers on Arch Linux, I'm getting that stack track launching from the terminal. Not sure that's the cause of the issue but I hope it helps.

Machine info (neofetch)

                `+oooo:                  OS: Arch Linux x86_64 
               `+oooooo:                 Kernel: 5.15.0-88-generic 
               -+oooooo+:                Uptime: 3 hours, 59 mins 
             `/:-:++oooo+:               
            `/++++/+++++++:              Shell: bash 5.1.16 
           `/++++++++++++++:             
          `/+++ooooooooooooo/`           DE: Cinnamon 
         ./ooosssso++osssssso+`          WM: Mutter (Muffin) 
        .oossssso-````/ossssss+`         
       -osssssso.      :ssssssso.        
      :osssssss/        osssso+++.        
     /ossssssss/        +ssssooo/-       Terminal: kitty 
   `/ossssso+/:-        -:/+osssso+-     CPU: Intel i7-8750H (12) @ 4.100GHz 
  `+sso+:-`                 `.-/+oso:    GPU: NVIDIA GeForce GTX 1060 Mobile 
 `++:.                           `-/+/   GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630] 
 .`                                 `/   Memory: 7983MiB / 31933MiB 
                                         CPU Usage: 10% 
                                         Disk (/): 190G / 1022G (20%) 

Is the bug still reproducible?

yes it is. I cannot use the application on my desktop because of this

I'm not really sure I can fix this, as this is more on Flutter's side of problems. I'll keep the issue open though.

@icefields I can't replicate this on arch with the current weekly build. Are you still having this issue?

I can replicate some graphical glitches in release builds

Iʼm experiencing same exact error, except the app doesnʼt flicker, it just doesnʼt render at all. Empty window spawns with nothing in it. Tweaking permissions, turning gpu acceleration on and off doesnʼt help.

Kaiteki, flatpak version, stable branch, freshly installed. EndeavourOS host.