<?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[Weird mouse behaviour in Qt 5.8]]></title><description><![CDATA[<p dir="auto">I have updated to Qt 5.8. I have a bunch of SplitViews and some special controls that change the mouse cursor when mouse goes over them. With Qt 5.7 everything worked fine, but now I see a weird behaviour:</p>
<ul>
<li>
<p dir="auto">If the mouse is within the area of the application at initial run, then none of the cursor changes work. I have to move the mouse to one of the borders, so the cursor once changes to resizing mode and after that everything works normally.</p>
</li>
<li>
<p dir="auto">If the mouse is not within the area of the application at initial run, as I have to drag the mouse over the borders into the application, everything works fine.</p>
</li>
</ul>
<p dir="auto">Is it a known issue?</p>
]]></description><link>https://forum.qt.io/topic/76138/weird-mouse-behaviour-in-qt-5-8</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 22:13:59 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/76138.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Feb 2017 15:43:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Fri, 17 Feb 2017 22:14:47 GMT]]></title><description><![CDATA[<p dir="auto">Yes and I am not able to reproduce this.</p>
]]></description><link>https://forum.qt.io/post/376657</link><guid isPermaLink="true">https://forum.qt.io/post/376657</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 17 Feb 2017 22:14:47 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Fri, 17 Feb 2017 07:59:49 GMT]]></title><description><![CDATA[<p dir="auto">Yes happens in both modes. Have you tried reproducing it?</p>
]]></description><link>https://forum.qt.io/post/376468</link><guid isPermaLink="true">https://forum.qt.io/post/376468</guid><dc:creator><![CDATA[ehsanen]]></dc:creator><pubDate>Fri, 17 Feb 2017 07:59:49 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Thu, 16 Feb 2017 20:06:01 GMT]]></title><description><![CDATA[<p dir="auto">Then that looks even better.</p>
<p dir="auto">Does it happen both in debug and release mode ?</p>
]]></description><link>https://forum.qt.io/post/376343</link><guid isPermaLink="true">https://forum.qt.io/post/376343</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 16 Feb 2017 20:06:01 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Thu, 16 Feb 2017 08:28:24 GMT]]></title><description><![CDATA[<p dir="auto">I also have Qt 5.7 installed, but when building in Qt Creator I select Qt 5.8 kit. And the app binary seems to completely link to Qt 5.8!</p>
]]></description><link>https://forum.qt.io/post/376198</link><guid isPermaLink="true">https://forum.qt.io/post/376198</guid><dc:creator><![CDATA[ehsanen]]></dc:creator><pubDate>Thu, 16 Feb 2017 08:28:24 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Wed, 15 Feb 2017 21:03:54 GMT]]></title><description><![CDATA[<p dir="auto">Ok looks good,</p>
<p dir="auto">You don't have any other Qt 5 installed on your system ?</p>
]]></description><link>https://forum.qt.io/post/376054</link><guid isPermaLink="true">https://forum.qt.io/post/376054</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 15 Feb 2017 21:03:54 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Wed, 15 Feb 2017 08:56:46 GMT]]></title><description><![CDATA[<p dir="auto">Here is otool's output:</p>
<pre><code>/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)
/System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI (compatibility version 1.0.0, current version 73.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1153.18.0)
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
	@rpath/QtQuick.framework/Versions/5/QtQuick (compatibility version 5.8.0, current version 5.8.0)
	@rpath/QtQml.framework/Versions/5/QtQml (compatibility version 5.8.0, current version 5.8.0)
	@rpath/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.8.0, current version 5.8.0)
	@rpath/QtCore.framework/Versions/5/QtCore (compatibility version 5.8.0, current version 5.8.0)
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	@rpath/QtGui.framework/Versions/5/QtGui (compatibility version 5.8.0, current version 5.8.0)
	@rpath/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.8.0, current version 5.8.0)
	@rpath/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.8.0, current version 5.8.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

</code></pre>
]]></description><link>https://forum.qt.io/post/375866</link><guid isPermaLink="true">https://forum.qt.io/post/375866</guid><dc:creator><![CDATA[ehsanen]]></dc:creator><pubDate>Wed, 15 Feb 2017 08:56:46 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Tue, 14 Feb 2017 21:07:57 GMT]]></title><description><![CDATA[<p dir="auto">Ok, then it's likely something else...</p>
<p dir="auto">Just to be sure, can you run <code>otool -L</code> on your application executable ?</p>
]]></description><link>https://forum.qt.io/post/375760</link><guid isPermaLink="true">https://forum.qt.io/post/375760</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 14 Feb 2017 21:07:57 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Tue, 14 Feb 2017 12:43:25 GMT]]></title><description><![CDATA[<p dir="auto">I am using OS X Yosemite. I did not do the deployment process as I am running it locally, and Qt is already installed on my local system.</p>
]]></description><link>https://forum.qt.io/post/375672</link><guid isPermaLink="true">https://forum.qt.io/post/375672</guid><dc:creator><![CDATA[ehsanen]]></dc:creator><pubDate>Tue, 14 Feb 2017 12:43:25 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Tue, 14 Feb 2017 11:07:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Then are you sure that your application is loading the same version of Qt when you start it outside Qt Creator ?</p>
<p dir="auto">What OS are you running ?<br />
Did you do the deployment steps before starting your application ?</p>
]]></description><link>https://forum.qt.io/post/375642</link><guid isPermaLink="true">https://forum.qt.io/post/375642</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 14 Feb 2017 11:07:07 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Tue, 14 Feb 2017 08:52:15 GMT]]></title><description><![CDATA[<p dir="auto">With more tests I noticed that, this bug occurs only when running the application from within the Qt Creator. If I build first and then run the app by double clicking the binary, it won't happen.<br />
Reproducing is actually pretty easy, here is a simple example:</p>
<pre><code>
ApplicationWindow {
        visible: true
        width: 500
        height: 500

Item {
    Rectangle {
        x: 100
        y: 100
        width: 150
        height: 150
        color: "grey"
        MouseArea {
            id: rectmouse
            anchors.fill: parent
            hoverEnabled: true
            onEntered: {
                rectmouse.cursorShape = Qt.SizeHorCursor
            }
            onExited: {
                rectmouse.cursorShape = Qt.ArrowCursor
            }
        }
    }
}

</code></pre>
<p dir="auto">There is a rectangle in the main window on mouse enter/exit it is supposed to change the mouse cursor. If you run this, and remember the mouse cursor should be within the area of the app when the app opens. Then none of the cursor changes work. If the mouse is out of the app area and you bring it in, cursor changes work normally.<br />
Anyway, as it is just reproducible when I run from Qt Creator and will not affect the end user, I don't count it as a critical bug.</p>
]]></description><link>https://forum.qt.io/post/375587</link><guid isPermaLink="true">https://forum.qt.io/post/375587</guid><dc:creator><![CDATA[ehsanen]]></dc:creator><pubDate>Tue, 14 Feb 2017 08:52:15 GMT</pubDate></item><item><title><![CDATA[Reply to Weird mouse behaviour in Qt 5.8 on Mon, 13 Feb 2017 18:05:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi! You can go to <a href="https://bugreports.qt.io" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io</a> and see there if this is a known issue. If it's not, then maybe you can post a minimal example here, so other users can try to reproduce it.</p>
]]></description><link>https://forum.qt.io/post/375480</link><guid isPermaLink="true">https://forum.qt.io/post/375480</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 13 Feb 2017 18:05:43 GMT</pubDate></item></channel></rss>