keyviz icon indicating copy to clipboard operation
keyviz copied to clipboard

[BUG] The window will be black and block my screen.

Open Miuzarte opened this issue 3 years ago • 4 comments

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:

  1. Just run the program

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image QMF{0@@8 97{R2XFZ{WT6(2

Desktop (please complete the following information):

  • Windows 10

Additional context Add any other context about the problem here.

Miuzarte avatar Aug 31 '22 10:08 Miuzarte

Can you share more specifications of your system like windows build number?

mulaRahul avatar Sep 01 '22 06:09 mulaRahul

Can you share more specifications of your system like windows build number?

image image 版本 Windows 10 IoT 企业版 LTSC 版本号 21H2 安装日期 ‎2022/‎07/‎31 ‎周日 操作系统内部版本 19044.1889 体验 Windows Feature Experience Pack 120.2212.4180.0

Miuzarte avatar Sep 01 '22 07:09 Miuzarte

same problem on window 7... impossible to use your app :'(

MatrixFr avatar Oct 04 '22 09:10 MatrixFr

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.

mulaRahul avatar Oct 04 '22 09:10 mulaRahul

Hello @Miuzarte, can you reproduce the same with https://github.com/mulaRahul/keyviz/releases/tag/v2.0.0a?

mulaRahul avatar Jul 12 '23 06:07 mulaRahul

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.

Miuzarte avatar Jul 17 '23 22:07 Miuzarte

Thanks for the feedback!

mulaRahul avatar Jul 19 '23 13:07 mulaRahul

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

HowcanoeWang avatar Oct 21 '23 13:10 HowcanoeWang

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](🟢)}}

xbelanch avatar Jan 11 '24 18:01 xbelanch

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

GWDx avatar Apr 03 '24 17:04 GWDx