<?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[QToolButton and InstantPopup mode icon issue (large black down arrow across entire icon face)]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have a toolbar, to which I add a QToolButton to show a menu.  Prior to Qt 6.2.3, this used to display the tiny arrow menu indicator in the bottom right corner of the button.  I think Qt 6.2.3 either introduced a bug or some setting that needs to be specified.  Now, there is a large down arrow being displayed like this on top of the whole icon.  <strong>Both DelayedPopup and InstantPopup</strong> show this problem :</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/60aed43c-83e7-419a-9717-ec33af6fa0b9.png" alt="InstantPopup.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But MenuButtonPopup seems to work correctly:<br />
.<img src="https://ddgobkiprc33d.cloudfront.net/10d74f39-01e2-402d-b17d-05fa4df03f23.png" alt="MenubuttonPopup.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>This is a code snippet to recreate the problem:</strong></p>
<pre><code>  QToolButton* button = new QToolButton();
  button-&gt;setPopupMode(QToolButton::InstantPopup);
  QMenu* menu = new QMenu();

  button-&gt;setMenu(menu);
  button-&gt;setIcon(QIcon(":/stop.png"));
  menu-&gt;addAction("test1");
  toolbar-&gt;addWidget(button);
</code></pre>
<p dir="auto">I can't seem to fix with stylesheets or with any other settings.  Is this a bug?  Anybody have suggestions that can fix this problem?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/134765/qtoolbutton-and-instantpopup-mode-icon-issue-large-black-down-arrow-across-entire-icon-face</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 01:24:13 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/134765.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Mar 2022 22:55:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QToolButton and InstantPopup mode icon issue (large black down arrow across entire icon face) on Thu, 03 Mar 2022 14:14:54 GMT]]></title><description><![CDATA[<p dir="auto">Thanks @Axel-Spoerl.</p>
]]></description><link>https://forum.qt.io/post/705005</link><guid isPermaLink="true">https://forum.qt.io/post/705005</guid><dc:creator><![CDATA[JohnGa]]></dc:creator><pubDate>Thu, 03 Mar 2022 14:14:54 GMT</pubDate></item><item><title><![CDATA[Reply to QToolButton and InstantPopup mode icon issue (large black down arrow across entire icon face) on Thu, 03 Mar 2022 13:17:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi John,<br />
indeed, this is a bug. See <a href="https://bugreports.qt.io/browse/QTBUG-100433" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> for details and fixed Qt versions.<br />
Brgds<br />
Axel</p>
]]></description><link>https://forum.qt.io/post/704991</link><guid isPermaLink="true">https://forum.qt.io/post/704991</guid><dc:creator><![CDATA[Axel Spoerl]]></dc:creator><pubDate>Thu, 03 Mar 2022 13:17:12 GMT</pubDate></item></channel></rss>