contour: The terminal does not appear.

Contour Terminal version

0.4.1.6292

Installer source

Github: source code cloned

Operating System

openSUSE Tumbleweed

Architecture

x86-64

Other Software

libunicode version : 0.4.0-21.1 boxed-cpp-devel version : 1.1.0-4.2 gnome-shell version : 45.0+172 git.1dda3393-220.1 labwc version : 0.7.0+28 git.21234a5-33.1

Steps to reproduce

  1. upgrade from 0.3 to 0.4
  2. open terminal
  3. and then terminal does not appear.

Expected Behavior

Terminal appears and is functional, like version 0.3.

Actual Behavior

I tried version 0.3.12.262 and had no problem, but after upgrading to 0.4, terminal did not appear.

Warning: QQmlApplicationEngine failed to load component ((null):0, (null))
Warning: qrc:/contour/ui/main.qml: module "org.kde.desktop" is not installed (qrc:/contour/ui/main.qml:4294967295, (null))

Screenshot from 2024-01-01 08-45-56

Additional notes

tested on wayland at gnome-shell & labwc (wlroots).

I wish I could push and update to the main repo on openSUSE, but sadly, it’s not open properly.

Build info: https://build.opensuse.org/project/show/home:mantarimay:branches:X11:terminals

About this issue

  • Original URL
  • State: closed
  • Created 6 months ago
  • Reactions: 2
  • Comments: 47 (31 by maintainers)

Most upvoted comments

@cqexbesd Thanks for the help. Any chance you can remember which package that is?

Everything I know is from https://wiki.archlinux.org/title/Hardware_video_acceleration so I think it depends on your hardware.

@mantarimay so few packages are missing as a dependency 😦 i managed to open contour after installing qt6-qt5compat-imports and qt6-multimedia-imports

I just checked. We’ve added these already to our install-deps.sh script in 1df9f704a (Jan 4th '24).

@mantarimay: As soon as you confirm that you CAN build a package for SuSE Linux again, we’ll be releasing 0.4.2. So once confirmed by you, you may want to wait a very little bit and go straight for 0.4.2 then. It will contain bug fixes only (quite important ones IMHO), if you don’t mind.

Many thanks, and sorry for the inconveniences. 😃

@christianparpart after installing these dependencies, I’ve successfully running contour:

qml6-module-qt-labs-platform
qml6-module-qtquick-window
qml6-module-qtquick-layouts
qml6-module-qtquick-controls
qml6-module-qtqml-workerscript
qml6-module-qtquick-templates
qml6-module-qtmultimedia
qml6-module-qt5compat-graphicaleffects
qt6-5compat-dev  # not sure about this one. Maybe installing previous one e.g. `qml6-module-qt5compat-graphicaleffects` is enough.   

@mantarimay FYI: I sadly need to release again, because last night release contains a mutex thread locking condition. So I’ll release now, containing only the fix, but I sadly have to bump the numbers for this, to 0.4.3

@Yaraslaut I am glad now that I know the problem. It’s because I use QT_QPA_PLATFORMTHEME=gnome. Screenshot from 2024-02-04 19-27-47

@Yaraslaut not yet. I decided to remove it from the main repo because v0.3 build failed took over 6 weeks and v0.4 did not properly work on my machine until now. I still think it’s worth it if I push even though it does not work on my machine.

@mantarimay i’d like your machine to work though, as well…

@kierun IIUC that message is because QT is trying to use hardware acceleration but you are probably missing a(nother) library. Apart from performance I don’t think it will affect anything - I only just silenced a similar warning on my system today - yet to notice any performance improvements.

qt6-qt5compat

@topazus , @Yaraslaut I installed this package and contour launched successfully. I am getting this:

Warning: Couldn't load VAAPI library ((null):0, (null))

But it does not seem to affect the terminal at all.

@uunnxx your comment aboved helped me A LOT! Many thanks for that. 🥇

@mantarimay Hey, my linked PR #1399 seems to work for Ubuntu 22.04 packaging. Looking at the diff, maybe that helps creating a .rpm package for SuSE Tumbleweed as well?

Is there anything we can do on our end to ease packaging?

Mind, with Contour 0.4, we’ve transitioned from from Qt Widgets (default Qt 5) to Qt QML (default Qt 6). This is rumbling, and I hope we can ease the inconveniences to a minimum to all as much as possible.

EDIT: (I tried to add SuSE Linux Tumbleweed to our CI, but failed in finding time so far…)

Hey @uunnxx . I am really sorry for this experience. There seems to be dependencies missing. We are going to fix this ASAP. – if nobody was faster, I will be trying to fix that after I am back from work, tonight . Sorry for the inconveniences .