Closed Bug 1481849 Opened 6 years ago Closed 5 years ago

Typing does not work in responsive design mode when "Search for text when you start typing" is enabled

Categories

(DevTools :: Responsive Design Mode, defect, P2)

defect

Tracking

(firefox61 affected, firefox62 affected, firefox63 affected)

RESOLVED DUPLICATE of bug 1322385
Tracking Status
firefox61 --- affected
firefox62 --- affected
firefox63 --- affected

People

(Reporter: robert, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180704003137

Steps to reproduce:

- in Options > Browsing, enable "Search for text when you start typing"
- enter Responsive Design Mode on any website with an input form
- click on the input to activate it
- type something on the keyboard

- (dis-/enabling the Touch Simulation option has no effect; this happens regardless.)


Actual results:

The search bar opens and Firefox searches on the page. The selected input remains empty and loses focus.


Expected results:

The activated input field should override the "search for text" feature, as in standard (non-responsive) browsing mode.
Reproduced for 61.0.2 (2018-08-09) and Nightly 63.0a1 (2018-08-09) Windows 10.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I managed to reproduce this issue on Windows 10, Ubuntu 16.04 and Mac OS, on Firefox 61.0.2, Firefox 62.0b16 and Nightly 63.0a1 (2018-08-13).
Component: Untriaged → Responsive Design Mode
OS: Unspecified → All
Product: Firefox → DevTools
Hardware: Unspecified → All
Version: 61 Branch → Trunk
This means you can't even perform a google search in RDM mode when this option is activated... taking a look.
Assignee: nobody → mratcliffe
Priority: -- → P2
The problem is that as far as the FindBar is concerned the active element is the RDM iframe. Because an iframe is not an input or text element `shouldFastFind(elt)` returns true so find is activated.

Somebody more familiar with this code will need to find a way of communicating with the findbar whether the activeElement is an input or text element.
Assignee: mratcliffe → nobody
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.