Search suggestions work incorrectly
-
This happens very often (but not every time), when you use the search field. Start to type something, and very quickly press arrow down in order to select the 1st suggestion from the dropdown list. Cursor goes to selection, but the search field still contains only what you typed. If you hit enter, you'll end up searching an incomplete phrase.
It annoys me a lot, not only because it performs a search on incomplete phrase, but also because this incomplete search goes into your history and will start to pop up later.
as you can see, I selected "dell open manage", but the search field still has only "dell open".
-
You have to press cursor down very quickly after you typed something in order to reproduce this. I can try and record the video if needed.
-
In case the Vivaldi team is interested:
As you can see, the browser does something, the search field briefly changes, maybe it's reloading the list of suggestions or something.
I never see any of those bugs that get fixed in each release, but this one annoys me since the first day I started to use Vivaldi (since the day I fell in love with this browser).
-
@avi said in Search suggestions work incorrectly:
In case the Vivaldi team is interested:
Both videos crashed the tab with dead bird as soon it should start playing for me (win7 32bit). I'll rety on another pc asap.
EDIT: also on my other win7 32bit pc they crash the vivaldi tab. Downloading them and watching with another player they work of course.
In console it showsDomain: www.dropbox.com i9gAGQggB0qSI7gu5qxSFEDmbPMVR0IB2o7i8mN8c3A%2CIYjzJVDn1ALGqSGnmHa-CoNRGdGqpWK4DY_3DiS-jgU%2CNBJy52gGHpczDcSU4mIFZ-3SWh92uFe_ee9E0WGoY3o Failed to load resource: the server responded with a status of 415 () 2-content-core.js:10 Domain: marketing.dropbox.com *path?referrer=:1 Refused to load the script 'data:application/javascript;base64,KGZ1bmN0aW9uKCkgewoJdmFyIG5vb3BmbiA9IGZ1bmN0aW9uKCkgewoJfTsKCXZhciB3ID0gd2luZG93OwoJdy5nYSA9IHcuZ2EgfHwgbm9vcGZuOwoJdmFyIGRsID0gdy5kYXRhTGF5ZXI7CglpZiAoIGRsIGluc3RhbmNlb2YgT2JqZWN0ID09PSBmYWxzZSApIHsgcmV0dXJuOyB9CglpZiAoIGRsLmhpZGUgaW5zdGFuY2VvZiBPYmplY3QgJiYgdHlwZW9mIGRsLmhpZGUuZW5kID09PSAnZnVuY3Rpb24nICkgewoJCWRsLmhpZGUuZW5kKCk7Cgl9CglpZiAoIHR5cGVvZiBkbC5wdXNoID09PSAnZnVuY3Rpb24nICkgewoJCWRsLnB1c2ggPSBmdW5jdGlvbihvKSB7CgkJCWlmICgKCQkJCW8gaW5zdGFuY2VvZiBPYmplY3QgJiYKCQkJCXR5cGVvZiBvLmV2ZW50Q2FsbGJhY2sgPT09ICdmdW5jdGlvbicKCQkJKSB7CgkJCQlzZXRUaW1lb3V0KG8uZXZlbnRDYWxsYmFjaywgMSk7CgkJCX0KCQl9OwoJfQp9KSgpOw==' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval'". Note that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
EDIT2: interestingly enough, they play if hw video decode is enabled in vivaldi://flags
I keep that disabled because youtube work for me way better with hw video decode disabled. I'll try keeping it enabled for a while now. -
Ok, bug reported (VB-35448). In both videos, I do not press any keys other than letters to type text, and cursor down key (and enter in the first video, to proceed with the search).
Thanks.
-
Both videos crashed the tab with dead bird as soon it should start playing for me (win7 32bit). I'll rety on another pc asap.
You can download them to your PC (change ?dl=0 to ?dl=1 in the URL).
-
@avi said in Search suggestions work incorrectly:
You can download them to your PC (change ?dl=0 to ?dl=1 in the URL).
of course but that's not the point, vivaldi shouldn't crash on an mp4.
-
@ian-coog, Avi, Videos work fine here.
Reproducible chrashes are mostly easier to fix but it seams it is system dependent.Opensuse Leap 42.3 x86_64
CPU Intel T4200 4 GB
GPU Intel GN 965
xf86-video-intel 2.99.917-6.1
KDE Plasma 5.8.7
Vivaldi latest snapshotCheers, mib
-
@mib2berlin said in Search suggestions work incorrectly:
@ian-coog, Avi, Videos work fine here.
Reproducible chrashes are mostly easier to fix but it seams it is system dependent.I have edited my post, they play if HW video decode is enabled.
-
I created an Autohotkey script that reproduces this reliably (it types characters with 100ms delay and presses cursor down).
Run this script with Autohotkey. Move mouse away from the search field. Focus the search field with Ctrl-K. Press Ctrl+Alt+t to trigger the script.
!^t::
Send l
Sleep 100
Send i
Sleep 100
Send n
Sleep 100
Send u
Sleep 100
Send x
Sleep 100
Send {Space}
Sleep 100
Send s
Sleep 100
Send e
Sleep 100
Send r
Sleep 100
Send {Down}
Sleep 100
returnYou should get this: "linux server" selected, but text in the search field is still "linux ser".
-
@gwen-dragon Sure! I did not know I could reply to the Issue Collector emails.
-
@gwen-dragon Sorry, did not read it carefully enough.
-
Since I experience this problem almost every day, I made some sort of workaround. It's an Autohotkey script. What it does: when you focus the search field with Ctrl+K, type something and start to navigate the suggestion list with cursor down key, it temporary replaces Enter with Down,Up,Enter sequence. By pressing Down,Up, your search text gets "reset" to what is currently selected.
#IfWinActive, ahk_exe vivaldi.exe ^k:: searchFieldActivated := True searchFieldDownPressed := False Send ^k Return Down:: if ( searchFieldActivated ) { searchFieldDownPressed := True } Send {Down} Return Enter:: if ( searchFieldDownPressed ) { searchFieldActivated := False searchFieldDownPressed := False Send {Down}{Up} } Send {Enter} Return #IfWinActive
-
-