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!

  • missingno@fedia.io
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    4 days ago

    Right at the bottom of the first screenshot:

    Filter: Webpage, HTML only

    Just click there to set it to All Files.

    • DeltaWingDragon@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      I don’t want to do that every time, for every program! There must be a KDE/Plasma-level setting for this, since it’s the KDE Plasma file picker.

  • mmmm@sopuli.xyz
    link
    fedilink
    arrow-up
    8
    ·
    4 days ago

    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.

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      4 days ago

      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.

      • mmmm@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        4 days ago

        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.

        • DeltaWingDragon@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          1
          ·
          3 days 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.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    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.

    • DeltaWingDragon@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      What I want is to set the default filter to “All Files” for every application that uses the file picker. I don’t want to do it per application. If there’s a setting for the file picker itself, I want to use that.