Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.7.0
-
None
-
Linux fx-8320 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64 GNU/Linux
-
7c9a549 (qtdeclarative/5.15)
Description
...unless private QQuickWindow API is used, like in QQuickWidget::show() and hide().
qquickitemgrabresult.cpp contains this code:
{{
if (!item->window()->isVisible())
}}
that makes it impossible to use grabToImage() on a hidden QWindow. This window, however, may be a hidden window that QQuickWidget uses internally to render results into a framebuffer object. The example "rendercontrol" also uses such a window. This makes it impossible to grab items, that are visible, but contained in an internal, hidden, QWindow, effectively disabling a part of Qt functionality.
Attachments
Issue Links
- duplicates
-
QTBUG-79339 grabToImage in QQuickWidget regression
- Closed