Closed Bug 995756 Opened 11 years ago Closed 6 years ago

Ctrl+Shift+R invokes text Replace in Scratchpad, not Execute->Reload and Run

Categories

(DevTools Graveyard :: Scratchpad, defect, P3)

All
Windows
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: anaran, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release) Build ID: 20140413030203 Steps to reproduce: I open Scratchpad->Execute menu and find Reload and Run Ctrl+Shift+R Actual results: When I press Ctrl+Shift+R the CodeMirror Replace: prompt appears instead. Expected results: Please provide non-conflicting key bindings for Reload and Run as well as Replace.
Summary: Ctrl+Shift+R invokes text Replace, not Scratchpad Execute->Reload and Run → Ctrl+Shift+R invokes text Replace in Scratchpad, not Execute->Reload and Run
Component: Untriaged → Developer Tools: Scratchpad
Hi, I was able to reproduce it on Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 ID:20140428030203 CSet: 4d926af89907 (Debian Sid). Opening the Scratchpad and pressing Ctrl+Shift+R brings up the "Replace:" prompt while on the Execute menu drop down Ctrl+Shift+R is assigned to Reload and Run.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Actually, once the CodeMirror "Replace:" prompt has focus in scratchpad, Ctrl+Shift+R will reload and run the scratchpad code. Under circumstances I cannot readily reproduce it will even execute the scratchpad code many times! This is the scratchpad code I use for testing: ``` console.count((new Error()).stack); ```
In Firefox 42 (Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0) this bug is still present.
Also confirmed in 45.0a1 (2015-12-08) Win 7
OS: Windows XP → Windows
Hardware: x86 → All
Version: 31 Branch → Trunk
Scratchpad triage, filter on "ghostbusterzzz"
Priority: -- → P3
Blocks: 1195057
Product: Firefox → DevTools
I wonder should I file a new bug or is it a continuation of this one, but currently pressing Ctrl+R or Ctrl+Shift+R in Scratchpad invoke a page reload or an uncached page reload, respectively. Doesn't seem to run the code before that (I tried by calling window.alert()). Testing with v62.0b13.

Scratchpad was removed in Bug 1519103 (Firefox 72). You can check the alternative in https://wiki.developer.mozilla.org/en-US/docs/Tools/Deprecated_tools#Scratchpad .

The Scratchpad bug list was reviewed and I think this bug can be safely closed.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.