cross-posted from: https://sh.itjust.works/post/54871719

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

Nope! There's lots of stuff!

all 11 comments

sorted by: hot top controversial new old
[–] 7 points 9 months ago (3 children)

That is definitely up to librewolf as it intends to, ahem, save a document as HTML. Librewolf is setting that somehow, most possibly it's hardcoded so I doubt there is a way to change that in its settings or whatever.

Besides I don't think the purpose of the save dialog is to list files as an actual filemanager would.

  • source
  • hideshow 3 child comments
  • [–] 3 points 9 months ago (2 children)

    Besides I don't think the purpose of the save dialog is to list files as an actual filemanager would.

    You might be surprised. Save dialog folder view widgets are often pretty full-featured (or just straight-up share code with file manager widgets), letting you do things like create new folders, rename existing files, and maybe even copy/paste.

    In fact, I just moseyed over to my desktop to check: using the save dialog in Kate, I can right-click in the folder view and create new folders or files, rename files, trash files, and open files (in another Kate tab or in a different program entirely). It won't let me copy and paste, though, and drag-and-dropping a file from another folder into it navigates there and sets it up to overwrite it with the saved data, rather than moving or duplicating the file to the previously viewed location.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 9 months ago (1 child)

    I know all of that, like I have submitted patches and filed bugs against both gtkfilechooser and kde's file chooser, and all of that you mention stil doesn't take out that the purpose of the save dialog is to save files instead of listing them and OP's request is really odd and can backfire in the future - you'd still want to save HTMLs with their file extension, even in Linux, for a reason.

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 1 point 9 months ago

    It's not just the save dialog, I mentioned the file selection dialog (for uploading) in the post. The Librewolf "save page as" is just one singular example, not the entire problem!

    "Saving HTML files with their file extension" can still be accomplished if I can see all the files at once. I'm not changing the extension, I just want to see where I'm putting them. There is no reason why viewing all files would prevent me from saving the same file types together.

  • source
  • parent
  • [–] 6 points 9 months ago (1 child)

    Right at the bottom of the first screenshot:

    Filter: Webpage, HTML only

    Just click there to set it to All Files.

  • source
  • hideshow 1 child comment
  • [–] 3 points 9 months ago* (1 child)

    It's going to depend on how the application you're using decides to invoke the dialog. That's the filter they decided to pass to it. Take it up with Librewolf, or fork the project and patch it for your own use.

  • source
  • hideshow 1 child comment
  • [–] 1 point 9 months ago* (2 children)

    You can sort by all can't you, if you click the drop down on the right?

  • source
  • hideshow 2 child comments