<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to ignore click that closes&#x2F;hides the contextual menu ?]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am facing a problem where an event is processed when I left click to exit from the contextual menu.</p>
<ol>
<li>Right click -&gt; Contextual menu appears</li>
<li>Left click anywhere but on any contextual action -&gt; the contextual menu disappears as expected</li>
<li>That left click is processed as a standard left click and initiate some stuff I don't want, I just wanted to exit from contextual menu.</li>
</ol>
<p dir="auto">How can I prevent from that ?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.qt.io/topic/86656/how-to-ignore-click-that-closes-hides-the-contextual-menu</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 03:05:17 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/86656.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Jan 2018 15:13:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to ignore click that closes&#x2F;hides the contextual menu ? on Wed, 10 Jan 2018 10:34:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johndoh">@<bdi>JohnDoh</bdi></a></p>
<p dir="auto">So the issue is that clicking outside the context popup menu does close the menu but ALSO triggers<br />
an action just as if user clicked directly on it ?</p>
<p dir="auto">Please make a small default GUI project and try it there so we are sure its not<br />
something in your code that does it. :)</p>
]]></description><link>https://forum.qt.io/post/435868</link><guid isPermaLink="true">https://forum.qt.io/post/435868</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Wed, 10 Jan 2018 10:34:28 GMT</pubDate></item><item><title><![CDATA[Reply to How to ignore click that closes&#x2F;hides the contextual menu ? on Wed, 10 Jan 2018 09:13:02 GMT]]></title><description><![CDATA[<p dir="auto">Win7, Qt 5.9.1</p>
<p dir="auto">It is a QWidget that handle a plotter paint area where we draw curves.<br />
The left click starts to edit the curve as a normal left click would do but that particular left click was just supposed to close/hide the contextual menu and nothing more.</p>
]]></description><link>https://forum.qt.io/post/435856</link><guid isPermaLink="true">https://forum.qt.io/post/435856</guid><dc:creator><![CDATA[JohnDoh]]></dc:creator><pubDate>Wed, 10 Jan 2018 09:13:02 GMT</pubDate></item><item><title><![CDATA[Reply to How to ignore click that closes&#x2F;hides the contextual menu ? on Tue, 09 Jan 2018 21:54:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">What does happen ?<br />
On what kind of widget does it happen ?<br />
What OS ?<br />
What Qt version ?</p>
]]></description><link>https://forum.qt.io/post/435752</link><guid isPermaLink="true">https://forum.qt.io/post/435752</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 09 Jan 2018 21:54:37 GMT</pubDate></item></channel></rss>