Created attachment 136303 [details] Video of the bug in action I have an uptodate fedora 33 computer, with okular-20.08.1-1.fc33.x86_64.rpm (reporting as okular 1.11.1). I have an issue which 1) occurs with .jpg and .png files, but not with .pdf files 2) occurs only when System Settings->Display Configuration->Global scale is not set to 100%. (Specifically: I have it set at 200%). The bug is the following: when trying to use the "Freehand line" annotation tool, everything works correctly while I draw. But when the drawing ends (when I release the mouse button, or when I remove my finger from the touchscreen), the whole drawing gets dilated by a factor of 2 from the upper-left corner: all the coordinates are multiplied by 2. I am attaching a small video to illustrate the problem. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 33 KDE Plasma Version: plasma-desktop-5.20.5-1.fc33.x86_64 KDE Frameworks Version: kf5-kparts-5.79.0-2.fc33.x86_64 Qt Version: qt5-qtbase-5.15.2-2.fc33.x86_64
I can’t reproduce that with current Okular, but I think I fixed that with this commit: commit 50df8ad877a51d479f602c3a519382cda02009c4 Author: David Hurka <david.hurka@mailbox.org> Date: Fri Jul 31 00:04:21 2020 +0000
Ah, yes, thanks: from the description of the commit, this looks likely. The commit is in okular-20-12, hopefully fedora will ship it at some time. When this happens, I'll confirm here whether the bug is fixed or not. (There is a okular-20-12 in fedora rawhide, but this requires to upgrade also the glibc, and I'd rather not take any chance...)
I have upgraded my fedora to version 34, I now have okular-20.12.2-2.fc34.x86_64, and the problem is indeed fixed. Thanks!