Closed Bug 1833935 Opened 3 years ago Closed 3 years ago

Ctrl+Shift+F does not show search UI when left panel is collapsed

Categories

(DevTools :: Debugger, defect, P2)

Firefox 113
defect

Tracking

(firefox-esr102 unaffected, firefox113 wontfix, firefox114 verified, firefox115 verified)

VERIFIED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- wontfix
firefox114 --- verified
firefox115 --- verified

People

(Reporter: tim.c.quinn, Assigned: nchevobbe)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0

Steps to reproduce:

To search for sources in debugger, I always have used the Ctrl+Shift+F shortcut but it stopped working recently.

When in Debugger, I clicked on Ctrl+Shift+F

Actual results:

Nothing happens

Expected results:

The Search dialog UI should be brought into focus so I can type in my query.

OS: Ubuntu 22.04 (fully updated)
X: KDE Plasma 5.24.7 (X11)

I have tried new Profiles and Private windows and get the same result.

I also tested on a several Windows server VMs and have the same issue. They are running Firefox 113.x also.

The expected behavior should be to expand the new search pane on the left and focus on the search box when ctrl+shift+F is typed in Debugger panel.

Thanks for the report
Can you tell us if there are error messages in the Browser Console (https://firefox-source-docs.mozilla.org/devtools-user/browser_console/index.html) when you try to open the search panel?

Flags: needinfo?(tim.c.quinn)

Just verified on my main Ubuntu 22.04 dev environment and no messages showing up in Browser Console when I hit the keys ctrl+shift+F. Same goes for Windows Server 2019.

Flags: needinfo?(tim.c.quinn)

Thanks for checking. Is the focus in the debugger? Also, the search in all files features was moved into a side panel on the left, can you confirm it's not displayed when you hit the keyboard shortcut?
If not, do you see the side panel and can you access it clicking on its title?

I think I just found an issue: if the left panel is collapsed, then the keyboard shortcut does not work. Is this the case you're seeing?

Keywords: regression
Regressed by: 1811000
Summary: Ctrl+Shift+F Not Operational in Debugger → Ctrl+Shift+F does not show search UI when left panel is collapsed

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

For more information, please visit BugBot documentation.

Flags: needinfo?(hmanilla)
Assignee: nobody → nchevobbe
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

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

Flags: needinfo?(hmanilla)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1a6c3bf93a6d [devtools] Open left sidebar when triggering project search. r=bomsy,devtools-reviewers.

Might be worth uplifting

Severity: -- → S3
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

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

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox114 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(nchevobbe)

Comment on attachment 9335387 [details]
Bug 1833935 - [devtools] Open left sidebar when triggering project search. r=bomsy.

Beta/Release Uplift Approval Request

  • User impact if declined: Project search in debugger won't work if user collapsed debugger left sidebar
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: 1. Open the debugger (on any page)
  1. Hide the left sidebar if it's visible
  2. Hit Ctrl+Shift+F (Cmd+Shift+F on OSX)

-> left sidebar should open and search UI should be visible

  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): simple, devtools change only, covered by mochitest
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(nchevobbe)
Attachment #9335387 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9335387 [details]
Bug 1833935 - [devtools] Open left sidebar when triggering project search. r=bomsy.

Approved for 114 beta 9, thanks.

Attachment #9335387 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

I have reproduced the issue with Firefox 115.0a1 (2023-05-18) on Windows 10x64. The Ctrl + Shift + F keyboard shortcut does nothing inside the debugger while the left Sidebar is collapsed.
I can no longer reproduce the issue at least when doing this first time with Firefox 115.0a1 (2023-05-25) and 114.0b9 on Windows 10x64, macOS 12, and Ubuntu 20.04. The Ctrl + Shift + F keyboard shortcut correctly opens the left sidebar with the search UI displayed.

However, if I collapse the sidebar again and try to open it by using the Ctrl + Shift + F keyboard shortcut this does not work. Should we file another issue for this or reopen this one? Thank you!

Flags: needinfo?(nchevobbe)

good catch! Let's open a new bug for it

Flags: needinfo?(nchevobbe)

(In reply to Nicolas Chevobbe [:nchevobbe] from comment #16)

good catch! Let's open a new bug for it

Thank you! I filled in bug 1835238. Closing this as verified per comment 15 and comment 16.

Status: RESOLVED → VERIFIED
Has STR: --- → yes
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: