Closed Bug 1733731 Opened 4 years ago Closed 4 years ago

The New Tab search bar is buggy (loses pasted text) and should be removed

Categories

(Firefox :: Address Bar, defect)

Firefox 92
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: vincent-moz, Unassigned)

Details

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

Steps to reproduce:

  1. Open a new tab.
  2. Paste some text (e.g. "ab cd ef gh") in the search bar (saying "Search the web") with the middle button.

Actual results:

Text appears in the address bar and the first word is lost, e.g. I get "cd ef gh" without "ab".

There is no such issue when pasting directly in the address bar.

Expected results:

The full text should be pasted.

Note: I believe that the appearance in the address bar is a new feature (bug 1699834), but this is contrary to the principle of least surprise. The now useless search bar should be removed, which would fix this issue as a consequence.

The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Address Bar

I couldn't reproduce the described behavior using Windows 10, the entire text is correctly pasted with mouse middle button.

On Ubuntu 18.04, even though the pref middlemouse.paste is enabled, this functionality was somehow disabled for me, on both latest Nightly and 92RC. Do you have other preferences enabled?

Can you still reproduce on a clean, empty profile? Thank you!

Flags: needinfo?(vincent-moz)

Yes, this is reproducible with a newly created profile, thus with the default preferences.

Flags: needinfo?(vincent-moz)

And still with the fresh profile, this is also reproducible if I use the menu (right click over the search bar), then click on the "Paste" item. So, this is not specific to middle click, but there may be a more general issue with mouse clicks.

BTW, the "Paste" item is sometimes incorrectly greyed out. In this case, I need to close the menu (with a left click somewhere else) and reopen it with a right click.

(In reply to Vincent Lefevre from comment #4)

And still with the fresh profile, this is also reproducible if I use the menu (right click over the search bar), then click on the "Paste" item. So, this is not specific to middle click, but there may be a more general issue with mouse clicks.

We tried on a different Ubuntu 20.04 machine and the issue is not present there, the full text is pasted each time using both middle click and Paste option.

BTW, the "Paste" item is sometimes incorrectly greyed out. In this case, I need to close the menu (with a left click somewhere else) and reopen it with a right click.

I also encountered intermittently the disabled Paste option in the context menu. It does not happen on Win 10, so it's probably Linux specific.

QA Whiteboard: qa-not-reproducible

Note that I tried with Debian's firefox package, but AFAIK, there aren't significant differences, except the libraries. I could try an upstream version later. If this is still reproducible, there may be a race condition, with a result that depends on the hardware.

The severity field is not set for this bug.
:adw, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(adw)

I can't reproduce the issue with the official Firefox 93 binary (neither with Nightly). So it could be a Debian specific bug.

(In reply to Vincent Lefevre from comment #8)

I can't reproduce the issue with the official Firefox 93 binary (neither with Nightly). So it could be a Debian specific bug.

Thanks for the info. In this case, I'm closing this as Invalid.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(adw)
Resolution: --- → INVALID

Note, however, that it might be due to a race condition triggered by both the way the code is compiled and the hardware. This could explain why other users cannot reproduce the bug even with the Debian package.

FYI, I can no longer reproduce this bug with the firefox 99.0-1 Debian package.

Well, on my usual machine with my usual profile, pasting with the mouse in the "Search the web" input no longer works at all (Ctrl-V still works, though). No such issue with a new profile.

And this also occurs with the official FF 99 binary!

I've eventually found the cause of this new issue, and this is apparently a completely different bug (as it cannot occur just with a new profile). I've just reported it as bug 1763745.

You need to log in before you can comment on or make changes to this bug.