DesktopEditors
DesktopEditors copied to clipboard
[BUG] ShellNew registry keys doesn't work.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I can't create .docx/.xlsx/.pptx file from right click on Desktop.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Right Click on Desktop -> New
What is the expected behavior? I can create .docx/.xlsx/.pptx file from right click.
Which versions of DesktopEditors, and which OS are affected by this issue? Did this work in previous versions of DesktopEditors?
Windows 10 21H1 Insider and 1809 LTSC, ONLYOFFICE Desktop Editors 6.2.0.148 This is first time I am using OnlyOffice.
This is how it looks in regedit
Hi @the4anoni This is a known issue 37924 in our private tracker and we are working on a solution. Thank you for your feedback.
Is there any news or improvements on this ?
Sorry, there is no news yet. But I reminded the developers about this problem in issue 37924.
Encountered the same problem, here is my registry changes for reference.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\.DOCX]
[HKEY_CLASSES_ROOT\.DOCX]
@="ASC.Document.12"
[HKEY_CLASSES_ROOT\.DOCX\ShellNew]
"FileName"="D:\\Program Files\\ONLYOFFICE\\DesktopEditors\\converter\\empty\\en-US\\new.docx"
"IconPath"="D:\\Program Files\\ONLYOFFICE\\DesktopEditors\\DesktopEditors.exe,7"
@=""
[-HKEY_CLASSES_ROOT\.PPTX]
[HKEY_CLASSES_ROOT\.PPTX]
@="ASC.Show.12"
[HKEY_CLASSES_ROOT\.PPTX\ShellNew]
"FileName"="D:\\Program Files\\ONLYOFFICE\\DesktopEditors\\converter\\empty\\en-US\\new.pptx"
"IconPath"="D:\\Program Files\\ONLYOFFICE\\DesktopEditors\\DesktopEditors.exe,9"
@=""
[-HKEY_CLASSES_ROOT\.XLSX]
[HKEY_CLASSES_ROOT\.XLSX]
@="ASC.Sheet.12"
[HKEY_CLASSES_ROOT\.XLSX\ShellNew]
"FileName"="D:\\Program Files\\ONLYOFFICE\\DesktopEditors\\converter\\empty\\en-US\\new.xlsx"
"IconPath"="D:\\Program Files\\ONLYOFFICE\\DesktopEditors\\DesktopEditors.exe,10"
@=""
After importing the above registry, you can use ShellNew to create a new file correctly. It is especially important to note that the subkeys that onlyoffice automatically adds to [HKEY_CLASSES_ROOT\.docx]
etc. should be removed, or at least not have the same name as [HKEY_CLASSES_ROOT\ASC.Document.12]
.
This problem fixed in https://github.com/ONLYOFFICE/desktop-apps/commit/565ca28a02938efdf6d008d1ed843b8d365a6522 and included in next major release. Partially intersects with #1356.
DesktopEditors v7.5.0 is released so I close this issue. Feel free to comment or reopen it if you got further questions.
Issue is still not fixed :(
Hi @the4anoni! The problem has been fixed for the EXE package but is still relevant for MSI as Bug 59006. I gave it to the developers to clarify the possibility of fixing it. Thank you for specifying the type of package used.