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

Command+L when in url bar with URL bar suggestion should select full URL #9914

Closed
bbondy opened this issue Jul 8, 2017 · 4 comments · Fixed by #9928
Closed

Command+L when in url bar with URL bar suggestion should select full URL #9914

bbondy opened this issue Jul 8, 2017 · 4 comments · Fixed by #9928

Comments

@bbondy
Copy link
Member

bbondy commented Jul 8, 2017

Test plan

See #9928

Original issue description

  • Did you search for similar issues before submitting this one?
    Yes

  • Describe the issue you encountered:
    If you are typing a URL and auto suggest is filling in another URL for you, hitting command+L doesn't select the URL.

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    All

  • Brave Version (revision SHA):
    0.17.14

  • Steps to reproduce:

    1. Make you have a couple of sub-urls in your history for github.com
    2. Type git, notice it autocompletes to something like github.com...
    3. press command + L (or ctrl+l on win/linux)
  • Actual result:
    Removes the selection

  • Expected result:
    Selects the URL

  • Will the steps above reproduce in a fresh profile? If not what other info can be added?
    Yes

  • Is this an issue in the currently released version?
    Yes

  • Can this issue be consistently reproduced?
    Yes

@bbondy bbondy added this to the 0.17.14 (Release Channel) milestone Jul 8, 2017
bbondy added a commit that referenced this issue Jul 9, 2017
There was also a lot of other fixes which moves things out of the
component and into the store.

Note that there are no state functions in use yet for the window
renderer so I didn't create them yet as part of this task and just
used immutableJS directly.

I also fixed some intermittents with this fix.

Fix #9914

Auditors: @bsclifton

Test Plan:
1. Fully test url bar and suggestions thoroughly
2. Type in some chars that lead to a autocomplete selection, press
command+L and make sure it selects all text.
bbondy added a commit that referenced this issue Jul 10, 2017
There was also a lot of other fixes which moves things out of the
component and into the store.

Note that there are no state functions in use yet for the window
renderer so I didn't create them yet as part of this task and just
used immutableJS directly.

I also fixed some intermittents with this fix.

Fix #9914

Auditors: @bsclifton

Test Plan:
1. Fully test url bar and suggestions thoroughly
2. Type in some chars that lead to a autocomplete selection, press
command+L and make sure it selects all text.
bbondy added a commit that referenced this issue Jul 10, 2017
There was also a lot of other fixes which moves things out of the
component and into the store.

Note that there are no state functions in use yet for the window
renderer so I didn't create them yet as part of this task and just
used immutableJS directly.

I also fixed some intermittents with this fix.

Fix #9914

Auditors: @bsclifton

Test Plan:
1. Fully test url bar and suggestions thoroughly
2. Type in some chars that lead to a autocomplete selection, press
command+L and make sure it selects all text.
@bbondy
Copy link
Member Author

bbondy commented Jul 10, 2017

I'd like to get this in 0.7.14 but it would need us to merge
7588a3c
And I'm not sure how safe that is. CC @NejcZdovc

PR that I'd like but that needs that is here:
#9928

@bbondy
Copy link
Member Author

bbondy commented Jul 10, 2017

I'll put this in 0.19.x until we figure that out.

@bbondy bbondy modified the milestones: 0.19.x (Developer Channel), 0.17.14 (Release Channel) Jul 10, 2017
@NejcZdovc
Copy link
Contributor

My PR is not directly mergeable, we would need to update some properties in app/renderer/components/navigation/urlBar.js, but other then that I don't see any conflicts

@bbondy
Copy link
Member Author

bbondy commented Jul 10, 2017

ok let's just wait for this issue then until 0.19.x

bbondy added a commit that referenced this issue Jul 10, 2017
There was also a lot of other fixes which moves things out of the
component and into the store.

Note that there are no state functions in use yet for the window
renderer so I didn't create them yet as part of this task and just
used immutableJS directly.

I also fixed some intermittents with this fix.

Fix #9914

Auditors: @bsclifton

Test Plan:
1. Fully test url bar and suggestions thoroughly
2. Type in some chars that lead to a autocomplete selection, press
command+L and make sure it selects all text.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.