<?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[Focus Stealing]]></title><description><![CDATA[<p dir="auto">Once the Qt application is opened, how to ensure that it cannot be switched to a different screen?</p>
]]></description><link>https://forum.qt.io/topic/101328/focus-stealing</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 05:29:25 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/101328.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Apr 2019 09:40:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Focus Stealing on Tue, 02 Apr 2019 12:18:47 GMT]]></title><description><![CDATA[<p dir="auto">Button as in a rectangle which when clicked performs the action</p>
]]></description><link>https://forum.qt.io/post/520811</link><guid isPermaLink="true">https://forum.qt.io/post/520811</guid><dc:creator><![CDATA[Harsh13]]></dc:creator><pubDate>Tue, 02 Apr 2019 12:18:47 GMT</pubDate></item><item><title><![CDATA[Reply to Focus Stealing on Tue, 02 Apr 2019 11:53:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harsh13">@<bdi>Harsh13</bdi></a><br />
that is the default behavior.</p>
<p dir="auto">Buttons don't emit the clicked signal during focus change.</p>
]]></description><link>https://forum.qt.io/post/520805</link><guid isPermaLink="true">https://forum.qt.io/post/520805</guid><dc:creator><![CDATA[J.Hilk]]></dc:creator><pubDate>Tue, 02 Apr 2019 11:53:25 GMT</pubDate></item><item><title><![CDATA[Reply to Focus Stealing on Tue, 02 Apr 2019 11:50:07 GMT]]></title><description><![CDATA[<p dir="auto">There's a button, on click of which, the value gets incremented and when clicked again, the changed value gets confirmed. If incremented and not confirmed, a color animation(similar to blinking ) begins for 30 seconds.<br />
Now if I click on the button and increment the value without confirming it and switch to a different screen and then come back to the application, it should remain on the value without getting confirmed.</p>
]]></description><link>https://forum.qt.io/post/520804</link><guid isPermaLink="true">https://forum.qt.io/post/520804</guid><dc:creator><![CDATA[Harsh13]]></dc:creator><pubDate>Tue, 02 Apr 2019 11:50:07 GMT</pubDate></item><item><title><![CDATA[Reply to Focus Stealing on Tue, 02 Apr 2019 11:02:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harsh13">@<bdi>Harsh13</bdi></a> hi,<br />
what do you mean by  "  <strong>I've changed the value of a button</strong>  ..  <strong>without confirming the value</strong> "  ?</p>
<p dir="auto">maybe this can help  <a href="https://doc.qt.io/qt-5/dialogs.html" target="_blank" rel="noopener noreferrer nofollow ugc">Dialog Windows<br />
</a></p>
]]></description><link>https://forum.qt.io/post/520794</link><guid isPermaLink="true">https://forum.qt.io/post/520794</guid><dc:creator><![CDATA[ODБOï]]></dc:creator><pubDate>Tue, 02 Apr 2019 11:02:05 GMT</pubDate></item><item><title><![CDATA[Reply to Focus Stealing on Tue, 02 Apr 2019 10:53:44 GMT]]></title><description><![CDATA[<p dir="auto">Consider this scenario- I've changed the value of a button and without confirming the value, I switch to another screen. Later when I switch back to the application, the value is automatically confirmed which is not the expected behavior.</p>
]]></description><link>https://forum.qt.io/post/520793</link><guid isPermaLink="true">https://forum.qt.io/post/520793</guid><dc:creator><![CDATA[Harsh13]]></dc:creator><pubDate>Tue, 02 Apr 2019 10:53:44 GMT</pubDate></item><item><title><![CDATA[Reply to Focus Stealing on Tue, 02 Apr 2019 10:39:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/harsh13">@<bdi>Harsh13</bdi></a> and welcome</p>
<p dir="auto">the answer is you can't that is managed by your Operation System/ Window Manager.</p>
<p dir="auto">Maybe there's a way to archive what you want, what exactly do you want to prevent?</p>
]]></description><link>https://forum.qt.io/post/520788</link><guid isPermaLink="true">https://forum.qt.io/post/520788</guid><dc:creator><![CDATA[J.Hilk]]></dc:creator><pubDate>Tue, 02 Apr 2019 10:39:39 GMT</pubDate></item></channel></rss>