Created attachment 177942 [details] How preview scan looks SUMMARY When doing a preview scan in Skanpage, not able to set the selection. STEPS TO REPRODUCE 1. Open Skanpage with scanner attached 2. Click Preview 3. Try to change the selection by using the handles OBSERVED RESULT Can't change the selection without creating a new selection through "Add selection area" and carefully drawing the selection box. EXPECTED RESULT Can easily use selection handles to select the desired area for the final scan. SOFTWARE/OS VERSIONS Operating System: KDE neon 6.2 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 Kernel Version: 6.8.0-52-generic (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 520 ADDITIONAL INFORMATION In the screenshot, you'll notice the black half-moon handles. You would expect that using any of these to shrink or grow selection would work as expected- they do not work as expected. Sometimes the white box does overlap the area designated by the black half-moon handles. In previous releases, this did work- not sure when exactly this stopped worked.
Created attachment 177943 [details] Video of trying to set the selection area
Created attachment 177944 [details] Video of new preview scan followed by trying to set selection area
I am unable to replicate this issue. I did a preview scan and was able to move the selection around and resize it without it snapping back like you have. Can you please do this again in a new user account to rule out any configuration related issues.
Created attachment 178082 [details] My new user trying Skanpage. My new user trying Skanpage for the first time, showing the exact same thing.
Originally, I thought my laptop's setup was broken, but now I think this is somehow related to Neon's packaging. I've upgraded to 6.3 on this laptop today, and nothing has changed. I broke out a spare laptop, a Dell Inspiron 3520, and installed the current KDE Neon User ISO: neon-user-20250202-0745.iso Upgraded packages today, and updated to KDE 6.3 Skanpage fails exactly the same way first time I tried it. I then tried Fedora's KDE Spin, which does work: I used the current ISO for x64 https://download.fedoraproject.org/pub/fedora/linux/releases/41/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-41-1.4.iso I didn't patch anything. Skanpage 24.08.2 on Fedora 41 KDE Frameworks 6.7.0 Qt 6.7.2 KDE 6.2.1
Could you compare please the installed versions of kquickimageeditor between the setup that works and the one that doesn't?
On my Neon machine here's the installed version: qml6-module-org-kde-kquickimageeditor-0.5.0-0zneon+24.04+noble+release+build4.amd64 On my Fedora KDE test machine: kquickimageeditor-0.3.0
Upgraded my Dell Fedora test system over the weekend, and now it also fails in exactly the same way: dnf repoquery --info --installed kquickimageeditor-qt6 Name : kquickimageeditor-qt6 Version : 0.5.0 Release : 1.fc41 Architecture : x86_64 Installed size : 334.2 KiB Source : kquickimageeditor-0.5.0-1.fc41.src.rpm Name : skanpage Version : 24.12.2 Release : 1.fc41 Architecture : x86_64 Installed size : 875.3 KiB Source : skanpage-24.12.2-1.fc41.src.rpm Operating System: Fedora Linux 41 KDE Plasma Version: 6.3.1 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.12.15-200.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i3-2370M CPU @ 2.40GHz Memory: 7.6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 3000 Manufacturer: Dell Inc. Product Name: Inspiron 3520 (I also applied the patches to bring it up to KDE 6.3.2, and no change there).
I was able to find the last working Flatpak version for me using flatpak remote-info --log flathub org.kde.skanpage then updating to different versions using flatpak update --commit= org.kde.skanpage The last working version for me is: Commit: 6adaebb6dd1d5cbe5cdef406b4d3e8cdf52f501d3ce88fff73926215e4ca0457 Subject: Update ksanecore and skanpage modules (#36) (8e675a24) Date: 2025-01-09 15:06:18 +0000 The first broken version is: Commit: c381a4f9a96be5fa1dd2c5e85417df34eb73b2e61732858dbba485666e207c43 Subject: kquickimageeditor: Update kquickimageeditor-0.4.0.tar.xz to 0.5.0 (cb42f89c) Date: 2025-01-17 10:14:28 +0000 I did this on my KDE Neon system. Hope this helps!
There is a bug in kquickimageeditor 0.5 causing this. There is now a version 0.5.1 which is supposed to fix this, but during my quick testing not fully for the use-case in Skanpage. I may need to work around this for the next release.
I can confirm, I have the same issue, too. Appeared recently after a system update. I am on Artix GNU/Linux, a rolling release distribution, using (almost) newest version of almost all software
A possibly relevant merge request was started @ https://invent.kde.org/utilities/skanpage/-/merge_requests/100
Git commit e879fb04554e767e35784e4cdf0ffcd367a44247 by Alexander Stippich. Committed on 11/03/2025 at 21:09. Pushed by astippich into branch 'master'. simplify scan preview and selection areas This workarounds a bug in the 0.5 version of kquickimageditor and cleans up the code. May not look as nice as before but ensures that it is working. M +25 -121 src/qml/PreviewScanView.qml https://invent.kde.org/utilities/skanpage/-/commit/e879fb04554e767e35784e4cdf0ffcd367a44247
Git commit 09012b03ca7a6ccb774d4c1dc5f5324340777e60 by Alexander Stippich. Committed on 11/03/2025 at 21:29. Pushed by astippich into branch 'release/25.04'. simplify scan preview and selection areas This workarounds a bug in the 0.5 version of kquickimageditor and cleans up the code. May not look as nice as before but ensures that it is working. (cherry picked from commit e879fb04554e767e35784e4cdf0ffcd367a44247) Co-authored-by: Alexander Stippich <a.stippich@gmx.net> M +25 -121 src/qml/PreviewScanView.qml https://invent.kde.org/utilities/skanpage/-/commit/09012b03ca7a6ccb774d4c1dc5f5324340777e60
... having upgraded to kquickimageeditor 0.5.1 (.1 subversion), actually the issue was gone already for me. I don't know how general it is.