Bug 458228

Summary: Hugin doesnt work in Wayland
Product: [Applications] digikam Reporter: Simplissimus <kde.shieling>
Component: Plugin-Generic-PanoramaAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: major CC: caulier.gilles, martin-kokos
Priority: NOR    
Version First Reported In: 7.5.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.8.0
Sentry Crash Report:

Description Simplissimus 2022-08-24 00:31:49 UTC
SUMMARY

When Hugin is invoked from the application launcher, the program's cover page appears for a few seconds and quickly closes without anything else happening. When trying to run it from a virtual console this appears:

```
$ hugin

(hugin:5467): Gtk-CRITICAL **: 22:13:01.866: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.892: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.939: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.940: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.941: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.941: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.941: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.945: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.946: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.947: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.948: gtk_widget_set_size_request: assertion 'height >= -1' failed

(hugin:5467): Gtk-CRITICAL **: 22:13:01.948: gtk_widget_set_size_request: assertion 'height >= -1' failed
Violación de segmento
```

In a X11 session it works perfectly.


STEPS TO REPRODUCE
1. Open a terminal emulator, let's say Konsole
2. Type "hugin" and press enter


EXPECTED RESULT

Hugin should start.

Hugin version: 2021.0.0
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 1 caulier.gilles 2022-08-24 05:38:50 UTC
digiKam project is not reponsible of the maintenance of Hugin software suite... Please report this problem to Hugin team:

https://hugin.sourceforge.io/

Gilles Caulier
Comment 2 Simplissimus 2022-08-24 17:18:01 UTC
Yes, I know, but I thought your team would intervene in some way for its integration with Kwayland.
I don't really know why, I guess since Digikam is a KDE program I assumed that there would be some kind of testing before integrating Hugin into the suite.

Sorry for the inconvenience. Feel free to delete this wrong bug report.
Comment 3 martin-kokos 2022-11-02 22:27:29 UTC
For other encountering the problem. Launching it by specifying no Walyand works:
`WAYLAND_DISPLAY="" hugin`