Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unusual behaviour of Brave new tab when 'Tab to Search' is used #4267

Closed
PunnyBoi opened this issue Apr 28, 2019 · 17 comments
Closed

Unusual behaviour of Brave new tab when 'Tab to Search' is used #4267

PunnyBoi opened this issue Apr 28, 2019 · 17 comments
Labels
closed/no-milestone closed/works-for-me feature/search priority/P5 Not scheduled. Don't anticipate work on this any time soon.

Comments

@PunnyBoi
Copy link

Description

When using 'Tab to Search' option in the new tab, the tab kind of refreshes itself and then I again have to press the tab key. This issue is loosely related to #3756 (which I know is fixed in the latest release). Please see the GIF for clarity.

Steps to Reproduce

  1. Open any website in the first tab.
  2. Open new tab and type y (assuming you watch youtube a lot, the brave automatically highlights youtube.com). Press tab immediately (to use 'Tab to Search' feature).
  3. You will notice the 'Tab to Search' field will be active for milliseconds and then it reverts back to the URL. It acts like as if you didn't press the tab key.

You have to perform step 2 really quick in order to reproduce the issue.

Actual result:

Result

I opened a new tab, typed y, pressed tab, it changed to search bar, it reverted back to 'youtube.com', after a second I pressed tab again, it again changed to search bar and this time didn't change back to 'youtube.com'.

Expected result:

The search bar should remain and should not revert back to the URL.

Reproduces how often:

Very often

Brave version (brave://version info)

0.63.48 Chromium: 74.0.3729.108 (Official Build) (64-bit)

Version/Channel Information:

Version 0.60.45 Chromium: 72.0.3626.109 didn't have this issue.

  • Can you reproduce this issue with the current release? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
@rebron rebron added the priority/P5 Not scheduled. Don't anticipate work on this any time soon. label May 10, 2019
@warwickmm
Copy link

I have the same issue on Version 0.63.55 Chromium: 74.0.3729.131 (Official Build) (64-bit). Opening a new tab and quickly trying to use a search engine keyword (e.g., g for a google search) briefly shows "Search Google" in the omnibox, only for it to disappear and result in g <search term> appearing in the omnibox.

Similar to in issue #3756, this only occurs if the current page has some content loaded. When opening a new tab from a blank tab, I cannot reproduce this.

@PunnyBoi
Copy link
Author

I don't know why other people are not reporting this issue. Aren't they fast enough :p
Also, @rebron, is it possible to increase the priority of this issue? This issue is really annoying, and sometimes I have to wait for a second or two so that the new tab loads completely.

@rebron rebron added feature/search Chromium/waiting upstream Issue is in Chromium; we'll likely wait for the fix labels May 15, 2019
@rebron
Copy link
Collaborator

rebron commented May 15, 2019

@PunnyBoi If you go to Manage Search engines, do you see YouTube in other search engines? Try adding a keyword, edit using the menu on the right, and I use 'yt' as my keyword. Looks like there's a conflict with autocomplete and open search with the keystrokes you're using.

@rebron rebron removed the Chromium/waiting upstream Issue is in Chromium; we'll likely wait for the fix label May 15, 2019
@PunnyBoi
Copy link
Author

PunnyBoi commented May 15, 2019

Hii. That sounds right but then why was I not facing this issue in the old build? Because of this issue, I am still using build 0.60.45 Chromium: 72.0.3626.109, and it is working perfectly fine. What you said is a workaround solution, but I don't think it's a correct solution. Also, I am reluctant to change the keyword to 'yt' because I am using the above technique for youtube over three years (earlier I was on chrome).

@warwickmm
Copy link

I experience the issue even with keywords configured in Manage Search engines. If I open a new tab and quickly type a keyword (for example, g for a google search) followed by a search term, the omnibox shows

g <search term>

instead of

Search Google| <search term>

The "Search Google" does appear initially, but is then mysteriously cleared away, and the keyword remains.

Again, this only occurs when the new tab is opened from a tab that has content loaded.

Also, I do not experience this with Version 0.64.75 Chromium: 74.0.3729.131 (Official Build) unknown (64-bit) on Arch Linux. I can reproduce this 100% of the time with Version 0.63.55 Chromium: 74.0.3729.131 (Official Build) (64-bit) on Windows 7.

@PunnyBoi
Copy link
Author

@rebron, any update on this issue?

@PunnyBoi
Copy link
Author

@rebron, I tried your method too but it didn't help. I changed the youtube keyword as 'yt' but when I quickly type yt and press tab, the search bar appears once and then disappers. I know you are very busy but please look into this issue, it's really annoying. I am again reminding you that this issue was not present in Version 0.60.45 Chromium: 72.0.3626.109. Also, I am pretty sure that if you remove the image from the new tab (which take seconds to load), this issue will be resolved because I can see that the tab to search bar goes away when the image is completely loaded.

@rebron
Copy link
Collaborator

rebron commented Jul 18, 2019

@PunnyBoi Are you still seeing this on 66.100? It's our current release.

@warwickmm
Copy link

I'm still seeing this on Version 0.66.99 Chromium: 75.0.3770.100 (Official Build) (64-bit) on Windows. I haven't been able to test 66.100.

@PunnyBoi
Copy link
Author

I just updated brave to 66.100 and I can confirm that I am still seeing this.

@bsclifton
Copy link
Member

@PunnyBoi is it possible you have the mouse near the URL bar? I have experienced bugs before where the mouse accidentally triggers a selection since multiple options may be shown for auto-complete

For example, if you put the mouse in the bottom left corner and do the y and tab really quick, does it still happen? I suspect your mouse is in the URL bar. Whatever the case, definitely a bug 😄 Just hoping to narrow it down

@warwickmm
Copy link

I can confirm that this is not caused by the location of the mouse cursor. The text in the omnibar is cleared when the new tab page is rendered (in my case, the purple "this is a private window" background).

I should note that I am using this over RDP, so perhaps the effect is more pronounced?

@PunnyBoi
Copy link
Author

@bsclifton I don't think that the case. The bug is definitely related to the load time of the new tab page because currently, I am using dark new tab extension and with it, I am not facing this issue anymore.

You will notice one thing in the Gif I uploaded initially that the tab is showing 'loading...' and the search bar is working fine but as soon as the new tab page loads entirely and the tab shows 'New Tab', the search bar just disappears. This indicates that the search bar is directly affected by the loading of the new tab.

@warwickmm
Copy link

I can confirm that this is still an issue with Version 0.67.123 Chromium: 76.0.3809.87 (Official Build) (64-bit) on Windows 7.

@warwickmm
Copy link

warwickmm commented May 6, 2020

I can no longer reproduce this with version 1.8.86 on Windows 10. It appears to be fixed for me.

@bsclifton
Copy link
Member

@PunnyBoi are you able to re-test also? I'll go ahead and close this- but please re-open if it's still happening. Thanks! 😄

@PunnyBoi
Copy link
Author

PunnyBoi commented May 9, 2020

@bsclifton Yes I tested it and I think it's fixed. Thank you so much man. Keep it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/no-milestone closed/works-for-me feature/search priority/P5 Not scheduled. Don't anticipate work on this any time soon.
Projects
None yet
Development

No branches or pull requests

5 participants