Black rectangle at the top of tab previews where the chrome would be
Bug #1455129 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
When requesting a capture of a webview using QQuickItem:
We need a way to discard this part of the capture.
Changed in webbrowser-app (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Olivier Tilloy (osomon) |
no longer affects: | webbrowser-app |
To post a comment you must log in.
With a custom QObject inserted in the scene, written in C++ and that calls QQuickItem: :grabToImage( ) on the WebView, I am able to get back a QImage which I can then manipulate to crop the black rectangle. As a bonus, I can also increase the compression factor when saving as a JPEG, thus saving disk space and loading time.