Closed Bug 1463034 Opened 6 years ago Closed 6 years ago

Tab become slow if there's an input type password in the page

Categories

(Core :: Layout: Form Controls, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1451466

People

(Reporter: vicenzi.alexandre, Unassigned)

Details

Attachments

(2 files)

Attached file log.txt
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Build ID: 20180520220103

Steps to reproduce:

If there's a password input in the page the tab become slow.
This happens in Nightly and Firefox with add-on are disabled or not.

Steps:

- Visit a page that has a password input (https://www.w3schools.com/html/tryit.asp?filename=tryhtml_input_password)
- Go to username input 
- Press tab or click with mouse to fgo to password input
- It will take at least 2 seconds to switch to password field
- Try go back to username
- It will take at least 2 seconds to switch to password field
- Close the tab
- It will take at least 2 seconds to close

Also, right click on password input does not work.



Expected results:

It should switch smooth to other fields.

Just in case, I'm running Ubuntu 18.04 and it was a fresh install. There's nothing else running on computer that could affect performance.
As far as I know and tested this can only be reproduced on Ubuntu, SUSE and Debian works as expected.
The same happens with Firefox 60.0.1 in a Ubuntu 18.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Version: 60 Branch → Trunk
Hi Alexandre,

I tested this issue on Ubuntu 18.04 with FF Nightly 62.0a1(2018-05-23) and I can't reproduce your issue, in my case the switch is almost instantly.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
(In reply to ovidiu boca[:Ovidiu] from comment #3)
> Hi Alexandre,
> 
> I tested this issue on Ubuntu 18.04 with FF Nightly 62.0a1(2018-05-23) and I
> can't reproduce your issue, in my case the switch is almost instantly.

Almost instantly is not the same as instantly. In my case, it's easy to notice that it take a while to switch fields. I can still reproduce with 62.0a1 (2018-05-24) (64-bit).

Unfortunately, I don't have another computer to test, but if you need additional info let me know.
Does the problem go away if you set the preference signon.rememberSignons to false (double-click it) to disable the password manager? This may be a password manager issue.
Flags: needinfo?(vicenzi.alexandre)
(In reply to Matthew N. [:MattN] (PM if requests are blocking you) from comment #5)
> Does the problem go away if you set the preference signon.rememberSignons to
> false (double-click it) to disable the password manager? This may be a
> password manager issue.

That's in about:config btw. (it does the same thing as the checkbox in about:preferences#privacy)
(In reply to Matthew N. [:MattN] (PM if requests are blocking you) from comment #5)
> Does the problem go away if you set the preference signon.rememberSignons to
> false (double-click it) to disable the password manager? This may be a
> password manager issue.

Same problem yet. :/
Flags: needinfo?(vicenzi.alexandre)
Hmm… just in case, try restart the browser with the password manager disabled and then go to the test page.
Attached file sysout.log
I tried to build FF and see if would prompt any errors when running it but I couldn't find anything useful. Anyway, I attached a log, maybe someone can find it useful.

I could try to debug, but I have no idea what should I debug.
I could reproduce the problem in my Ubuntu 18.04, Firefox 60.0.1.

When trying to LogIn in bugzilla Firefox got very slow when I jumped to password field (after entering the user and pressed Tab). It took more than 10 seconds to get back to normal again.
Attachment #8980470 - Attachment mime type: text/x-log → text/plain
Does the problem go away for either of you set the following preferences in about:config and restart the browser?
* signon.rememberSignons = false
* extensions.formautofill.available = off

Also, the most useful information would be a performance profile. You can follow the instructions at https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem to record one and share the link.
Flags: needinfo?(vicenzi.alexandre)
Flags: needinfo?(marcos.souza.org)
Good Morning,
I also noticed this problem since version 60.0.1, this happens in all sites with password type field.
Freeze for a few moments.

Example in GLPI page: (https://pasteboard.co/HmFmj8Tg.gif)

The problem continues to change,
* signon.rememberSignons = false
* extensions.formautofill.available = off

Info:
Mozilla Firefox 60.0.1
Linux Ubuntu 18.04 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
(In reply to Matthew N. [:MattN] (PM if requests are blocking you) from comment #11)
> Does the problem go away for either of you set the following preferences in
> about:config and restart the browser?
> * signon.rememberSignons = false
> * extensions.formautofill.available = off
> 
> Also, the most useful information would be a performance profile. You can
> follow the instructions at
> https://developer.mozilla.org/en-US/docs/Mozilla/Performance/
> Reporting_a_Performance_Problem to record one and share the link.

Check if this performance log is enough. If not, I can take another.

https://perfht.ml/2svBsE8
Flags: needinfo?(vicenzi.alexandre)
(In reply to Alexandre Vicenzi from comment #13)
> (In reply to Matthew N. [:MattN] (PM if requests are blocking you) from
> comment #11)
> > Does the problem go away for either of you set the following preferences in
> > about:config and restart the browser?
> > * signon.rememberSignons = false
> > * extensions.formautofill.available = off
> > 
> > Also, the most useful information would be a performance profile. You can
> > follow the instructions at
> > https://developer.mozilla.org/en-US/docs/Mozilla/Performance/
> > Reporting_a_Performance_Problem to record one and share the link.
> 
> Check if this performance log is enough. If not, I can take another.
> 
> https://perfht.ml/2svBsE8

Thank you! Unfortunately, at first glance I don't see anything relevant in this profile… can you or someone else try again? Make sure you are experiencing the problem when during the recording.

Reminder to reset the signon/formautofill preferences btw.
Flags: needinfo?(vicenzi.alexandre)
Same here. Ubuntu 18.04, Firefox 60.0.2 (64-bit)
In my case 5+ seconds to the password field gets the focus.
I think this is a duplicate of bug 1451466 (a new issue in the version of Gnome and ibus in Ubuntu 18.04). And really, it's being tracked externally at https://github.com/ibus/ibus/issues/2002 -- per recent comments there, the ibus maintainer has submitted a patch to Gnome to make things work better.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(vicenzi.alexandre)
Flags: needinfo?(marcos.souza.org)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: