From 4994300fe7c7ba9dd391b2453b4c5297f9d7a6ba Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Wed, 31 Jul 2013 15:27:07 -0300 Subject: Playbook: Fix rendering when thumbnailed/minimized On Playbook, rendering should happen when the application is thumbnailed, therefore we need to send a window activated event to resume rendering once the thumbnail is restored from the minimized state. Change-Id: I0fa5da483dc101e25f718e52859a66edfe5c66c7 Reviewed-by: Bernd Weimer Reviewed-by: Fabian Bumberger Reviewed-by: Nicolas Arnaud-Cormos --- src/plugins/platforms/qnx/qqnxbpseventfilter.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/platforms/qnx/qqnxbpseventfilter.cpp') diff --git a/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp b/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp index d94d3c092a..aadefec8d1 100644 --- a/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp +++ b/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp @@ -221,6 +221,9 @@ bool QQnxBpsEventFilter::handleNavigatorEvent(bps_event_t *event) break; case NAVIGATOR_WINDOW_THUMBNAIL: m_navigatorEventHandler->handleWindowGroupStateChanged(id, Qt::WindowMinimized); +#if defined(Q_OS_BLACKBERRY_TABLET) + m_navigatorEventHandler->handleWindowGroupActivated(id); +#endif break; case NAVIGATOR_WINDOW_INVISIBLE: m_navigatorEventHandler->handleWindowGroupDeactivated(id); -- cgit v1.2.3 From 9de6d1a74ff1f172f164a3c916424a1cc4eb4ade Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Wed, 31 Jul 2013 15:43:33 -0300 Subject: BB10: Do not send deactivate event twice On BB10, NAVIGATOR_WINDOW_INACTIVE is called before NAVIGATOR_WINDOW_INVISIBLE, already triggering handleWindowGroupDeactivated() Change-Id: I7d82c0220fe8dc8e87bfa2b31af6085c7d1d6cee Reviewed-by: Kevin Krammer Reviewed-by: Bernd Weimer Reviewed-by: Nicolas Arnaud-Cormos --- src/plugins/platforms/qnx/qqnxbpseventfilter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/platforms/qnx/qqnxbpseventfilter.cpp') diff --git a/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp b/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp index aadefec8d1..e723e32301 100644 --- a/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp +++ b/src/plugins/platforms/qnx/qqnxbpseventfilter.cpp @@ -226,7 +226,9 @@ bool QQnxBpsEventFilter::handleNavigatorEvent(bps_event_t *event) #endif break; case NAVIGATOR_WINDOW_INVISIBLE: +#if defined(Q_OS_BLACKBERRY_TABLET) m_navigatorEventHandler->handleWindowGroupDeactivated(id); +#endif break; } -- cgit v1.2.3