View Issue Details

IDProjectCategoryView StatusLast Update
0000305QElectroTechDiagram Editorpublic2024-06-09 13:53
ReporterElectro Agropack Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformGnomeOSLinuxOS VersionFedora Linux 40
Summary0000305: Impossible d'intégrer les "Panels" dans l'interface principale sous Wayland
DescriptionLorsque l'on détache un des "Panels" (Projets, Collections, Annulations, Propriétés de la sélection, Sélection numérotation Auto), il est impossible de les réintégrer dans l'interface quand je suis sous Gnome Wayland.
Par contre cela fonctionne correctement sous Gnome Xorg.
Steps To Reproduce
  1. Supprimer un des Panels
  2. Cliquer sur "Configuration"
  3. Cliquer sur "Afficher"
  4. Cliquer sur un des Panels désactivés
  5. Essayer de bouger la fenêtre du panel pour l'intégrer à l'interface
Additional InformationQElectroTech V 0.90
Compilation : GCC 14.0.1 20240125 (Red Hat 14.0.1-0)
Built with Qt 5.15.12 - x86_64 - Date : Jan 26 2024 : 00:00:00
Run with Qt 5.15.13 using 4 thread(s)
CPU : model name : Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
RAM Total : 7 GB
RAM Available : 5 GB
GPU : Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
GPU RAM : Video memory: 7814MB
OS : linux - x86_64 - Version : Fedora Linux 40 (Workstation Edition) - Kernel : 6.8.10-300.fc40.x86_64
*** Qt screens ***
( 1 : 1920 x 1080 )
Tagswayland

Activities

Electro Agropack

2024-05-22 12:26

reporter   ~0000714

Log d'erreurs :

12:21:04.731 Warning: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x561823bda7d0) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x561823fae580) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents (:0, )
12:21:10.067 Warning: Wayland does not support QWindow::requestActivate() (:0, )

scorpio810

2024-06-03 18:19

administrator   ~0000719

As tu essayé de lancer QET dans un terminal
export QT_QPA_PLATFORM=wayland qelectrotech

scorpio810

2024-06-06 14:58

administrator   ~0000721

qelectrotech -platform wayland

scorpio810

2024-06-06 15:28

administrator   ~0000722

15:26:24.062 Warning: This plugin supports grabbing the mouse only for popup windows (:0, )
15:26:24.745 Warning: This plugin supports grabbing the mouse only for popup windows (:0, )
15:26:24.746 Warning: Wayland does not support QWindow::requestActivate() (:0, )

scorpio810

2024-06-06 15:35

administrator   ~0000723

Last edited: 2024-06-06 15:40

A tester?
XDG_SESSION_TYPE=x11 qelectrotech

https://github.com/KDAB/KDDockWidgets/issues/10
QT_QPA_PLATFORM=xcb qelectrotech

https://bugreports.qt.io/browse/QTBUG-108675

Electro Agropack

2024-06-07 09:13

reporter   ~0000724

Rapport des différents essais (je n'ai mis que les erreurs quand je bouge les panels):


$ qelectrotech
08:42:53.989 Warning: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x55ad7eac9590) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x55ad7f76ba60) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents (:0, )
08:42:56.438 Warning: This plugin supports grabbing the mouse only for popup windows (:0, )
08:42:57.563 Warning: This plugin supports grabbing the mouse only for popup windows (:0, )
08:42:57.564 Warning: Wayland does not support QWindow::requestActivate() (:0, )

$ QT_QPA_PLATFORM=wayland qelectrotech
08:43:29.391 Warning: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x558002b354c0) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x558003948f90) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents (:0, )

$ qelectrotech -platform wayland
08:44:57.721 Warning: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x55d6318d73b0) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x55d6326e3fd0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents (:0, )
08:44:58.775 Warning: Wayland does not support QWindow::requestActivate() (:0, )
08:45:03.326 Warning: This plugin supports grabbing the mouse only for popup windows (:0, )

$ XDG_SESSION_TYPE=x11 qelectrotech
Pas d'erreurs et comportement des fenêtres OK !

$ QT_QPA_PLATFORM=xcb qelectrotech
Pas d'erreurs et comportement des fenêtres OK !

scorpio810

2024-06-07 14:35

administrator   ~0000725

Merci du retour.
Je pense que le workaround serai de modifier pour ceux sous Wayland le qelectrotech.desktop
https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/misc/qelectrotech.desktop#L5C1-L5C21

Exec=qelectrotech %F
Par
Exec=QT_QPA_PLATFORM=xcb qelectrotech %F

Electro Agropack

2024-06-09 12:39

reporter   ~0000726

Last edited: 2024-06-09 12:40

A priori la syntaxe pour le .desktop n'est pas correcte et ne fonctionne pas (en tout cas sous Gnome 46)
Exec=QT_QPA_PLATFORM=xcb qelectrotech %F

Il vaut mieux mettre
Exec=env QT_QPA_PLATFORM=xcb qelectrotech %F

Merci de ton aide tout fonctionne correctement !!

scorpio810

2024-06-09 13:53

administrator   ~0000727

Merci de ton retour,
effectivement d’après ce post il vaut mieux ajouter le "env"
https://github.com/keepassxreboot/keepassxc/issues/4105#issuecomment-812473875

Issue History

Date Modified Username Field Change
2024-05-22 12:18 Electro Agropack New Issue
2024-05-22 12:18 Electro Agropack Tag Attached: wayland
2024-05-22 12:26 Electro Agropack Note Added: 0000714
2024-06-03 18:19 scorpio810 Note Added: 0000719
2024-06-06 14:58 scorpio810 Note Added: 0000721
2024-06-06 15:28 scorpio810 Note Added: 0000722
2024-06-06 15:35 scorpio810 Note Added: 0000723
2024-06-06 15:40 scorpio810 Note Edited: 0000723
2024-06-07 09:13 Electro Agropack Note Added: 0000724
2024-06-07 14:35 scorpio810 Note Added: 0000725
2024-06-09 12:39 Electro Agropack Note Added: 0000726
2024-06-09 12:40 Electro Agropack Note Edited: 0000726
2024-06-09 13:53 scorpio810 Note Added: 0000727