Ask Your Question

Right-click menu item to create Writer document missing

asked 2019-09-17 19:20:11 +0200

LI gravatar image

In Windows 10, when I right-click in a folder and select the menu item "New", there are options to create several kinds of documents, but not for Writer or Calc However, there is one for an "OpenDocument Drawing".

After a new install of LibreOffice, the option to create Writer and Calc documents does show up in the right-click New menu. But after a few restarts, next time I look, only the Draw document remains. This cycle has happened several times, over at least a couple years.

I have followed other advice, and set the appropriate registry entry, for example for Writer: Computer\HKEY_CLASSES_ROOT.odt\LibreOffice.WriterDocument.1\ShellNew to the appropriate file, which I have created: C:\Program Files\LibreOffice\share\template\shellnew\soffice.odt

This ability to create a new Writer document exactly in the folder where you need it with a right-click is very handy. Any ideas on why it disappears, and only the Draw document option remains?

edit retag flag offensive close merge delete


Have you got Microsoft Office installed too? If yes - does MS Office claim to be THE application for "New Spreadsheet*", "New Text Document" etc... and does Draw only remain due to the fact that there is no equivalent application for Draw in MS Office?

Opaque gravatar imageOpaque ( 2019-09-17 19:35:54 +0200 )edit

Yes, MS Office is installed too. I hear you, that sounds like a clue, since Draw is unique to LibreOffice. However, in the right-click New menu, there are separate options for "Microsoft Word Document" and the other Office apps. And I just checked File Associations in the Windows settings, and .odt is set to LibreOffice Writer.

LI gravatar imageLI ( 2019-09-17 20:11:11 +0200 )edit

The only fix to this I have found is to re-install LibreOffice. All the OpenDocument options then show up in the file folder right-click menu.

LI gravatar imageLI ( 2019-09-22 20:13:31 +0200 )edit

.... until MS Office and/or Windows Update changes it next time.

Opaque gravatar imageOpaque ( 2019-09-22 22:32:15 +0200 )edit

Yes, it will probably go away again. But the feature is so useful, at least to me, I am keeping the LO install file handy, and will just reinstall again if needed.

LI gravatar imageLI ( 2019-09-23 14:10:01 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-11-20 12:25:05 +0200

Mamoru800 gravatar image

updated 2021-04-12 13:47:26 +0200

You have to shift the ShellNew Key in the Registry location

Computer\HKEY_CLASSES_ROOT\ .odt\LibreOffice.WriterDocument.1

into the higher level

Computer\HKEY_CLASSES_ROOT\ .odt

It should look like this then

Computer\HKEY_CLASSES_ROOT\ .odt\ShellNew

Then it works.

image description

You can do so, by creating a new key in the folder

Computer\HKEY_CLASSES_ROOT\ .odt

named "ShellNew". Then create a new string named "FileName" inside that key and copy the path from the string "FileName" in

Computer\HKEY_CLASSES_ROOT\ .odt\LibreOffice.WriterDocument.1

to the new one in

Computer\HKEY_CLASSES_ROOT\ .odt\ShellNew

And you're done.

edit flag offensive delete link more


Aha, that works! Finally. Thanks. Wish the install did this by default. Just a note that wherever it says "\HKEY_CLASSES_ROOT.odt" in your answer there should be a slash before the .odt to show it is another level as in "\HKEY_CLASSES_ROOT.odt".

LI gravatar imageLI ( 2020-11-21 13:57:02 +0200 )edit

Cheers. Actually formated it this way, but somehow it got changed by the webpage. Changed it now

Mamoru800 gravatar imageMamoru800 ( 2020-12-01 11:30:10 +0200 )edit

wish I could upvote, this made my work way faster and my life way simpler, thanks for the tip ^^

pacomesoual gravatar imagepacomesoual ( 2021-01-02 02:31:08 +0200 )edit

Worked! FYI 7.0.4 didn't repair the missing New Item object at all on my W10_20H2 box, so this had to be manually fixed anyway. Anyone know how I might upload my functional hive export so that others can simply run it to fix their problem? gravatar ( 2021-01-12 00:47:12 +0200 )edit

Magic! Thank you, Mamoru800!

Antoka gravatar imageAntoka ( 2021-01-23 19:27:52 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-09-17 19:20:11 +0200

Seen: 1,880 times

Last updated: Apr 12