<?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[showMinimized() not working on mac os.. ...]]></title><description><![CDATA[<p dir="auto">showMinimized() working fine for windows and Linux but not working on mac os.. ...</p>
]]></description><link>https://forum.qt.io/topic/139142/showminimized-not-working-on-mac-os</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 23:08:07 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139142.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Sep 2022 09:25:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to showMinimized() not working on mac os.. ... on Thu, 22 Sep 2022 07:40:58 GMT]]></title><description><![CDATA[<p dir="auto"><code>Qt::FramelessWindowHint</code> translates into <code>NSWindowStyleMaskBorderless</code>on macOS.<br />
Borderless windows not minimizing programmatically, is <a href="https://github.com/godotengine/godot/issues/55897" target="_blank" rel="noopener noreferrer nofollow ugc">known behavior</a> on macOS. It's arguable if that behavior is a bug or a feature: A frameless window has no handles for the user to show/hide/maximize it. So if minimized programmatically, the user cannot interact with it any more. Popup windows are typical frameless/borderless use cases.<br />
Having said that, <code>showMinimized()</code>works on macOS, unless <code>Qt::FramelessWindowHint</code> is set and/or the window is a popup.</p>
]]></description><link>https://forum.qt.io/post/729725</link><guid isPermaLink="true">https://forum.qt.io/post/729725</guid><dc:creator><![CDATA[Axel Spoerl]]></dc:creator><pubDate>Thu, 22 Sep 2022 07:40:58 GMT</pubDate></item><item><title><![CDATA[Reply to showMinimized() not working on mac os.. ... on Thu, 22 Sep 2022 05:21:37 GMT]]></title><description><![CDATA[<ol>
<li>Create a new Qt GUI application;</li>
<li>Set window flags of main window like following:<br />
this-&gt;setWindowFlags(Qt::FramelessWindowHint);</li>
<li>Invoke showMinimized() method by any means, the main window doesn't minimize itself after that.</li>
</ol>
<p dir="auto">Regards,<br />
james</p>
]]></description><link>https://forum.qt.io/post/729692</link><guid isPermaLink="true">https://forum.qt.io/post/729692</guid><dc:creator><![CDATA[Jameswalter]]></dc:creator><pubDate>Thu, 22 Sep 2022 05:21:37 GMT</pubDate></item><item><title><![CDATA[Reply to showMinimized() not working on mac os.. ... on Wed, 07 Sep 2022 19:30:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/integer">@<bdi>integer</bdi></a> showMinimized() is working as expected here on macOS 12.5.1 Apple M1 with Qt 6.4b4</p>
]]></description><link>https://forum.qt.io/post/727837</link><guid isPermaLink="true">https://forum.qt.io/post/727837</guid><dc:creator><![CDATA[DerReisende]]></dc:creator><pubDate>Wed, 07 Sep 2022 19:30:10 GMT</pubDate></item><item><title><![CDATA[Reply to showMinimized() not working on mac os.. ... on Wed, 07 Sep 2022 18:56:05 GMT]]></title><description><![CDATA[<p dir="auto">Can you post more of your code?</p>
]]></description><link>https://forum.qt.io/post/727827</link><guid isPermaLink="true">https://forum.qt.io/post/727827</guid><dc:creator><![CDATA[Axel Spoerl]]></dc:creator><pubDate>Wed, 07 Sep 2022 18:56:05 GMT</pubDate></item></channel></rss>