<div dir="ltr"><div><br clear="all"></div><div>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.<br><br>Specifically, the behavior is as follows:<br><br></div><img src="cid:ii_mjazykjc2" alt="570babae-0aa0-46ad-b475-063e6f776208.gif" width="539" height="298"><br><div><font face="arial, sans-serif">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.<br></font><br><img src="cid:ii_mjazz1163" alt="new.gif" width="539" height="298"><br><span class="gmail_signature_prefix"><br><pre dir="ltr" style="color:rgb(51,51,51);line-height:1.5;margin:0px;padding:0px;white-space:pre-line"><font face="arial, sans-serif" style="">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.
</font><font face="system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji" style="font-size:16px">
- repo: </font><a href="https://github.com/Jas0nG/kst/tree/master">https://github.com/Jas0nG/kst/tree/master</a>
<font face="system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji" style="font-size:16px">- PR: </font><a href="https://github.com/Kst-plot/kst/pull/27">https://github.com/Kst-plot/kst/pull/27</a>
</pre>-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="simsun, serif">吴天辰</font></div><div>Tianchen Wu</div>Best Regards</div></div></div></div>