Screenshots overlay flickers when dragging
Categories
(Firefox :: Screenshots, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox118 | --- | unaffected |
firefox119 | --- | unaffected |
firefox120 | --- | verified |
firefox121 | --- | verified |
People
(Reporter: niklas, Assigned: emilio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(3 files, 1 obsolete file)
STR:
- set screenshots.browser.component.enabled to true
- open screenshots on any page
- drag a region on the overlay and once done dragging, do not move the mouse
AR:
- The overlay background will flicker on top of the the mover targets (white cricles)
- Once the mouse is released, the buttons are under the overlay background.
ER:
The background should not flicker and the buttons should not be under the background.
The buttons do eventually come back on top of the background.
I noticed that the timing of this seems to coincide with the timing of the scrollbar disappearing. As shown in the attached video.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
•
|
||
I meant to set this bug regressed by bug 1799036, but bugzilla won't let me change it to regressed by or undo the regression because I don't have access to bug 1799036.
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
This is on Windows 11, right? I don't seem to be able to reproduce this on Linux. Is there anything interesting in the debug console? Is this fixed by bug 1857946 (so we need to back that out to repro)?
Reporter | ||
Comment 4•1 year ago
|
||
The video is from Windows 11 but I've reproduced on my mac and linux machines also.
Bug 1857946 does not fix the issue.
Reporter | ||
Comment 5•1 year ago
|
||
I noticed something when I was looking at this. It appears the the z-index is not working for elements in the screenshots overlay?
STR:
- set
screenshots.browser.component.enabled
to true - open screenshots on any page
- drag a region on the overlay so the
x
,copy
, anddownload
buttons appear - open the browser toolbox and select the element with id
buttons-container
- set the
z-index
on this element to a large number ex.123456
ER:
The buttons container should be above background
AR:
The buttons container is under the background
I tried this on 119 and I got the ER of the buttons container above the background
:emilio are you able to reproduce this?
Assignee | ||
Comment 6•1 year ago
|
||
I can repro that (and comment 0 now, for some reason). Will look.
Assignee | ||
Comment 7•1 year ago
|
||
This doesn't fix the issue at hand, but makes stuff easier to reason about.
Assignee | ||
Comment 8•1 year ago
|
||
Before bug 1799036, this was not an issue because the background and the
highlight ended up in different containing blocks.
Depends on D191137
Assignee | ||
Comment 9•1 year ago
|
||
Drive-by, but I noticed it while poking so might as well fix it.
Depends on D191138
Assignee | ||
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Comment on attachment 9358781 [details]
Bug 1858752 - Fix button position after showing them on both sides. r=niklas
Revision D191139 was moved to bug 1859058. Setting attachment 9358781 [details] to obsolete.
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e39431525cfb
https://hg.mozilla.org/mozilla-central/rev/38740caf5ab0
Updated•1 year ago
|
Reproducible on a 2023-10-12 Nightly build on Windows 10.
Verified as fixed on Firefox 120.0b4 and Nightly 121.0a1 on Windows 10, Ubuntu 22, macOS 12.
Description
•