keyviz
keyviz copied to clipboard
[BUG] The window will be black and block my screen.
Describe the bug The window will be black and block my screen but not always. It flickings between normal(transparent) and black quickly when I press keys. Its not caused by RTSS(RivaTuner Statistics Server)
Version: v1.0.6
To Reproduce Steps to reproduce the behavior:
- Just run the program
Expected behavior A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):
- Windows 10
Additional context Add any other context about the problem here.
Can you share more specifications of your system like windows build number?
Can you share more specifications of your system like windows build number?
版本 Windows 10 IoT 企业版 LTSC
版本号 21H2
安装日期 2022/07/31 周日
操作系统内部版本 19044.1889
体验 Windows Feature Experience Pack 120.2212.4180.0
same problem on window 7... impossible to use your app :'(
same problem on window 7... impossible to use your app :'(
The transparent windows effect is only supported on Windows 10 1803 or above. That's why you're seeing the black screen.
Hello @Miuzarte, can you reproduce the same with https://github.com/mulaRahul/keyviz/releases/tag/v2.0.0a?
sry I missed this email notification.
It might be better to make a setup wizard to toggle Hoykey Filter.
Also maybe you can try to merge a series of normal input so that it will not take up too much area.
It's really confused that it cant capture my Shift key and normal input so i thought this is a bug at first until i check the settings carefully.
Now there is no any problems.
Thanks for the feedback!
Got the same problem on the manjaro kde plasma (the latest version from AUR source)
instead of the half screen, the full screen has been covered and could do nothing except forcing restart computer
Got the same issue on Arch Linux: full black screen:
home-X99F8:~/Sources/keyviz_v2.0.0a_linux_x64$ ./keyviz
(keyviz:13060): Gdk-CRITICAL **: 19:36:51.463: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
flutter: [ json:load ]: File: '/home/rotter/Documents/config.json' not found!
flutter: registered mouse listener
flutter: keyboard listener registered
flutter: [ json:load ]: File: '/home/rotter/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:308)
<asynchronous suspension>
#1 WindowManager.setIgnoreMouseEvents (package:window_manager/src/window_manager.dart:697)
<asynchronous suspension>
#2 _initWindow.<anonymous closure> (package:keyviz/main.dart:36)
<asynchronous suspension>
(keyviz:13060): Gdk-CRITICAL **: 19:36:51.789: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
flutter: keyboardEvents: {371805: {8589934848: ⬇️[control](🟢)}}
In Linux, removing gtk_widget_show(GTK_WIDGET(window)); and gtk_widget_show(GTK_WIDGET(view)); from linux/my_application.cc can solve the black screen issue and make the background transparent. Refer to the flutter_acrylic commit.
However, I encountered a bug where mouse clicks cannot be passed through.
OS: Debian bookworm DE: Plasma 5.27