Re-enable DRAWWINDOW_DRAW_VIEW flag for Marionette screen captures
Categories
(Remote Protocol :: Marionette, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: ato, Unassigned)
References
Details
Attachments
(1 obsolete file)
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Comment 2•6 years ago
|
||
Note that with the patch on bug 1559592 landed this bug will become invalid.
Comment 3•6 years ago
|
||
Actually let me fix that bug first, which will help me with the refactoring on bug 1559592 afterward.
Comment 4•6 years ago
|
||
Note that both flags can be re-enabled now given that all dependencies have been fixed, or are no longer reproducible.
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
All dependencies are fixed, or no longer reproducible. As such both
flags can be re-enabled. Also reftests won't have to specify the
exactly same flags on its own anymore.
Comment 8•6 years ago
|
||
| bugherder | ||
Comment 9•6 years ago
|
||
I would suggest to backout this patch given the fact that doing full screenshots are not working with the DRAWWINDOW_DRAW_VIEW flag not being present. There is a strange behavior change in combination with DRAWWINDOW_USE_WIDGET_LAYERS maybe. And given that we shortly change the API to drawSnapshot() we could try to get it working properly there again.
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
We will have to wait for bug 1571341 before we can try to enable the flags again.
Comment 12•6 years ago
|
||
The new API only got the DRAWWINDOW_DRAW_VIEW flag. Using the widget one isn't necessary because drawSnapshot doesn't readback the data from the compositor.
Given that bug 1559592 hasn't been finished yet, and I don't want to cause a regression with its landing, I will most likely have to take care of it now. So lets mark this bug dependent on it instead.
Comment 13•6 years ago
|
||
Actually by moving to the new snapshot API we no longer need that flag. When only the viewport has to be captured the correct absolute coordinates will have to be specified including the x and y scroll position. It's way more flexible now.
Updated•5 years ago
|
Updated•3 years ago
|
Description
•