When I open a “Save” dialog, or a file selection dialog, only one type of file is shown. Sometimes it even filters by the extensions.
I don’t want this! This isn’t Windows, where file extensions really matter! How do I disable the filtering, or set it to show “All Files” by default?
The “Save Page” dialog: you’d think there are only 2 files here, both .html files Image
Nope! There’s lots of stuff! Image
grue@lemmy.world 17 hours ago
You’re going to have to find the line in the Librewolf source code where it sets a file extension and/or MIME type filter on the “Save Page” dialog, edit it to remove the filter, recompile, and optionally create a bugzilla issue and patch to try to get your change adopted for everybody instead of just you.
This isn’t a KDE thing, BTW; it’s a Librewolf (or upstream Firefox) thing. The web browser knows it’s trying to save a web page, so the devs programmed it to force the standard, “correct” extension. (You could try to patch it at the KFileDialog level instead of the Librewolf level as described above, but then you’d lose filtering systemwide.)
More realistically, your best bet is to save it with the
.htmlat the end, and then just rename the file to what you actually want afterwards.