<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src/quick/items/qquickwindow.cpp, branch old/5.1</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Fix warning about unused variable.</title>
<updated>2013-08-27T11:38:44+00:00</updated>
<author>
<name>Friedemann Kleint</name>
<email>Friedemann.Kleint@digia.com</email>
</author>
<published>2013-08-26T14:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=703962c13ff0f4c6a399ba49ee2f0cd9681d7454'/>
<id>703962c13ff0f4c6a399ba49ee2f0cd9681d7454</id>
<content type='text'>
Change-Id: I29f5b2b890f561bc97749d19c0c5f461511c7637
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I29f5b2b890f561bc97749d19c0c5f461511c7637
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Dragging MouseArea nested in Flickable does not work with touch to mouse</title>
<updated>2013-08-19T00:50:29+00:00</updated>
<author>
<name>Martin Jones</name>
<email>martin.jones@jollamobile.com</email>
</author>
<published>2013-08-12T03:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=566afc2d2e4156712ffec081715f12307cf46628'/>
<id>566afc2d2e4156712ffec081715f12307cf46628</id>
<content type='text'>
A MouseArea with a drag target nested in a Flickable does not work.
This is due to QQuickWindow calling childMouseEventFilter() twice -
once in sendFilteredTouchEvent() and later in sendEvent().

Since childMouseEventFilter() has already been called, deliver the
mouse event directly in sendFilteredTouchEvent().

Task-number: QTBUG-32920
Change-Id: I22acee3c66ee6c06e71c9c876fb02dbcb6119a8d
Reviewed-by: Andrew den Exter &lt;andrew.den.exter@qinetic.com.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A MouseArea with a drag target nested in a Flickable does not work.
This is due to QQuickWindow calling childMouseEventFilter() twice -
once in sendFilteredTouchEvent() and later in sendEvent().

Since childMouseEventFilter() has already been called, deliver the
mouse event directly in sendFilteredTouchEvent().

Task-number: QTBUG-32920
Change-Id: I22acee3c66ee6c06e71c9c876fb02dbcb6119a8d
Reviewed-by: Andrew den Exter &lt;andrew.den.exter@qinetic.com.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix hover event crash</title>
<updated>2013-08-12T19:38:20+00:00</updated>
<author>
<name>Josh Faust</name>
<email>jfaust@suitabletech.com</email>
</author>
<published>2013-08-01T22:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b00a120d4d07d657f3226407cdae797395f63a16'/>
<id>b00a120d4d07d657f3226407cdae797395f63a16</id>
<content type='text'>
It was possible for a hover event to be sent to a QQuickItem that has
already been scheduled to be deleted (through deleteLater()). This
lead to an access on an already-freed object when the leave event
is generated. This change ensures that the item is part of a scene
before generating the hover enter event.

Task-number: QTBUG-32771

Change-Id: I69adb6bbd0ae52c70a6bda4e6c918b7671549a4c
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was possible for a hover event to be sent to a QQuickItem that has
already been scheduled to be deleted (through deleteLater()). This
lead to an access on an already-freed object when the leave event
is generated. This change ensures that the item is part of a scene
before generating the hover enter event.

Task-number: QTBUG-32771

Change-Id: I69adb6bbd0ae52c70a6bda4e6c918b7671549a4c
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Document QWindow::alert() in Qt Quick.</title>
<updated>2013-06-28T20:12:33+00:00</updated>
<author>
<name>Friedemann Kleint</name>
<email>Friedemann.Kleint@digia.com</email>
</author>
<published>2013-06-28T10:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=65a0d19180b061fc24b2032289d157ad2602e6d9'/>
<id>65a0d19180b061fc24b2032289d157ad2602e6d9</id>
<content type='text'>
Task-number: QTBUG-32069
Task-number: QTBUG-30416

Change-Id: If7e9fd63d858416a23ff768272d94219595be1c5
Reviewed-by: Jerome Pasion &lt;jerome.pasion@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-32069
Task-number: QTBUG-30416

Change-Id: If7e9fd63d858416a23ff768272d94219595be1c5
Reviewed-by: Jerome Pasion &lt;jerome.pasion@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compiler warning about unused parameter</title>
<updated>2013-06-10T10:50:11+00:00</updated>
<author>
<name>Kai Koehne</name>
<email>kai.koehne@digia.com</email>
</author>
<published>2013-06-10T07:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5c7f57057027fc934c12b76c5cfb5bb81b7d6a41'/>
<id>5c7f57057027fc934c12b76c5cfb5bb81b7d6a41</id>
<content type='text'>
Fix gcc compiler warning about unused parameter:

qquickwindow.cpp:111:10: warning: unused parameter ‘e’ [-Wunused-parameter]

This got introduced by commit 9d75626b

Change-Id: Ia280fd9fdd584eed81f4d810311c56f5daee3e28
Reviewed-by: Friedemann Kleint &lt;Friedemann.Kleint@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix gcc compiler warning about unused parameter:

qquickwindow.cpp:111:10: warning: unused parameter ‘e’ [-Wunused-parameter]

This got introduced by commit 9d75626b

Change-Id: Ia280fd9fdd584eed81f4d810311c56f5daee3e28
Reviewed-by: Friedemann Kleint &lt;Friedemann.Kleint@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Set incubation controller when a Window{} is loaded via QQmlApplicationEngine</title>
<updated>2013-06-07T17:09:33+00:00</updated>
<author>
<name>Alan Alpert</name>
<email>aalpert@blackberry.com</email>
</author>
<published>2013-05-31T17:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=9d75626b1073113d77988bcb52e99215d5af4787'/>
<id>9d75626b1073113d77988bcb52e99215d5af4787</id>
<content type='text'>
This was the one convenience that was lost when transitioning templates
from QQuickView + Item{} to QQmlApplicationEngine + Window{}.

As the default window incubation controller was tied to the first
window's frameSwapped, we could easily run into a situation where
a secondary window required incubation while the first window
was idle. This would then starve the incubation controller. Instead
make it so that the renderloop emits "timeToIncubate" once it
is done with a renderpass over all windows, so the incubator
gets to run once and exactly once per vsync when animating.

The incubator logic was also flawed in that it could post
a lot of events to itself as a result of incubatingObjectCountChanged
and thus starve system events while processing incubation requests.
Now we start a timer and don't start it again until we have
completed an incubation pass.

Task-number: QTBUG-31203
Change-Id: Iea9e2c81efb46bb7875c70ccda0cdc4b3b3e58e7
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
Reviewed-by: Gunnar Sletta &lt;gunnar.sletta@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was the one convenience that was lost when transitioning templates
from QQuickView + Item{} to QQmlApplicationEngine + Window{}.

As the default window incubation controller was tied to the first
window's frameSwapped, we could easily run into a situation where
a secondary window required incubation while the first window
was idle. This would then starve the incubation controller. Instead
make it so that the renderloop emits "timeToIncubate" once it
is done with a renderpass over all windows, so the incubator
gets to run once and exactly once per vsync when animating.

The incubator logic was also flawed in that it could post
a lot of events to itself as a result of incubatingObjectCountChanged
and thus starve system events while processing incubation requests.
Now we start a timer and don't start it again until we have
completed an incubation pass.

Task-number: QTBUG-31203
Change-Id: Iea9e2c81efb46bb7875c70ccda0cdc4b3b3e58e7
Reviewed-by: Alan Alpert &lt;aalpert@blackberry.com&gt;
Reviewed-by: Gunnar Sletta &lt;gunnar.sletta@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added QQuickWindow::setDefaultAlphaBuffer()</title>
<updated>2013-05-30T12:19:02+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@digia.com</email>
</author>
<published>2013-05-29T08:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=84adf4ff5b6b459c5dfc084b12f8ce6b58e5f5b7'/>
<id>84adf4ff5b6b459c5dfc084b12f8ce6b58e5f5b7</id>
<content type='text'>
All QQuickWindows will render using the same OpenGL context, so
for a window to support transparency, the OpenGL context needs
to be created with support for transparency from the very start.
Therefore the application needs to call setDefaultAlphaBuffer()
before creating windows.  There are some relevant comments in
QTBUG-20768 although the bug itself is not the same use case
(it was already OK as long as the first window had a translucent
color, because of setAlphaBufferSize in QQuickWindow::setColor()).

Change-Id: I92e111c1a62c0d510821b646fd334e52254f8f57
Reviewed-by: Gunnar Sletta &lt;gunnar.sletta@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All QQuickWindows will render using the same OpenGL context, so
for a window to support transparency, the OpenGL context needs
to be created with support for transparency from the very start.
Therefore the application needs to call setDefaultAlphaBuffer()
before creating windows.  There are some relevant comments in
QTBUG-20768 although the bug itself is not the same use case
(it was already OK as long as the first window had a translucent
color, because of setAlphaBufferSize in QQuickWindow::setColor()).

Change-Id: I92e111c1a62c0d510821b646fd334e52254f8f57
Reviewed-by: Gunnar Sletta &lt;gunnar.sletta@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add QQuickWindow::closing signal, and ability to ignore the event</title>
<updated>2013-05-08T13:01:47+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@digia.com</email>
</author>
<published>2013-05-06T12:40:28+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=81b3c4bbb085c9d60dd935e5c74e86988d81dca7'/>
<id>81b3c4bbb085c9d60dd935e5c74e86988d81dca7</id>
<content type='text'>
An application can implement onClosing() and set
closeEvent.accepted = false to delay the closing (for example to
prompt the user to save changes).  Depends on change
I9abed47fca02a002b78727f98d678a824854adfc in qtbase.

Task-number: QTBUG-31019
Change-Id: Icfd4a03ecef3621bdbbee2e2c3157b897a9b6524
Reviewed-by: Alan Alpert (Personal) &lt;416365416c@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An application can implement onClosing() and set
closeEvent.accepted = false to delay the closing (for example to
prompt the user to save changes).  Depends on change
I9abed47fca02a002b78727f98d678a824854adfc in qtbase.

Task-number: QTBUG-31019
Change-Id: Icfd4a03ecef3621bdbbee2e2c3157b897a9b6524
Reviewed-by: Alan Alpert (Personal) &lt;416365416c@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mouse synthesis: don't say the left button is pressed during a release</title>
<updated>2013-05-04T17:26:14+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@digia.com</email>
</author>
<published>2013-05-02T13:57:01+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4730e5d9b3574019f67ba29283308d5020385b59'/>
<id>4730e5d9b3574019f67ba29283308d5020385b59</id>
<content type='text'>
Follows the same reasoning as Iefe63cd753f9f8bb04278fd04a4d728e3deda25e
in qtbase: buttons should have only the buttons which are still pressed.

Change-Id: I894df43254eb1b1ce173fd7acc7190e9765beb48
Reviewed-by: Richard Moe Gustavsen &lt;richard.gustavsen@digia.com&gt;
Reviewed-by: Frederik Gladhorn &lt;frederik.gladhorn@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follows the same reasoning as Iefe63cd753f9f8bb04278fd04a4d728e3deda25e
in qtbase: buttons should have only the buttons which are still pressed.

Change-Id: I894df43254eb1b1ce173fd7acc7190e9765beb48
Reviewed-by: Richard Moe Gustavsen &lt;richard.gustavsen@digia.com&gt;
Reviewed-by: Frederik Gladhorn &lt;frederik.gladhorn@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added doc and test for active and requestActivate in QQuickWindow</title>
<updated>2013-04-30T13:15:30+00:00</updated>
<author>
<name>Liang Qi</name>
<email>liang.qi@digia.com</email>
</author>
<published>2013-04-18T07:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=3975ca99206de668ddc946bc31222e3caa01c2db'/>
<id>3975ca99206de668ddc946bc31222e3caa01c2db</id>
<content type='text'>
Autotest is included.

Change-Id: I0f8614b502f1e51cab5612fee283c929e078108b
Reviewed-by: Gunnar Sletta &lt;gunnar.sletta@digia.com&gt;
Reviewed-by: Liang Qi &lt;liang.qi@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autotest is included.

Change-Id: I0f8614b502f1e51cab5612fee283c929e078108b
Reviewed-by: Gunnar Sletta &lt;gunnar.sletta@digia.com&gt;
Reviewed-by: Liang Qi &lt;liang.qi@digia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
