Closed Bug 1862022 Opened 2 years ago Closed 2 years ago

Quick search panel item aren't scrolled into view when navigating with the arrow keys

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox-esr115 unaffected, firefox119 wontfix, firefox120 wontfix, firefox121 wontfix, firefox122 wontfix, firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox119 --- wontfix
firefox120 --- wontfix
firefox121 --- wontfix
firefox122 --- wontfix
firefox123 --- fixed

People

(Reporter: nchevobbe, Assigned: bomsy)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(1 file, 1 obsolete file)

Steps to reproduce

  1. Navigate to https://nchevobbe.github.io/demo/console-test-app.html
  2. Open the debugger
  3. Open the quick search panel with Ctrl+P (Cmd+P on OSX)
  4. Type _ so the list gets populated with lots of items
  5. Press the arrow down key until the list should scroll to be in sync with the selected element

Expected results

The list scrolls so the selected item is always visible

Actual results

The list doesn't scroll

ESR 115 is not impacted
Firefox 119 is impacted

Set release status flags based on info from the regressing bug 1828573

:bomsy, since you are the author of the regressor, bug 1828573, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(hmanilla)
Severity: -- → S3
Flags: needinfo?(hmanilla)
Priority: -- → P2

Set release status flags based on info from the regressing bug 1828573

Too late for Fx122, :bomsy do you plan on landing the attached patch anytime soon?
Wondering if something will land in time for Fx123

Flags: needinfo?(hmanilla)

Thanks for reaching out .. Donal.

I'm looking to try to get this landed for Fx123.

Flags: needinfo?(hmanilla)
Assignee: nobody → hmanilla
Attachment #9363807 - Attachment description: WIP: Bug 1862022 - [devtools] Fix the scroll issue in the quickopen panel → Bug 1862022 - [devtools] Fix the scroll issue in the quickopen panel r=#devtools-reviewers
Status: NEW → ASSIGNED

The complexity of this test is that when doing pressKey(dbg, "Down");, programatically the scroll changes are not tracked e.g scrollTop is still allways 0 (until el.scrollIntoView() is called)
even though the UI visually scrolls.

Depends on D193721

Keywords: leave-open
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8456ea9fb109 [devtools] Fix the scroll issue in the quickopen panel r=devtools-reviewers,nchevobbe

:bomsy can you mark this as fixed for 123 and move the test to a new bug?

Flags: needinfo?(hmanilla)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Blocks: 1884326

Comment on attachment 9372473 [details]
WIP: Bug 1862022 - [devtools] Add test cover auto scrolling when pressing the up/down arrows to move through the list of items

Revision D198377 was moved to bug 1884326. Setting attachment 9372473 [details] to obsolete.

Attachment #9372473 - Attachment is obsolete: true
Flags: needinfo?(hmanilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: