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
6.35k stars 215 forks source link

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

Open Blade04208 opened 5 months ago

Blade04208 commented 5 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 5 months ago

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

SJFCS commented 2 months ago

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

BlastboomStrice commented 1 month ago

EDIT: I couldn't install the dependencies from v2.x.x Requirements, maybe that's why there's a black screen(?) (Those dependenices don't exist on debian testing)

Same on: Debian Testing (Trixie) Windowing System: Wayland I can turn it on and off, then I go to the black screen where the settings appear, but the app doesn't seem to work.

pietro-lopes commented 1 month ago

I'm having the same problem

OS: Pop!_OS 22.04 LTS x86_64 Kernel: 6.8.0-76060800daily20240311-generic Shell: zsh 5.8.1 Resolution: 3840x2160 DE: GNOME 42.9 WM: Mutter WM Theme: Pop Theme: Pop-dark [GTK2/3] Icons: Pop [GTK2/3] CPU: Intel i5-7600 (4) @ 4.100GHz GPU: NVIDIA GeForce GTX 1660 SUPER