WindowManager.setState should be asynchronous, window.restore() is not immediate
Categories
(WebExtensions :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: robwu, Assigned: florian)
References
(Blocks 3 open bugs)
Details
(Whiteboard: triaged)
Attachments
(2 files)
|
3.97 KB,
patch
|
Details | Diff | Splinter Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
| Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Updated•8 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 231 votes.
:robwu, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 4•3 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
| Assignee | ||
Comment 5•3 days ago
|
||
Widgets apply geometry changes asynchronously: the GTK widget dispatches
sizemodechange when the window manager confirms the new size mode and resizes only
afterwards, and a move reports nothing synchronously at all, so windows.update()
resolved with the previous geometry still in place.
The exit-fullscreen resize wait now covers every transition between the normal,
maximized and fullscreen states. Minimized transitions are excluded: they leave the
size unchanged, so waiting would cost the whole no-window-manager timeout. A move
waits for MozUpdateWindowPos and compares the position rather than taking the first
event, since a move still in flight from an earlier change dispatches one too.
testPositionBoundaryCheck also reset the position with a bare window.moveTo(), which
windows.update() then completed from a stale position.
Updated•3 days ago
|
Description
•