Can you make "Hide White Space" default so you don't have to reenable it every time you launch Writer?

Basically, everytime i launch LibreOffice writer, the option:
View → Hide White space
is disabled, even if i saved my documents with Hide white space enabled, any idea?

Hello,

you must set your default template to have “Hide Whitespcace” set. To do so

  1. Open an empty Writer document
  2. Set View -> Hide Whitespace
  3. Go to File -> Templates -> Save As Template
  4. Select a Template Category (e.g. My Templates)
  5. Provide a Template Name (e.g. HideWhitespaceSet)
  6. Tick option Set as default template (the important thing)
  7. Click button Save
  8. Close the file and open a new one

If the answer is correct or helped you to fix your problem, please click the check mark (:heavy_check_mark:) next to the answer.

Thank you for taking the time to answer Opaque, unfortunately your method doesn’t work, i even made a gif of all these steps so you can see for yourself, and tell me if i am doing something wrong or if it is a bug

1 Like

I have tested before posting and it worked for me using:

Version: 6.3.0.4, Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 8; OS: Linux 4.12; UI render: default; VCL: kde5; 
Locale: en-US (en_US.UTF-8);UI-Language: en-US, Calc: threaded

Made a second test using (works too):

Version: 6.2.6.2, Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 8; OS: Linux 4.12; UI render: default; VCL: kde5; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US,Calc: threaded

From your gif I cannot recognize that the setting is activated at any time, so it looks like you are making a template from a file not having the required setting and thus no surprise that it is not activated if you start Writer using thhis default.

I made another HD video showing all the steps you wrote, showing that the setting is indeed enabled before i save the template.

My build:

Version: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-US
Calc: threaded
1 Like

Made a third test on:

Version: 6.3.0.4 (x64), Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US, Calc: threaded

and same result: Worked as described in my answer. Have you tried to reset your user profile?

I uninstalled everything, deleted all remain folders, restarted, installed LibreOffice latest version, went through your steps again, and IT IS NOW WORKING.
Thanks a lot for all your testing and advices Opaque.

1 Like

Thanks a lot Spellflower this is great !

This site is not a forum but Question & Answers. So, please, make your “answer” a comment under the relevant answer. Otherwise, you confuse users, letting them (me in particular) think an alternate solution has been provided.

I did not have success with the steps listed above, but I found another solution. I recorded a macro and set it to run on opening a document.

I learned how to do this from these sources:
https://documentation.libreoffice.org/assets/Uploads/Documentation/en/GS5.1/HTML/GS5113-GettingStartedWithMacros.html#__RefHeading__5136_1196992793

Here are the steps:

  1. Open a new document.
  2. Make sure macro recording is enabled by going to Tools > Options > LibreOffice > Advanced on the main menu bar and selecting the option Enable macro recording. By default, this feature is turned off when LibreOffice was installed on your computer.
  3. Go to Tools > Macros > Record Macro on the main menu bar to start recording a macro. A small dialog is displayed indicating that LibreOffice is recording a macro.
  4. Click View > Hide Whitespace.
  5. Click Stop Recording on the small Recording dialog to stop recording and the LibreOffice Basic Macros dialog opens.
  6. Open the library container My Macros.
  7. Find the library named Standard in My Macros. Note that every library container has a library named Standard.
  8. Select the Standard library and click New Module to create a new module to contain the macro. This opens the New Module dialog.
  9. Type a descriptive name for the new module, for example Recorded, and click OK to create the module. The LibreOffice Basic Macros dialog now displays the name of the new module in the Standard library.
  10. In the Macro name text box, type a name for the macro you have just recorded, for example HideWhitespace.
  11. Click Save to save the macro and close the LibreOffice Basic Macros dialog.
  12. Go back to the document and select the main menu Tools > Customize
  13. In the dialog that pops up, select the tab Events.
  14. Attach your macro to the “Document loading finished” event ( or “Open Document” , “Activate Document” , … )
  15. Be sure to do this for LibreOffice and not just the document if you want it to apply to all documents.