Copied address bar content lacks the used protocol



  • When selecting the whole content of the address bar (or only the first part of the currently active page address) and copying this into the address bar indeed just only that content is copied into the clip board. The expected behavior is that in case the whole URL is copied, the protocol is prefixed to the copied string. The expected behavior is that in case only the first portion of the URL is copied (without GET parameters), the protocol is prefixed to the copied string. The background of this is that when pasting the content into a different application, it is no longer recognized as URL and no Link is generated or users have a hard time to recognize it as URL.



  • Which version do you use?



  • Hi,

    the about page mentions:

    Vivaldi 1.0.403.17 (Developer Build) (32-bit)
    Revision 0c0e1eb245235dfafc6a82065b23d3eaf464c8d1
    OS Windows
    Blink 537.36 (@0)
    JavaScript V8 4.8.271.19
    Flash 20,0,0,306



  • This is what I get when I copy and paste the address of this page:

    https://vivaldi.net/forum/vivaldi-browser/8688-copied-address-bar-content-lacks-the-used-protocol
    

    Show full URL is disabled in Settings, Addressbar. If I enable it, I get the same. The problem is, perhaps, with this forum converting the link without the https:// part.

    https://vivaldi.net/forum/vivaldi-browser/8688-copied-address-bar-content-lacks-the-used-protocol



  • Show full URL is disabled in Settings, Addressbar.

    Enabling this does the trick for me! I thought this just prevents the display of the GET parameters but enabling it also makes the protocol visible. I now believe that I struggled with a small inconsistency there.
    [ul]

    • When Show Full URL is disabled and the address bar has no focus it shows me domain and path.
    • When Show Full URL is disabled and I click into the address bar it shows me everything (domain, path, parameters) but the protocol.
    • When Show Full URL is enabled and the address bar has no focus it shows me everything (protocol, domain, path, parameters).
    • When Show Full URL is enabled and I click into the address bar it shows me everything (protocol, domain, path, parameters).
      [/ul]
      I had the Show Full URL disabled and because the parameters of the URL where displayed (even if I do not wanted to copy them) I only selected domain and path. Copying this to the clip board does not prepend the URL. In most cases I just don't want to copy the parameters (there is no need).

    I just continue to run with the Show Full URL enabled. I believe this thread is somewhat invalid.
    Maybe either the protocol could be displayed when the address bar has focus even if Show Full URL is disabled or the way around the protocol could be appended when the to be copied selection of the address bar content starts at index 0 of the String.

    But that's maybe picky? :whistle: You helped me. Thank you.



  • Yes, the URL should be copied complete. Display of URL can be shortened as done in other browsers, but if you select in address field its should be copied completely.
    Resembles me a old bug reappeared.

    I reported this issue as:
    VB-13550 "Protocol not copied from URL in address field"



  • This request was implemented with version 1.0.418.3. Thank you very much!


Log in to reply
 

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