Closed
Bug 1975969
Opened 6 months ago
Closed 6 months ago
Consider always skipping move-to-rect if popup fits inside the toplevel window.
Categories
(Core :: Widget: Gtk, task, P3)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
142 Branch
| Tracking | Status | |
|---|---|---|
| firefox142 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Regressed 2 open bugs)
Details
Attachments
(1 file)
This technically would change behavior of e.g. the context menu if you have a partially offscreen window. This was discussed in bug 1941237 but I think it's worth doing separately, at least.
| Assignee | ||
Comment 1•6 months ago
|
||
As discussed in D256254.
I'm a bit on the fence about this, because even though it makes
everything nicer and faster most of the time, it might break legit use
cases like having a window partially off-screen... But it might be fine,
and arguably extension panels are already broken that way and nobody has
complained.
Updated•6 months ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Comment 2•6 months ago
|
||
Thanks for the patch Emilio! I'll give it a try on some mixed scenarios. The panels you refer are usually used for permanent popups like permission popup which is usually located under URL bar so it usually fits the toplevel window anyway.
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5dd1ae5ebd94
https://hg.mozilla.org/integration/autoland/rev/c4f44b8fb561
Always skip move-to-rect if the popup fits in its toplevel. r=stransky
Comment 4•6 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
status-firefox142:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Updated•6 months ago
|
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in
before you can comment on or make changes to this bug.
Description
•