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

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    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.
    • AlesPG
      A
      AlesPG
      last edited by A Former User

      Hi, i have been looking in the forum and coudnt find any answer... is there any way to open txt files (or any other btw) inside vivaldi. i dont care if it download the file or not, i just wanna see the file without opening an external app. It works ok for pdf files.

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

        @AlesPG Does the file have to be on the web necessarily?

        Volunteer & Tester

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

          menu file/open file (ctrl-O)

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

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

            @lamarca i don't think i understand you.
            the ideal would be to have the choice of downloading the file or opening it directly, but pdfs doesnt work that way either.

            so, i just ask for the same functionality that the pdf files: the posibility of opening the files inside the browser from the downloads list, double clicking or right clicking -> open file

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

              @iAN-CooG it works that way! if i download the file and open it from the folder using menu -> file -> open file, it is opened inside vivaldi, so i presume not being able to do it from the downloads panel is a bug, right? behaviour should be the same

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

                @Gwen-Dragon ok, i will try.

                from the link https://sample-videos.com, download (one click download -> click)

                Sample PDF
                Sample Text File

                both are saved in your default folder and they are in the downloads panel (none is opened directly).

                Now, double click on the pdf, and double click on the txt, from the downloads panel.

                In my case, the pdf opens in a new vivaldi tab, but the txt opens gedit.

                If you go to menu -> open file and try to open both files, both are opened in a vivaldi tab.

                1 Reply Last reply Reply Quote 0
                • 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
                                            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