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.

    0_1512659464923_e56b63d4-0157-4133-8467-75458dc211ee-image.png

    as you can see, I selected "dell open manage", but the search field still has only "dell open".



  • Tested with 1.12 Stable and 1.13 Snapshot on Windows 10 x64.
    Works in address and search field for me if i use Cursor↓ and Cursor↑.



  • 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:

    Video 1

    Video 2

    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).



  • Thanks for teh hint.
    Please report the bug, may be some other internal tester can reprode it.
    Try to explain what you are doing because the video can not show all what you are doing/typing.


    How to do a bug report for Vivaldi

    Report each bug separately at https://vivaldi.com/bugreport/
    Describe the issue as precise as you can.
    Add some information about extensions you use.
    Add information about the operating system and version you use.
    Add some information which security tools you use.
    If you have problems with video or audio give us information about your installed codecs and graphics
    card/GPU.
    Add a exact link to the page where the issue comes up and can be tested.
    After reporting the issue, you will receive a confirmation mail from the bugtracker.
    In a reply to this mail you can add more information and files (like screenshots or testcases) as
    attachments and it will be added automatically to bug report.

    If you have questions about the bug please ask in forum first and do not forget to post the VB-XXXXX
    bug number (you can find it in confirmation mail).

    Thanks in advance for helping us to make Vivaldi better!




  • @avi said in Search suggestions work incorrectly:

    In case the Vivaldi team is interested:

    Video 1

    Video 2

    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 shows

    Domain: 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 snapshot

    Cheers, 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
    return

    You should get this: "linux server" selected, but text in the search field is still "linux ser".

    0_1512723871479_53d09567-bdb3-49f1-9b8d-d1b75793abfb-image.png



  • @avi Can you please answer to the bug report confirmation received for VB-35448 and add this information for us?



  • @gwen-dragon Sure! I did not know I could reply to the Issue Collector emails.



  • @avi said in Search suggestions work incorrectly:

    I did not know I could reply to the Issue Collector emails

    Did you miss my post https://forum.vivaldi.net/post/178875



  • @gwen-dragon Sorry, did not read it carefully enough.



  • @avi Ah, ok.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.