View Issue Details

IDProjectCategoryView StatusLast Update
0002706SkyChart1-Softwarepublic24-01-16 00:44
ReporterAlan Smith Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformPCOSLinuxOS Version64bit
Product Version4.3 beta 
Summary0002706: Qt and Wayland warnings when starting CDC from Terminal
DescriptionI am getting these Qt and Wayland warnings/errors when starting CDC from Terminal.

Many thanks

QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
TagsNo tags attached.

Activities

Patrick Chevalley

24-01-15 18:29

administrator   ~0008743

I not use Wayland because it is still not fully supported by my KDE desktop.

The message here reflect some incompatibility with Qt5.
Can you try to start CdC using the following:
QT_QPA_PLATFORM=xcb skychart

Alan Smith

24-01-15 21:02

reporter   ~0008744

Hi Patrick, the output I get from running your command is as below:

$ QT_QPA_PLATFORM=xcb skychart
qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.
2024-01-15T19:58:47.417 Start trace
2024-01-15T19:58:47.417 Program version : 4.3-4646-2c30ce9a
2024-01-15T19:58:47.417 Program compiled: 2023/12/11 04:00:43
2024-01-15T19:58:47.417 Compiler version: Lazarus 2.2.4.0 Free Pascal 3.2.2 Linux-x86_64-qt5
2024-01-15T19:58:47.476 Screen scaling : True
2024-01-15T19:58:47.476 Screen scale : 105%
2024-01-15T19:58:47.477 Try language: en
2024-01-15T19:58:47.481 Language: en
2024-01-15T19:58:47.796 Connected to the SQL database /home/<user_name>/.skychart/database/cdc.db
2024-01-15T19:58:47.796 Running on Qt version: 5.15.11
2024-01-15T19:58:47.879 Listen on port: 3292

Patrick Chevalley

24-01-15 21:15

administrator   ~0008745

This last message is an issue with the Gnome theme for Qt5.

But out of this message do the application run normally?

Patrick Chevalley

24-01-15 21:30

administrator   ~0008746

Is this package installed? https://src.fedoraproject.org/rpms/qqc2-desktop-style

Alan Smith

24-01-15 23:05

reporter   ~0008747

I cannot see it having any effect on CDC's operation, it was more just to let you know it was happening.

I only noticed it when running skychart in Terminal to address Request 2704

I have not installed qqc2-desktop-style because it is a KDE-specific library.

It relies on KDE Frameworks 5 (kf5). The full list of dependencies needed to use qqc2-desktop-style is:

================================================================================
 Package Arch Version Repository Size
================================================================================
Installing:
 qqc2-desktop-style x86_64 5.111.0-1.fc38 updates 136 k
Installing dependencies:
 kf5-karchive x86_64 5.111.0-1.fc38 updates 162 k
 kf5-kauth x86_64 5.111.0-1.fc38 updates 152 k
 kf5-kcodecs x86_64 5.111.0-1.fc38 updates 202 k
 kf5-kconfigwidgets x86_64 5.111.0-1.fc38 updates 480 k
 kf5-kguiaddons x86_64 5.111.0-1.fc38 updates 127 k
 kf5-kiconthemes x86_64 5.111.0-1.fc38 updates 197 k
 kf5-kirigami2 x86_64 5.111.0-1.fc38 updates 484 k
 kf5-kwidgetsaddons x86_64 5.111.0-1.fc38 updates 1.6 M
 plasma-breeze-common noarch 5.27.9-1.fc38 updates 70 M
 polkit-qt5-1 x86_64 0.114.0-6.fc38 fedora 83 k

Alan Smith

24-01-15 23:14

reporter   ~0008748

I have installed qqc2-desktop-style and its dependencies as a test.

The Wayland message still displays in the output but I think the warning/error is having no impact on CDC.

$ skychart
QSocketNotifier: Can only be used with threads started with QThread
2024-01-15T22:07:50.673 Start trace
2024-01-15T22:07:50.673 Program version : 4.3-4646-2c30ce9a
2024-01-15T22:07:50.673 Program compiled: 2023/12/11 04:00:43
2024-01-15T22:07:50.673 Compiler version: Lazarus 2.2.4.0 Free Pascal 3.2.2 Linux-x86_64-qt5
2024-01-15T22:07:50.821 Screen scaling : True
2024-01-15T22:07:50.821 Screen scale : 105%
2024-01-15T22:07:50.822 Try language: en
2024-01-15T22:07:50.827 Language: en
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2024-01-15T22:07:51.129 Connected to the SQL database /home/<user_name>/.skychart/database/cdc.db
2024-01-15T22:07:51.129 Running on Qt version: 5.15.11
2024-01-15T22:07:51.218 Listen on port: 3292
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Alan Smith

24-01-16 00:44

reporter   ~0008750

I get a slightly different warning message on the operational telescope system (Ubuntu). I think this might give a clue as how to fix it.

"Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway"

Issue History

Date Modified Username Field Change
24-01-15 16:07 Alan Smith New Issue
24-01-15 18:29 Patrick Chevalley Assigned To => Patrick Chevalley
24-01-15 18:29 Patrick Chevalley Status new => feedback
24-01-15 18:29 Patrick Chevalley Note Added: 0008743
24-01-15 21:02 Alan Smith Note Added: 0008744
24-01-15 21:02 Alan Smith Status feedback => assigned
24-01-15 21:15 Patrick Chevalley Note Added: 0008745
24-01-15 21:30 Patrick Chevalley Note Added: 0008746
24-01-15 23:05 Alan Smith Note Added: 0008747
24-01-15 23:14 Alan Smith Note Added: 0008748
24-01-16 00:44 Alan Smith Note Added: 0008750