Bug 462159

Summary: crashes when using three finger swipe
Product: [Applications] okular Reporter: Leo42 <leokapp44>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: crash CC: nicolas.fella
Priority: NOR    
Version: 22.04.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Leo42 2022-11-23 10:08:51 UTC
STEPS TO REPRODUCE
1. open ocular on a multitouch device.
2. swipe with three fingers (for example to switch virtual desktop, to bring up overview... or because you are using a pen and your palm is recognized as three fingers.)

OBSERVED RESULT
If a pdf is displayed: Okular turns gray (Not responding) but window doesn't close right away.
If in the default starting page: Okular window closes immediately

Terminal output:
```
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = okular path = /usr/bin pid = 24393
KCrash: Arguments: /usr/bin/okular 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
kf5idletime_kwayland: This plugin does not support polling idle time
fish: Job 1, 'okular' has stopped
```

EXPECTED RESULT
Okular probably should not even get the three finger swipe gesture, since it should be handled by kwin or whatever does the virtual desktop switching.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
System Version: ThinkPad X1 Yoga 3rd

ADDITIONAL INFORMATION
I'm not using standard Kubuntu but backports-extra ppa and wayland.
I wasn't able to install debug symbols because: (english in parentheses)
```
Die folgenden Pakete haben unerfüllte Abhängigkeiten: (The following packages could not be installed)
 okular-dbgsym : Hängt ab von (depends on): okular (= 4:21.12.3-0ubuntu1) aber (but) 4:22.04.3-0ubuntu1~ubuntu22.04~ppa2 soll installiert werden (should get installed)
```
Possibly because I'm using okular from backports-extra ppa. So how do I install it? I followed these instructions: https://wiki.ubuntu.com/Debug%20Symbol%20Packages Maybe the debug symbols should be in the backports-extra repo too.
Comment 1 Nicolas Fella 2022-11-23 10:40:42 UTC
This should be fixed with https://invent.kde.org/qt/qt/qtwayland/-/commit/4d900fb4e68f8b3c0956948d613a072622fbc803

Unfortunately Kubuntu seems to be behind on shipping the latest Qt bugfix releases