mulaRahul / keyviz

Keyviz is a free and open-source tool to visualize your keystrokes ⌨️ and 🖱️ mouse actions in real-time.
https://mularahul.github.io/keyviz
GNU General Public License v3.0
5.85k stars 197 forks source link

Opening the app on linux fullscreens a full black screen #280

Open Blade04208 opened 3 months ago

Blade04208 commented 3 months ago

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

Software Information:

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

mulaRahul commented 3 months ago

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

SJFCS commented 3 days ago

I also encountered the same problem on archlinux. Is there any solution?