• Browser
  • Mail
  • News
  • Community
  • About
Register Login
HomeBlogsForumThemesContributeSocial

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    We will be doing maintenance work on Vivaldi Translate on the 11th of May starting at 03:00 (UTC) (see the time in your time zone).
    Some downtime and service disruptions may be experienced.
    Thanks in advance for your patience.

    1. Home
    2. Desktop
    3. Archive
    4. Open txt inside vivaldi

    Open txt inside vivaldi

    Archive
    not a bug
    8
    30
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • iAN CooG
      I
      iAN CooG
      last edited by

      Either the server is not serving the file with proper content type or Vivaldi isn't handling content type at all. Anyway all you have to do is to drag the link in a tab or in the new tab "+" icon to open it in a new tab.

      http://iancoog.altervista.org/
      --=[]=-----------------------------------------------------------------------=[]=--
      Windows10 64bits - 8core i9-9900K @ 3.60GHz - 16Gb RAM - nVidia GT1030

      1 Reply Last reply Reply Quote 0
      • iAN CooG
        I
        iAN CooG
        last edited by

        @Gwen-Dragon yeah, also open link in new tab works, only direct click forces the download.

        http://iancoog.altervista.org/
        --=[]=-----------------------------------------------------------------------=[]=--
        Windows10 64bits - 8core i9-9900K @ 3.60GHz - 16Gb RAM - nVidia GT1030

        1 Reply Last reply Reply Quote 0
        • AlesPG
          A
          AlesPG
          last edited by

          Thank you for your feedback, i have been able to reproduce everything you have said. I will report the bug to the vivaldi team, because txt works every way except opening from the downloads panel, and thats not right.

          sirjeff
          S
          Dr.Flay
          D
          2 Replies Last reply
          Reply Quote 0
          • sirjeff
            S
            sirjeff @AlesPG
            last edited by sirjeff

            @AlesPG the sample download links on the https://sample-videos.com page use the download="filename" attribute in the html to advise the browser that the link is for downloading, not inline viewing.

            The quickest way to see if text files are view-able in your browser is to check out the robots.txt file (on most websites) like on this forum :
            https://forum.vivaldi.net/robots.txt (this link doesn't work directly from this forum - you'll have to drop it in your address bar)

            I have made a quick page with text links, with and without the "download" attribute.
            The first link should open in your browser:
            https://omi.nz/drp/tst/

            1 Reply Last reply Reply Quote 0
            • Dr.Flay
              D
              Dr.Flay Translator @AlesPG
              last edited by

              @AlesPG You are missing the point, and how the download manager works.
              It is not a bug if the browser is doing what the website intended.
              The site designer added the tag to force it to DL so you can (one click download)

              Any files in the DL manager will not behave as if they are online.
              Now they are downloaded when you double-click it will do the default action for dealing with a local file.

              If you want to get Vivaldi to ignore the instruction do download it, just copy the link for the actual text file and paste it in the address bar. It will open perfectly.
              Anything you open in the browser window will not list in the DL manager.

              Doctor Flay ™

              AlesPG
              A
              1 Reply Last reply
              Reply Quote 0
              • lamarca
                L
                lamarca
                last edited by lamarca

                @AlesPG said in Open txt inside vivaldi:

                i don't think i understand you.
                the ideal would be to have the choice of downloading the

                Localhost, was the first thing that cross my mind after reading the words "open txt".
                Magnet needs an appl. The next reply also has the same idea.
                Why not using the Download Web Panel

                Edited: Crtl+J >> choose the file in the list and double click

                Volunteer & Tester

                1 Reply Last reply Reply Quote 0
                • AlesPG
                  A
                  AlesPG @Dr.Flay
                  last edited by

                  @Dr-Flay "Now they are downloaded when you double-click it will do the default action for dealing with a local file."

                  Thats not true, if i double click a pdf from the downloads panel it opens inside vivaldi, if i double click a txt, it opens an external tool.

                  it is impossible open a txt inside vivaldi from the downloads panel, but it is possible to open a pdf, does it only happens to me?

                  sirjeff
                  S
                  1 Reply Last reply
                  Reply Quote 0
                  • sgunhouse
                    S
                    sgunhouse
                    last edited by

                    The question is ... if you go to your file manager and double-click a PDF file there, what program is opened? If it opens in Vivaldi, then you have your answer. (Yes, you could set Vivaldi as your default application to open all text files - but do you want a viewer or an editor as default?)

                    AlesPG
                    A
                    1 Reply Last reply
                    Reply Quote 0
                    • sirjeff
                      S
                      sirjeff @AlesPG
                      last edited by

                      it is impossible open a txt inside vivaldi from the downloads panel, but it is possible to open a pdf, does it only happens to me?

                      @sgunhouse This is normal. There is an option in settings (search for plugins) to enable/disable the internal PDF viewer. So for PDF there is an exception.
                      The rest of the file types, txt, png, zip etc. open in the application used to open by default. Oh soz, the other exceptions are web browser files (html mhtml etc.)

                      1 Reply Last reply Reply Quote 0
                      • AlesPG
                        A
                        AlesPG @sgunhouse
                        last edited by AlesPG

                        @sgunhouse pdfs open in a external tool, vivaldi is not the default app to see pdfs.

                        @sirjeff That may be the reason, that the pdfs are actually the exception to open files.
                        Thats too bad, i would like to open simple files (txt, png, etc...) without leaving the browser.

                        sirjeff
                        S
                        QuHno
                        Q
                        2 Replies Last reply
                        Reply Quote 0
                        • sirjeff
                          S
                          sirjeff @AlesPG
                          last edited by

                          @AlesPG said in Open txt inside vivaldi:

                          i would like to open simple files (txt, png, etc...) without leaving the browser

                          Please test the links at : https://omi.nz/drp/tst/
                          Where it says "Should open in browser" means exactly that. If it doesn't do so then there is mos-def a bug.

                          AlesPG
                          A
                          iAN CooG
                          I
                          2 Replies Last reply
                          Reply Quote 1
                          • AlesPG
                            A
                            AlesPG @sirjeff
                            last edited by

                            @sirjeff Yes, your links work as expected, but i wouldn't like to rely on the web programmers to open a txt, i would like to have the possibility of opening downloaded files inside vivaldi as well.

                            1 Reply Last reply Reply Quote 0
                            • iAN CooG
                              I
                              iAN CooG @sirjeff
                              last edited by

                              @sirjeff interesting, good to know 🙂

                              http://iancoog.altervista.org/
                              --=[]=-----------------------------------------------------------------------=[]=--
                              Windows10 64bits - 8core i9-9900K @ 3.60GHz - 16Gb RAM - nVidia GT1030

                              1 Reply Last reply Reply Quote 0
                              • Dr.Flay
                                D
                                Dr.Flay Translator
                                last edited by

                                There is no bug. The page in question contains code to make the browser open a save dialogue.
                                Any sites with a regular txt file and no extra code to change things will just open in the browser.
                                Try any site that serves plain text HOSTS files such as https://someonewhocares.org/hosts/
                                or a classic download site like http://aminet.net where all the info for each download is in a txt file.

                                Just like on that handy test page, these will all open in the browser because they are just plain links to files, and no commands used to force a file requester to open. The test page also has examples of forcing a dialog box to open.

                                Doctor Flay ™

                                AlesPG
                                A
                                1 Reply Last reply
                                Reply Quote 0
                                • AlesPG
                                  A
                                  AlesPG @Dr.Flay
                                  last edited by

                                  @Dr-Flay So, should i make a feature request to open txt as the pdfs?

                                  1 Reply Last reply Reply Quote 0
                                  • Dr.Flay
                                    D
                                    Dr.Flay Translator
                                    last edited by Dr.Flay

                                    Why, if you can just click on a normal txt link online and it opens in the browser ?
                                    You are mistaking the local downloaded files as things that will open in the browser.
                                    PDFs are the exception to the rule, not the norm.
                                    If you double-click on any other local file such as jpg, gif, mp3, or any other format the browser can actually play, it will always open your local software that windows has set to open it.
                                    PDFs are "special" due to the amount of security issues when using outdated viewers.
                                    The built-in PDF viewer in Vivaldi will always be kept up to date.

                                    Perhaps Vivaldi should make PDFs not open in the browser when downloaded ?
                                    This would make all files behave the same and be less confusing.
                                    If a feature was added, it would make more sense to do it for all supported filetypes, not just TXT and PDF.

                                    Vivaldi is a WEB browser intended for live display of files on the WEB, not on your drive.

                                    If you insist on using a web browser to open local text files instead of online, then you need to tell Windows that Vivaldi is your default text viewer.
                                    That is not a sensible thing to do.

                                    Doctor Flay ™

                                    AlesPG
                                    A
                                    1 Reply Last reply
                                    Reply Quote 0
                                    • AlesPG
                                      A
                                      AlesPG @Dr.Flay
                                      last edited by

                                      @Dr-Flay But you can, on the other hand, go to Menu -> File -> Open file, and open inside vivladi any supported file. However this "open file" from the vivaldi menu works different than the "open file" from the context menu. It would be nice to have the option "open file" from the menu in the file context menu, as "open file with vivaldi" or something like that.

                                      1 Reply Last reply Reply Quote 0
                                      • AlesPG
                                        A
                                        AlesPG
                                        last edited by

                                        It can actually be done from the vivaldi://downloads page. If you right click on a txt file and select any of the "Open link ..." options, it will open the txt inside vivaldi. I expect the same behaviour from the downloads panel.

                                        Dr.Flay
                                        D
                                        1 Reply Last reply
                                        Reply Quote 0
                                        • QuHno
                                          Q
                                          QuHno Soprano Translator @AlesPG
                                          last edited by QuHno

                                          @AlesPG The TXT download link at https://sample-videos.com has a "download" attribute set in its link which prevents opening. It is meant for downloading, so you can only open it after the download by the usual means.

                                          You can open it directly if you right-click and e.g. "open it in a background tab". Then the attribute is not supposed to work and it opens normally without storing it to the disk first.

                                          bug logging monkey
                                          How to write good bug reports

                                          1 Reply Last reply Reply Quote 0
                                          • Dr.Flay
                                            D
                                            Dr.Flay Translator @AlesPG
                                            last edited by

                                            @AlesPG When you are on the page vivaldi://downloads it behaves like a normal web page, that is why it is different to the panel.

                                            OK. What about we ask for the same sub-menu you get when right-clicking on for example a JPG image in the download panel ?
                                            Then it gives the options to do a variety of things.
                                            TXT is a basic MIME type so maybe it could be said that this is missing here, considering some other filetypes have this option, but I think it is limited to image files.

                                            Doctor Flay ™

                                            AlesPG
                                            A
                                            sirjeff
                                            S
                                            2 Replies Last reply
                                            Reply Quote 0
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

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

                                            Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status