Open Bug 2051191 Opened 5 months ago Updated 1 month ago

Intermittent comm/mail/components/calendar/test/browser/browser_calendarDialogPositions1.js | test_scrollPositions - Duration: 1 - Offset: 0 - Hour: 0 - Window extra wide - Position {"block":"start","inline":"start"} -

Categories

(Calendar :: Calendar Frontend, defect, P5)

defect
Points:
1

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: intermittent-bug-filer, Assigned: john)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [collect_confirm_failure])

Attachments

(1 external file)

Bug 2047116 fixed showEvent() to re-fetch and wait for the scrolled event box
to be laid out before returning it, since scrollIntoView can re-render/recycle
the box. The same recycling happens one step later: openAndShowEvent() opens
the dialog and returns the box showEvent() handed back, but opening the dialog
can itself relayout the week view - notably for block "end", where the view
scrolls to fit the dialog - detaching that reference. checkTolerance() then
measures a {0, 0, 0, 0} rect and the "within target tolerance" assertions fail
in browser_calendarDialogPositions1.js, while the "start" positions (which
don't scroll) pass.

Extend the same re-fetch pattern to after openEvent() in openAndShowEvent(),
so callers measure the current, laid-out box the dialog is anchored to instead
of a stale reference.

Assignee: nobody → john
Status: NEW → ASSIGNED
Points: --- → 1
No longer blocks: tb-maintenance-2026-q3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: