Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Navigating to URL causes UrlBar to "blink" and yield wrong url results #4219

Closed
Sh1d0w opened this issue Sep 23, 2016 · 3 comments
Closed

Navigating to URL causes UrlBar to "blink" and yield wrong url results #4219

Sh1d0w opened this issue Sep 23, 2016 · 3 comments

Comments

@Sh1d0w
Copy link

Sh1d0w commented Sep 23, 2016

Did you search for similar issues before submitting this one?

No

Describe the issue you encountered:

Currently when you use the autocmplete to go to another website, when you hit eneter the url blinks quickly - first displaying the current address you are on (despite the fact you typed completely distinct address) and after a second jumps to the new one and starts loading.

This means if you are typing fast and you accidentaly hit Enter twice you will stay on the same page, because when the old url blinks and you hit enter for second time, Brave thinks you want to go to another page (in that case the current one)

Here is a POC http://webm.land/media/E0Fn.webm

Expected behavior:

URL bar text should not blink and revert your url when you hit enter.

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    All
  • Brave Version:
    0.12.1
  • Steps to reproduce:
    1. Open brave.com
    2. Start typing github in the url bar
    3. When the autocomplete appears click Enter twice in even intervals
  • Screenshot if needed:
    http://webm.land/media/E0Fn.webm
  • Any related issues:
@Sh1d0w Sh1d0w added the bug label Sep 23, 2016
@Sh1d0w Sh1d0w added this to the 0.12.3dev milestone Sep 23, 2016
@Sh1d0w Sh1d0w changed the title Typing in URL causes url to "blink" and yield wrong url results Navigating to URL causes UrlBar to "blink" and yield wrong url results Sep 23, 2016
@decode-dev
Copy link

Present in Brave 0.12.1

@diracdeltas
Copy link
Member

pretty sure the flash occurs in the amount of time that it takes windowState.activeFrame.navbar.urlbar.location to get updated after the enter key is pressed. if so, we can either do performance debugging on the windowstate to make component updates propagate faster, or we can add a setTimeout to have the urlbar location update after enter is pressed (hacky).

@diracdeltas diracdeltas added perf and removed security labels Oct 26, 2016
@bsclifton bsclifton added this to the Triage Backlog milestone Nov 27, 2017
@bsclifton
Copy link
Member

This appears to be fixed

@bsclifton bsclifton removed this from the Triage Backlog milestone Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants