Closed Bug 2047491 Opened 5 months ago Closed 4 months ago

CTRL+up/down arrow does not re-order the search engines correctly anymore

Categories

(Firefox :: Search, defect, P3)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
154 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox152 --- verified
firefox153 --- verified
firefox154 --- verified

People

(Reporter: cbaica, Assigned: scunnane)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [sng])

Attachments

(1 file, 3 external files, 1 obsolete file)

Affected versions

  • Fx 153.0a1
  • Fx 152.0

Affected platforms

  • Windows
  • macOS
  • Ubuntu

Steps to reproduce

  1. Launch Firefox and navigate to about:preferences#search.
  2. Use tab to cycle through options until the search table is reached and one engine is highlighted.
  3. Hold CTRL+SHIFT and press down/up arrow to re-order engines.

Expected result

  • Search engine is correctly moved up or down, per user input.

Actual result

  • Engines are incorrectly moved.

Regression range

Additional notes

  • For macOS, to reproduce the issue, hold down CTRL, not command key.

Worth investigating if the issue is in the search panel, or the reusable component.

Stephanie, any ideas?

Severity: -- → S3
Flags: needinfo?(scunnane)
Priority: -- → P3
Regressed by: 2038148
Whiteboard: [sng]

Thanks for finding this, Cristian. Yes, it is at the level of the reusable component (a moz-box-group). Bug 2038148 fixed a moz-box-group item reordering bug. It handled item reordering via the mouse but missed the keyboard reordering case. I can post a patch and uplift it when it's ready to go.

Flags: needinfo?(scunnane)

:mstriemer, since you are the author of the regressor, bug 2038148, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(mstriemer)

Mark, probably no need for you to also investigate. I'm in the middle of getting a recomp patch up and will add you as the reviewer.

Flags: needinfo?(mstriemer)
Assignee: nobody → scunnane
Attachment #9597525 - Attachment description: WIP: Bug 2047491 - Ensure CTRL+SHIFT+up/down reorders items correctly in moz-reorderable-lists. r?mstriemer! → Bug 2047491 - Ensure CTRL+SHIFT+up/down reorders items correctly in moz-reorderable-lists. r?mstriemer!

:scunnane in triage mtg and wondering if this patch is ready for review? Wondering if we should NI mark in order to get this into a 152 dot release. if not, please mark 152 as wontfix

Flags: needinfo?(scunnane)

Hi Dianna, I got this reviewed today. Doing a try push now, then I'll land and uplift to Beta and a 152 dot release.

Flags: needinfo?(scunnane)
Pushed by scunnane@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d20cfc79c7c4 https://hg.mozilla.org/integration/autoland/rev/ee545f606423 Ensure CTRL+SHIFT+up/down reorders items correctly in moz-reorderable-lists. r=mstriemer
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

The patch landed in nightly and beta is affected.
:scunnane, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(scunnane)

Bug 2038148 fixed a moz-box-group item reordering bug. It handled item reordering via the mouse but missed the keyboard reordering case. This patch covers the keyboard reordering case.

Note that in several places I've switched to working with engine ids vs. engine names. In the search service code, we are making a concerted effort to prefer engine ids to engine names, as engine ids are the more robust property to work with.

Original Revision: https://phabricator.services.mozilla.com/D306819

Attachment #9600416 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Users trying to reorder their search engine list (about:preferences#search) via the keyboard cannot reorder them as expected.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: low
  • Explanation of risk level: This has been manually tested, has automated tests and has already landed in Nightly.
  • String changes made/needed?: No
  • Is Android affected?: no
Flags: needinfo?(scunnane)

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Users trying to reorder their search engine list (about:preferences#search) via the keyboard cannot reorder them as expected.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: low
  • Explanation of risk level: This has been manually tested, has automated tests and has already landed in Nightly
  • String changes made/needed?: n/a
  • Is Android affected?: no
Attachment #9600418 - Flags: approval-mozilla-beta?

Bug 2038148 fixed a moz-box-group item reordering bug. It handled item reordering via the mouse but missed the keyboard reordering case. This patch covers the keyboard reordering case.

Note that in several places I've switched to working with engine ids vs. engine names. In the search service code, we are making a concerted effort to prefer engine ids to engine names, as engine ids are the more robust property to work with.

Original Revision: https://phabricator.services.mozilla.com/D306819

Bug 2038148 fixed a moz-box-group item reordering bug. It handled item reordering via the mouse but missed the keyboard reordering case. This patch covers the keyboard reordering case.

Note that in several places I've switched to working with engine ids vs. engine names. In the search service code, we are making a concerted effort to prefer engine ids to engine names, as engine ids are the more robust property to work with.

Original Revision: https://phabricator.services.mozilla.com/D306819

Attachment #9600419 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: Users trying to reorder their search engine list (about:preferences#search) via the keyboard cannot reorder them as expected.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: low
  • Explanation of risk level: This has been manually tested, has automated tests and has already landed in Nightly
  • String changes made/needed?: n/a
  • Is Android affected?: no
Attachment #9600418 - Attachment is obsolete: true
Attachment #9600418 - Flags: approval-mozilla-beta?
Attachment #9600416 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [S3][qa-found-in-c153/b152] → [S3][qa-found-in-c153/b152][uplift][qa-ver-needed-c154/b153]
Flags: qe-verify+

Reproducible on a 2026-06-14 Firefox Nightly build on Windows 10.

Verified as fixed on Firefox Nightly 154.0a1 and Firefox 153.0b4 on Windows 10, Ubuntu 22, macOS 13.

Leaving the qe-verify+ flag momentarily until the fix is uplifted to the release build as well.

QA Contact: cbaica → oardelean
Attachment #9600419 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified as fixed on Firefox 152.0.4 on Windows 10, Ubuntu 22, macOS 13.

Status: RESOLVED → VERIFIED
QA Whiteboard: [S3][qa-found-in-c153/b152][uplift][qa-ver-needed-c154/b153] → [S3][qa-found-in-c153/b152][uplift][qa-ver-done-c154/b153]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: