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.
Open txt inside vivaldi
-
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.
-
@AlesPG Does the file have to be on the web necessarily?
-
menu file/open file (ctrl-O)
-
@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
-
@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
-
@Gwen-Dragon ok, i will try.
from the link https://sample-videos.com, download (one click download -> click)
Sample PDF
Sample Text Fileboth 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.
-
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.
-
@Gwen-Dragon yeah, also open link in new tab works, only direct click forces the download.
-
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.
-
@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/ -
@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. -
@AlesPG said in Open txt inside vivaldi:
i don't think i understand you.
the ideal would be to have the choice of downloading theLocalhost, 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 PanelEdited: Crtl+J >> choose the file in the list and double click
-
@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?
-
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?)
-
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.) -
@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. -
@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. -
@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.
-
@sirjeff interesting, good to know
-
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.