<?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[QSpinBox and QDoubleSpinBox behaving different in Android App with Qt5.9.2 on Android API23]]></title><description><![CDATA[<p dir="auto">Hello<br />
I have an application deployed on google play. With runtime permissions setting requirement for the android, I had to switch from Qt5.7.0 to Qt5.9.2 in order to use the permissions.h workaround for invoking the permissions in runtime.<br />
In this shift from Qt5.7 to Qt5.9.2, there has been a change in way the QSpinBox and QDoubleSpinBox is behaving.<br />
This is a link to video of the same app working with Qt5.7<br />
<a href="https://vimeo.com/238543289" target="_blank" rel="noopener noreferrer nofollow ugc">https://vimeo.com/238543289</a></p>
<p dir="auto">This is a link to video of the app working with Qt5.9.2<br />
<a href="https://vimeo.com/238543317" target="_blank" rel="noopener noreferrer nofollow ugc">https://vimeo.com/238543317</a></p>
<p dir="auto">And these are the messages that I receive in the Applications window when I am running the app with device connected.</p>
<pre><code>D ViewRootImpl: ViewPostImeInputStage processPointer 0
D ViewRootImpl: #1 mView = android.widget.PopupWindow$PopupDecorView{6a4cfc1 V.E...... ......I. 0,0-0,0}
D ViewRootImpl: #1 mView = android.widget.PopupWindow$PopupDecorView{c9166a7 V.E...... ......I. 0,0-0,0}
D ViewRootImpl: ViewPostImeInputStage processPointer 1
D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
D ViewRootImpl: #3 mView = null
D ViewRootImpl: #3 mView = null
</code></pre>
<p dir="auto">As you can see... when I press the arrow once the value changes properly. When I change it second time, it does not change but instead two blue pointers are seen... usually seen around selected text on android, and the item automatically gets deselected.<br />
Contrary to that, the same source code when compiled on Qt5.7 you change the value many times, the value changes properly.</p>
<p dir="auto">How to correct this problem? IS it a bug in Qt5.9.2? How to overcome this problem?</p>
<p dir="auto">Thanks<br />
KK</p>
]]></description><link>https://forum.qt.io/topic/84253/qspinbox-and-qdoublespinbox-behaving-different-in-android-app-with-qt5-9-2-on-android-api23</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 02:30:11 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/84253.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Oct 2017 08:36:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QSpinBox and QDoubleSpinBox behaving different in Android App with Qt5.9.2 on Android API23 on Wed, 18 Oct 2017 12:00:08 GMT]]></title><description><![CDATA[<p dir="auto">Thanks SGaist for the tip.</p>
<p dir="auto">Yes, it is indeed a bug and related to the same. Just that I did not see this bug till 5.9, in 5.8 it was working OK with the spinbox.</p>
<p dir="auto">on valuechanged signal, I just put clearfocus for each spinbox and it gave a good workaround for the timebeing.</p>
<p dir="auto">Thanks once agian.</p>
]]></description><link>https://forum.qt.io/post/421553</link><guid isPermaLink="true">https://forum.qt.io/post/421553</guid><dc:creator><![CDATA[TheCrowKaka]]></dc:creator><pubDate>Wed, 18 Oct 2017 12:00:08 GMT</pubDate></item><item><title><![CDATA[Reply to QSpinBox and QDoubleSpinBox behaving different in Android App with Qt5.9.2 on Android API23 on Tue, 17 Oct 2017 20:35:36 GMT]]></title><description><![CDATA[<p dir="auto">I wonder if it's related to <a href="https://bugreports.qt.io/browse/QTBUG-58700" target="_blank" rel="noopener noreferrer nofollow ugc">QTBUG-58700</a>.</p>
]]></description><link>https://forum.qt.io/post/421419</link><guid isPermaLink="true">https://forum.qt.io/post/421419</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 17 Oct 2017 20:35:36 GMT</pubDate></item><item><title><![CDATA[Reply to QSpinBox and QDoubleSpinBox behaving different in Android App with Qt5.9.2 on Android API23 on Tue, 17 Oct 2017 10:01:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I tried finding on the bug report system but did not find any such bug.</p>
<p dir="auto">I tried to create a simple widget app. On the mainwindows add a button and a couple of spinboxes.<br />
This is a video of how they behave when I press the arrow the second time...<br />
<a href="https://vimeo.com/238554589" target="_blank" rel="noopener noreferrer nofollow ugc">https://vimeo.com/238554589</a><br />
You will see that the cut, copy and related controls are automatically seen with the selected text inside the spin box. This is not seen when compiled with 5.7 but seen with 5.9.2</p>
<p dir="auto">How to disable this from happening?</p>
<p dir="auto">Thanks</p>
<p dir="auto">KK</p>
]]></description><link>https://forum.qt.io/post/421332</link><guid isPermaLink="true">https://forum.qt.io/post/421332</guid><dc:creator><![CDATA[TheCrowKaka]]></dc:creator><pubDate>Tue, 17 Oct 2017 10:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to QSpinBox and QDoubleSpinBox behaving different in Android App with Qt5.9.2 on Android API23 on Tue, 17 Oct 2017 09:15:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">IIRC, the pointer (handler ?) handling has been modified so it might be related. I'd recommend taking a look at the <a href="https://bugreports.qt.io" target="_blank" rel="noopener noreferrer nofollow ugc">bug report system</a> to see if there something related.</p>
]]></description><link>https://forum.qt.io/post/421321</link><guid isPermaLink="true">https://forum.qt.io/post/421321</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 17 Oct 2017 09:15:35 GMT</pubDate></item></channel></rss>