How to minimize huge "file type" tray at bottom of "save" and "save as" window?

I’m brand new to LibreOffice Writer. The first time I went to “save as” a document, there was an enormous “file type” tray taking up half the space of the window. This happens whether I’m in the default view or click to be able to see my sidebar ( preferred ) and navigate around my Mac to the folder I want. I queried Google AI tool and tried about a million solutions including much Terminal code, adjusting advanced settings in LibreOffice, creating a new user folder in LibreOffice’s directory, resizing the window while pressing command, shift, etc. etc. etc. with ZERO success. Is there not a simple way to do this? It only happens in LibreOffice. In Microsoft Word, the “file type” tray is a single line at the bottom. I don’t need to see every checkbox ("Edit filter settings, " “Automatic file name extension,” etc. etc.) all of which are unchecked anyway.

I don’t want to use the LibreOffice version because I have been using my Mac’s version for a long time and like it / am very efficient with it.

Thank you for any help anyone can provide!

You can use LibreOffice dialogue boxes if you prefer. Click LibreOffice > Preferences > LibreOffice > General and tick the box Use LibreOffice dialogue boxes. OK

1 Like

Thanks so much for your quick response! But my original post noted that I don’t want to use the LibreOffice version. Is there any other solution?

Sorry, I didn’t read closely enough. AFAIK there isn’t a user way to to hide those boxes.

Thank you for trying, though! I appreciate you taking the time!

This can be done using macros; here is a similar compact example (Test macro in my last message)

1 Like

I can read the macro and I do code in HTML, CSS, etc., but as far as creating or substantially editing my own macros, that’s a bit beyond me. Still, this gives me an option to explore to see if anyone else has successfully developed a macro that does what I’m looking for. Thank you!

Below is a minimalist macro (SaveAsCompact).

  1. Add this macro to any module in any library from My Macros…
  2. Test it out.
  3. If you like it, add it to the main menu and/or the standard toolbar and/or assign a keyboard shortcut.
Sub SaveAsCompact()
  Dim oFilePicker As Object, mode As Long, filePath As String
  mode = com.sun.star.ui.dialogs.TemplateDescription.FILESAVE_AUTOEXTENSION
  oFilePicker=com.sun.star.ui.dialogs.FilePicker.createWithMode(mode)
  With oFilePicker
    .appendFilter "ODF Text Document (*.odt)", "*.odt"
    .setDefaultName ThisComponent.Title
    If .execute<>1 Then Exit Sub
    filePath=.SelectedFiles(0)
    ThisComponent.storeAsURL(filepath, Array())
  End With 
End Sub
2 Likes

Thank you so much for this! I added it to my Module1 in LibreOffice writer and quit and restarted LibreOffice Writer. I opened a file and clicked File > Save As to test the macro but everything looks exactly the same as before - the file type tray is still there as huge as ever, showing all the checkboxes I don’t need to see. :frowning:

Open a file and and then run the macro.
If you like it, you can add the macro to a keyboard shortcut, context menu or an icon, see Keyboard

2 Likes

Oh my goodness, that is a thing of beauty. Thank you for your patience with the person new to macros; it makes complete sense to run the macro to save as rather than clicking “save as” in the File menu. Thank you also for this macro! It’s perfect.

1 Like

I was really bummed by this - on ubuntu with gnome the dialog box is by default so large, that it’s unusable. Also resizing or shifting doesn’t work. This tip here is the fastest fix for the situation - basically it changes the dialog styling.

I’m a long-term linux user and as such i’m pretty biased towards libreoffice, but unusable dialogs on a fresh install is just not a good experience.

1 Like