<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:large"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 27 Dec 2022 at 21:23, Benoit Minisini <<a href="mailto:benoit.minisini@gambas-basic.org">benoit.minisini@gambas-basic.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 27/12/2022 à 19:57, Bruce Steers a écrit :<br>
> <br>
> So it pastes regardless of any desktop settings.<br>
> I've added an option in my ide for now as it is infuriating.<br>
> <a href="https://gitlab.com/bsteers4/gambas/-/commit/576e0d8ada2264fec19754d85e5db58784b58144" rel="noreferrer" target="_blank">https://gitlab.com/bsteers4/gambas/-/commit/576e0d8ada2264fec19754d85e5db58784b58144</a> <<a href="https://gitlab.com/bsteers4/gambas/-/commit/576e0d8ada2264fec19754d85e5db58784b58144" rel="noreferrer" target="_blank">https://gitlab.com/bsteers4/gambas/-/commit/576e0d8ada2264fec19754d85e5db58784b58144</a>><br>
> (plus the next commit to fix accidentally modified code)<br>
> <br>
> Respects<br>
> BruceS<br>
> <br>
<br>
It's partially solved in the last commits.<br>
<br>
GTK+ has a global desktop property for middle click paste that is taken <br>
into account by GTK+ components at application startup.<br>
<br>
But QT does not have an equivalent. So you have to clear the <br>
Application.MiddleClickPaste yourself to have the same effect, and at <br>
the moment the native Qt controls do not take the property into account.<br>
<br>
Regards,<br>
<br>
-- <br>
Benoît Minisini.<br></blockquote><div><br></div><div style="font-size:large" class="gmail_default">Excellent, thank you kind sir :)</div><div style="font-size:large" class="gmail_default"></div><div style="font-size:large" class="gmail_default">I think a lot of applications including big ones like firefox have their own middle click option, possibly because there's not a reliable way to get the setting on all systems?</div><div style="font-size:large" class="gmail_default"><br></div><div style="font-size:large" class="gmail_default">The change works great for me, no more middle click mishaps in the IDE now.</div><div style="font-size:large" class="gmail_default">Thanks again :)</div><div style="font-size:large" class="gmail_default">BruceS<br></div></div></div>