File download issue exclusive to the Linux version

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-12, 21:26

Hello (back) to the forum!
And many thanks @Basislisk-Dev for providing and maintaining this browser and your valuable cooperation with Roytam!

Here i have a problem downloading files from github in the linux version, e.g. from https://github.com/nicolaasjan/yt-dlp/releases

Either opening a file in a new tab or right-click on the link and "save link as" - both do not initiate the the save-file-dialog.
Palemoon (linux) works as expected on the github-urls.
I'm utilizing the latest GTK2 version on a Debian based distro with TDE - can someone confirm the issue?

Thanks in advance for your efforts!

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 491
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: File download issue exclusive to the Linux version

Unread post by Basilisk-Dev » 2024-05-13, 14:42

I'm not able to replicate this at all on any Linux builds. I tried directly clicking the links for the files, I tried right click -> Save Link As, I tried right click -> Open Link In New Tab, and I tried middle clicking the link to open a new tab.

Can you verify that you are using a clean profile?
Mark-PM wrote:
2024-05-12, 21:26
And many thanks @Basislisk-Dev for providing and maintaining this browser and your valuable cooperation with Roytam!
While I don't have any personal issue with Roytam, he and I don't directly keep in touch with each other or anything like that. I do monitor his MSFN thread in case a bug affecting his browser also affects Basilisk, and will post there occasionally if something is relevant to me or to Basilisk upstream. I'd say coexistence is a better term than cooperation.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-13, 17:50

Many thanks Basilisk-Dev,
utilizing a pristine profile Basilisk works properly. So in my current profile i
- deactivated every extension -> the malfunction remains
- removed every extension -> the malfunction remains
- resetted nearly everything in about:config -> the malfunction remains
That leaves me very clueless...
Is it possible do ,debug' anything in this regard, by controlling log files?

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 491
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: File download issue exclusive to the Linux version

Unread post by Basilisk-Dev » 2024-05-13, 18:12

Can you provide a list of extensions that were in your profile when you had the issue? A list of the settings that were changed in about:config would be helpful too
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-13, 19:37

Thanks again @Basilisk-Dev,
i will provide it tomorrow. We have to keep in mind, that (so far) only "save-as" on github is affected - Firefox downloads (https://ftp.mozilla.org/pub/firefox/releases/) or Basilisk download (https://basilisk-browser.org/download.shtml) eg. work well!

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-15, 19:52

Hello again,

since my configuration showed still the same misbehavior even withe a pristine prefs.js
i decided to build up a new profile for Basilisk on Linux from the scratch.
Everything works nicely now, with one exception: it's not possible to install the extension
Classic Theme Restorer (1.7.8).

Now that's unfortunate for two reasons:

1) we cannot prove whether CTR was responsible for the misbehavior!

Is there any possibility or trick to install the CTR extension anyway?

2) i dont like the australis changes:

Are there other config tricks and tweaks to:
- reverse the tab-strip and navigation bar (tabs not on top)
- leave the tabs squared
- highlighte the active tab (in a darker color)
[ have the back and forward buttons allways present] -> "Classic Toolbar Button" Add-on!
- the reload and stop button right aside

Many thanks for any suggestion in advance!

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-15, 21:51

Wow, this is weird!
Back with my old profile i opened the ,problematic' github site https://github.com/nicolaasjan/yt-dlp/releases, right-click and selected "View page source". Then searched for the first file-link "SHA2-256SUMS" and here:
right-click on the link in "<a href="/nicolaasjan/yt-dlp/releases/download/2024.05.14.042235/SHA2-256SUMS" and...
now the Save-dialog-window appears!
The significant difference with this link obviously is: it's relative - without the leading "https://github.com"!

But anyway, the pristine profile doesn' have a problem with it...

gabrgv
Moonbather
Moonbather
Posts: 58
Joined: 2023-10-28, 18:59

Re: File download issue exclusive to the Linux version

Unread post by gabrgv » 2024-05-15, 22:41

Mark-PM wrote:
2024-05-15, 19:52
it's not possible to install the extension
Classic Theme Restorer (1.7.8).
I just created a new profile and had no problem installing the Classic Theme Restorer from this link.
Mark-PM wrote:
2024-05-15, 19:52
Is there any possibility or trick to install the CTR extension anyway?
I guess you can apply the CTR tweaks without even installing it, through the userChrome.css, but it would take some time.
Mark-PM wrote:
2024-05-15, 21:51
Wow, this is weird!
I think it’s normal to be relative. If you hover the link with the cursor, the complete url will appear in the status bar.

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-16, 00:59

gabrgv wrote:
2024-05-15, 22:41
Mark-PM wrote:
2024-05-15, 19:52
it's not possible to install the extension
Classic Theme Restorer (1.7.8).
I just created a new profile and had no problem installing the Classic Theme Restorer from this link.
Many thanks @gabrgv,
i don't know what went wrong here, did the same procedure once again and now everything is fine, on linux too, and with github-links.

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-16, 10:44

I presume that the cause for the forbidden import of CTR in my first attempt with e ,pristine' profile was, that is has been a pristine palemoon profile. (I tried a lot profile-attempts and usually i rename the profile-folder temporarily and since i'm not very secure with the linux file-explorers i think i made a mistake right at the beginning). Thanks again for the support!

Just another small question: Usually i set the config pref "dom.storage.enabled" to False for security reasons.
But there is one (trustworthy) site that relies to this technique: is there any possibility known to set that pref to false and grant (whitelist) exceptions for specific sites?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37517
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: File download issue exclusive to the Linux version

Unread post by Moonchild » 2024-05-16, 11:46

Mark-PM wrote:
2024-05-16, 10:44
Just another small question: Usually i set the config pref "dom.storage.enabled" to False for security reasons.
This does absolutely nothing for your security. At least it will break sites, at most it may provide a marginal privacy benefit at the expense of functionality.
Many sites rely on this well-established web spec. I strongly recommend you leave it enabled.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-16, 13:47

Hello @Moonchild,
and many thanks for your explanation!

Well, on german tech-sites i found several statements stressing the relation between "dom.storage.enabled" and supercookies (which permit to store up to 5MB cookies in the background). The idea of this concept made me feel rather uncomfortable.
But maybe we Germans (and particularly me) are really a bit more paranoid than the average - as far as i'm informed, nowhere else on the planet the market share of Firefox (based) browsers is as high as here.

Btw.: "Linux makes everything difficult." - Haha, rather true, as i'm experiencing this exactly these weeks and months!
But the defection has to be done... Let's say: at least until the end of the decade ;)

Have a nice day, and kindest regards!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37517
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: File download issue exclusive to the Linux version

Unread post by Moonchild » 2024-05-16, 18:15

Off-topic:
Mark-PM wrote:
2024-05-16, 13:47
on german tech-sites i found several statements stressing the relation between "dom.storage.enabled" and supercookies
Like I said:
Moonchild wrote:
2024-05-16, 11:46
at most it may provide a marginal privacy benefit at the expense of functionality
There's been a lot of fluff about "supercookies" and it really isn't much of an issue. Once again, it has nothing to do with security (may want to check how often those German tech-sites get that bit wrong... and draw your own conclusions about how accurate the rest of their article is then ;) ). Allowing a website to store more (and more arbitrary) data than limited text-based cookies is generally beneficial. Just because it's a different mechanism doesn't suddenly mean it's "unsafe" or what not.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 491
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: File download issue exclusive to the Linux version

Unread post by Basilisk-Dev » 2024-05-20, 14:21

Are you still running into this?
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 36
Joined: 2024-05-12, 20:45

Re: File download issue exclusive to the Linux version

Unread post by Mark-PM » 2024-05-21, 15:43

Many thanks @Basilisk-Dev for your inquiry,
everything runs flawlessly now after i built up a complete new Basilisk profile from the scratch - nice exercise!
(Later, i even managed to bring "Open With" -> mpv player to work on linux...)

Hardly to recognize, i wrote it in message #9: ;)
Mark-PM wrote:
2024-05-16, 00:59
Many thanks @gabrgv,
i don't know what went wrong here, did the same procedure once again and now everything is fine, on linux too, and with github-links.
Kind regards!