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
-
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.
-
@Dr-Flay So, should i make a feature request to open txt as the pdfs?
-
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. -
@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.
-
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.
-
@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.
-
@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.