Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Blade04208 opened this issue Jun 7, 2024 · 6 comments
Open

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

Blade04208 opened this issue Jun 7, 2024 · 6 comments

Comments

@Blade04208
Copy link

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

@mulaRahul
Copy link
Owner

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

@SJFCS
Copy link

SJFCS commented Sep 21, 2024

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

@BlastboomStrice
Copy link

BlastboomStrice commented Oct 25, 2024

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
Copy link

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

@witt-bit
Copy link

My operating system information

 ██████████████████  ████████     witt@witt-cool
 ██████████████████  ████████     OS: Manjaro 24.2.0 Yonada
 ██████████████████  ████████     Kernel: x86_64 Linux 6.11.10-2-MANJARO
 ██████████████████  ████████     Uptime: 2d 5h 57m
 ████████            ████████     Packages: 1363
 ████████  ████████  ████████     Shell: zsh 5.9
 ████████  ████████  ████████     Resolution: 3840x1080
 ████████  ████████  ████████     DE: KDE
 ████████  ████████  ████████     WM: KWin
 ████████  ████████  ████████     GTK Theme: WhiteSur-Dark-solid-alt-blue [GTK2/3]
 ████████  ████████  ████████     Icon Theme: Tela-circle-manjaro-light
 ████████  ████████  ████████     Disk: 186G / 459G (43%)
 ████████  ████████  ████████     CPU: AMD Ryzen 5 4500U with Radeon Graphics @ 6x 2.375GHz
 ████████  ████████  ████████     GPU: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.11.10-2-MANJARO)
                                  RAM: -

After running the ./keyviz command, the terminal has the following error

** (keyviz:996188): CRITICAL **: 15:22:41.281: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (keyviz:996188): CRITICAL **: 15:22:41.285: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (keyviz:996188): CRITICAL **: 15:22:41.285: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (keyviz:996188): CRITICAL **: 15:22:41.287: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (keyviz:996188): CRITICAL **: 15:22:41.288: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置
flutter: [ json:load ]: File: '/home/witt/Documents/config.json' not found!
flutter: registered mouse listener
flutter: keyboard listener registered
flutter: [ json:load ]: File: '/home/witt/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>

flutter: ⬇️ [Left Click] not hotkey, returning...
flutter: ⬇️ [Drag] not hotkey, returning...
flutter: ⬇️ [Left Click] not hotkey, returning...
flutter: ⬇️ [Left Click] not hotkey, returning...
flutter: ⬇️ [Drag] not hotkey, returning...
flutter: ⬇️ [Left Click] not hotkey, returning...
flutter: keyboardEvents: {2253351: {8589934848: ⬇️[control](🟢)}}
flutter: ⬇️ [Control Left]
flutter: ⬆️ [Control Left]
flutter: ⬇️ [Left Click] not hotkey, returning

In addition, the interface is completely black, but the pressed key will be displayed, as shown in the figure
image

I hope the above information can help you

@aum7
Copy link

aum7 commented Dec 16, 2024

same here
linux mint 21.3

  • dl & unzip the code
  • run by clicking on icon inside folder
  • screen goes black, mouse circle ...
  • keypress is not detected / displayed
  • mouse circle follows mouse cursor

keyviz black screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants