NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.36k stars 13.59k forks source link

Nheko shows blank window #333009

Open bendi-github opened 1 month ago

bendi-github commented 1 month ago

Describe the bug

The program shows a blank gray screen.

Steps To Reproduce

Steps to reproduce the behavior: nix run nixpkgs#nheko

Expected behavior

The application displays content

Screenshots

image

Additional context

I also tried running the package on another system which uses the stable channel and KDE plasma 6, where it worked flawlessly. My main machine is flake enabled and utilizes nixpkgs unstable. I run Hypland, but have some parts of plasma installed, because I use dolphin.

Logs:

[2024-08-07 16:13:45.979] [ui] [info] Restoring window size 1524x448
[2024-08-07 16:13:45.990] [ui] [info] WebRTC: initialised GStreamer 1.24.3
[2024-08-07 16:13:46.033] [ui] [error] Missing GStreamer elements: pipewiresrc
[2024-08-07 16:13:46.034] [ui] [info] jdenticon plugin not found.
[2024-08-07 16:13:46.112] [qml] [warning] qrc:/resources/qml/Root.qml:14:1: Type Pane unavailable
     Pane {
     ^ (qrc:/resources/qml/Root.qml:14, )
[2024-08-07 16:13:46.112] [qml] [warning] qrc:/qt/qml/org/kde/desktop/Pane.qml:6:1: module "org.kde.kirigami" is not installed
     import org.kde.kirigami as Kirigami
     ^ (qrc:/qt/qml/org/kde/desktop/Pane.qml:6, )
[2024-08-07 16:13:46.114] [ui] [info] starting nheko 0.12.0
[2024-08-07 16:13:46.115] [ui] [info] Unity service available: false

Notify maintainers

@Ekleog @fpletz

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.12-xanmod1, NixOS, 24.11 (Vicuna), 24.11.20240804.cb9a96f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - nixpkgs: `/nix/store/4cpakzyvfw1rmm9v5i3387x6jd2h1v86-source`

Add a :+1: reaction to issues you find important.

fpletz commented 1 month ago

I can confirm this behavior when $QT_STYLE_OVERRIDE is set to gtk2, though with a different error message:

[2024-08-07 17:08:57.796] [ui] [info] Restoring window size 0x0
[2024-08-07 17:09:25.042] [ui] [info] WebRTC: initialised GStreamer 1.24.3
[2024-08-07 17:09:25.401] [ui] [error] Missing GStreamer elements: pipewiresrc
[2024-08-07 17:09:25.402] [ui] [info] jdenticon plugin not found.
[2024-08-07 17:09:25.546] [qml] [warning] qrc:/resources/qml/Root.qml: module "gtk2" is not installed (qrc:/resources/qml/Root.qml:-1, )
[2024-08-07 17:09:25.559] [ui] [info] starting nheko 0.12.0
[2024-08-07 17:09:25.582] [ui] [info] Unity service available: false

If $QT_STYLE_OVERRIDE is unset, nheko starts properly.

bendi-github commented 1 month ago

Does this mean there is an issue with my setup? Should theming affect whether the application starts correctly?