Bug 485619

Summary: Mouse Mark desktop effect creates an unwanted line between the point mouse was on during undo and and where it is when starting to draw
Product: [Plasma] kwin Reporter: Antti Savolainen <antti.savo>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antti Savolainen 2024-04-16 04:31:20 UTC
SUMMARY
Demonstrative video: https://youtu.be/SHYac7Dj42E
If I use the hotkey for "Clear Last Mouse Mark", Kwin will take the point where the mouse was at that point and make it the starting point of the next mouse mark. This will create annoying streaks on the screen.

STEPS TO REPRODUCE
1. Enable Mouse Mark
2. Use Mouse Mark to mark something on the screen
3. Erase the mark (default Ctrl+Shift+F12)
4. Move your mouse elsewhere and make a new mark there

OBSERVED RESULT
There is a giant line from the point where the erasure was made and the start of the new mark

EXPECTED RESULT
The mark should start where the mouse is when starting to draw

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Comment 1 fanzhuyifan 2024-04-21 16:43:23 UTC
Fixed in 6.0.4

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