HTML file being saved to Desktop
-
@jmss There are numerous ways for an accidental user-initiate download; Save Link as, Ctrl-As are two of them. Some, like the standardized "Save This" HTTP header field is intended functionality, that is triggered by the website.
For there to be a bug we need a reproduction case that does not involve user action beyond the first (single-click) operation of starting the download.
Also, "Desktop" is one of the standardized directory entries in the Chromium code (there is an "Enumerated" value used around the code to select it as a path); there may be built-in intended actions related to it (e.g. I noticed that on Linux it looks like some Media dirs are under located under the Desktop dir). It is also one of the quick access links in Save As dialogs, so it is easy to click on it, even accidentally.
So, we need much more evidence, including a minimal Proof of Concept, proving that it is undesirable behavior, before we could consider this a bug, not an accidental action in the GUI, or intended behavior; and except special circumstances, the right addressee would likely be the Chromium project, not Vivaldi, since I think we have few patches in the related code.
-
Consider trying the following to troubleshoot the issue. Create empty read-only versions of the HTML files being downloaded to your home directory and then see what, if anything, breaks when the file cannot be written to.
-
@yojimbo274064400 I am the reporter. This does not happen always. I think this is a bug in Vivaldi where instead of downloading the file to its cache, it downloads it to Desktop. I suppose that Vivaldi must download the HTML file to be able to display it, but should download to a cache directory and no one else. But I can't prove this...
-
The earlier suggestion to create a read-only version of the file was in the hope that when the issue next occurs it will trigger a warning / error and this will help locate the source of the issue.
If you require help with creating the read-only file post back here with the exact name of the file; is it
billing download list
or the hyphenated version billing-download-list` -
@yojimbo274064400 this happens with many files, the file used for this report is just an example.
Seems like it's this bug: https://forums.linuxmint.com/viewtopic.php?t=368785
-
@jmss said in HTML file being saved to Desktop:
this happens with many files, the file used for this report is just an example.
You keep saying that, but we've only seen 1 example url so far.
If you can find a url where it happens every time and where others do not need a login user to see it happen, then it might be worth investigating further. -
@Pathduck I was able to replicate this now. I have been using Vivaldi's window with a reduced size to be able to constantly see the Desktop and monitor when/if some file appears there.
This happens when we try to detach a tab from one of Vivaldi's windows. I do this by dragging the tab to the taskbar. This produces the desired effect, i.e. the detached tab becomes a new window, but the side effect is that the file being browsed is also saved to the Desktop. We can even see a pop-up window saying that the file is being saved to the Desktop.
I am not dragging the file to the Desktop. If I do that, then the file gets saved to the Desktop but no window is opened. This is expected.
Dragging to the taskbar should not save the file anywhere, it should just detach the tab from the window.
-
@jmss said in HTML file being saved to Desktop:
This happens when we try to detach a tab from one of Vivaldi's windows. I do this by dragging the tab to the taskbar. This produces the desired effect, i.e. the detached tab becomes a new window, but the side effect is that the file being browsed is also saved to the Desktop. We can even see a pop-up window saying that the file is being saved to the Desktop.
I rememember such issue with some Desktop Environment. Which Desktop Environment is this in your case?
-
@DoctorG Cinnamon
-
@jmss Let me check this the next minutes on my Debian 12 Cinnamon.
//edit: Yes, dragging generates a HTML file on desktop.
A known Vivaldi bug with some Linux Desktop Environment. -
@jmss said in HTML file being saved to Desktop:
I do this by dragging the tab to the taskbar. This produces the desired effect, i.e. the detached tab becomes a new window
Drag tab down on web page and you get a new window (no file on desktop created).
-
@DoctorG I probably do that sometimes, that's why this was even harder to trace.
-
Is this bug:
- VB-40336 "Pulling Tabs to create Window doesn't always work on Ubuntu Budgie, creates File instead" – Confirmed, no dev assigned.
- VB-21341 "[Linux] Draging tab out of window in XFCE triggers link dialog" – Confirmed, no dev assigned.