Bug 483968

Summary: Okular now moves the starting point of the text selection region when I position my cursor before the original starting point.
Product: [Applications] okular Reporter: Sishun Liu <liusishun5>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version: 24.02.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Video about this issue.

Description Sishun Liu 2024-03-19 05:55:46 UTC
When I use the text selection tool to select text in a PDF file, Okular lets the starting point instead of the end point of the text selection region follow my cursor when the cursor is located before the original starting point. I don't think it is an intended behavior because it is super confusing and unintuitive.

STEPS TO REPRODUCE
1. Open a pdf file in Okular.
2. Use the official text selection tool to select something.

OBSERVED RESULT
The starting point of the text selection region follow the cursor when it is located before the original starting point.

EXPECTED RESULT
The starting point should be fixed during the text selection operation.

SOFTWARE/OS VERSIONS
Okular Version: 24.02.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Sishun Liu 2024-03-19 06:08:30 UTC
Created attachment 167453 [details]
Video about this issue.
Comment 2 Sune Vuorela 2024-03-19 09:01:58 UTC
Thanks for your great report. It looks very much like https://bugs.kde.org/show_bug.cgi?id=482249 which is fixed in next patch release.

Marking as duplicate.

*** This bug has been marked as a duplicate of bug 482249 ***