Bug 446153

Summary: plugin-editor-perspective works difficult while using Wayland
Product: [Applications] digikam Reporter: PK <pieterkristensen>
Component: Plugin-Editor-PerspectiveAssignee: Digikam Developers <digikam-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.3.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description PK 2021-11-27 07:07:59 UTC
When I use the perspective-tool in Showfoto (7.3) the "handles" don't follow my movements when I'm using Wayland. Under X it's like a well oiled machine. 


STEPS TO REPRODUCE
1. start up the perspective-tool in digikam/showfoto
2. grab a corner and try to drag it

OBSERVED RESULT
Under Wayland the handle follows my movement in a choppy unpractical way, under X it directly follows my movements.

EXPECTED RESULT
That I can freely move the corners of the perspective-field
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600


ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-11-27 07:34:52 UTC
I tested it here under a Plasma Wayland session on openSUSE Tumbleweed. The problem is a performance problem when copying the image data. The same problem exists in the text tool that moving the text box over the image is extremely slow.

Maik
Comment 2 caulier.gilles 2023-06-01 16:13:39 UTC
Git commit 44160177c2661a24437eea683f58d3abca7b5d72 by Gilles Caulier.
Committed on 01/06/2023 at 16:11.
Pushed by cgilles into branch 'master'.

add Wayland protocols modules in AppImage bundle.
Compile KF5::KGuiAddOns module with Wayland support.
Related: bug 446729, bug 446511

M  +1    -0    project/bundles/3rdparty/CMakeLists.txt
M  +1    -1    project/bundles/3rdparty/ext_kf5_frameworks/CMakeLists.txt
A  +28   -0    project/bundles/3rdparty/ext_waylandprotocols/CMakeLists.txt
M  +3    -1    project/bundles/appimage/02-build-extralibs.sh

https://invent.kde.org/graphics/digikam/-/commit/44160177c2661a24437eea683f58d3abca7b5d72
Comment 3 caulier.gilles 2023-10-11 06:01:32 UTC
@PK,

What's about this file using current 8.2.0 AppImage Linux bundle ? It's
reproducible ?

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier