[PR] [Improve] reset SelectionRect (cursor) in all plots of current view while levelEvent

Jas0n G wutianchen1 at gmail.com
Thu Dec 18 05:29:04 GMT 2025


Currently, after toggling tied on multiple plots, if the cursor is moved
out of the current plot, the SelectionRect will be removed only from the
current plot and will remain in the remaining plots for a long time, until
the mouse moves into one of the plots again, which may interfere with data
reading and screenshotting.

Specifically, the behavior is as follows:

[image: 570babae-0aa0-46ad-b475-063e6f776208.gif]
The purpose of this PR is to modify hoverLeaveEvent so that when the cursor
leaves a plot, all SelectionRect elements across all plots are removed,
achieving a cleaner visual effect.

[image: new.gif]

Because I don’t have a KDE Development account, I forked the
repository on GitHub and provided a PR. Could you please review the
related merge when you have a moment? Thanks again for your
contributions to the open-source community.
- repo: https://github.com/Jas0nG/kst/tree/master- PR:
https://github.com/Kst-plot/kst/pull/27


-- 
吴天辰
Tianchen Wu
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20251218/17037e93/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 570babae-0aa0-46ad-b475-063e6f776208.gif
Type: image/gif
Size: 139424 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kst/attachments/20251218/17037e93/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new.gif
Type: image/gif
Size: 155104 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kst/attachments/20251218/17037e93/attachment-0003.gif>


More information about the Kst mailing list