mulaRahul/keyviz

Opening the app on linux fullscreens a full black screen

Opened this issue · 1 comments

Describe the bug
Opening the app on linux fullscreens a full black screen

Version: v2.0.0-alpha2

To Reproduce
Open the program.

Expected behavior
Not having my screen be completely black!

Screenshots
Screencast from 2024-06-07 22-32-47.webm

Desktop (please complete the following information):

System Details Report

  • Date generated: 2024-06-07 22:37:04

Software Information:

  • Firmware Version: P07CFL.028.240221.HQ
  • OS Name: EndeavourOS
  • OS Build: rolling
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.9.3-arch1-1

Additional context
here is the logs when opening via terminal

flutter: [ json:load ]: File: '/home/blade0/Documents/config.json' not found!
flutter: registered mouse listener
flutter: keyboard listener registered
flutter: [ json:load ]: File: '/home/blade0/Documents/style.json' not found!
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method setIgnoreMouseEvents on channel window_manager)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
<asynchronous suspension>
#1      WindowManager.setIgnoreMouseEvents (package:window_manager/src/window_manager.dart:699)
<asynchronous suspension>

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method setHasShadow on channel window_manager)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
<asynchronous suspension>
#1      WindowManager.setHasShadow (package:window_manager/src/window_manager.dart:667)
<asynchronous suspension>


(keyviz:4337): Gtk-CRITICAL **: 22:33:01.054: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Segmentation fault (core dumped)

uhh good luck
linux is like 10x more varied than windows or macos can be so expect random-ass bugs (like this one) that only affect like 1 or 2 people

I've seen this error before, about window_manager not being implemented on some flavours of Linux