DesktopEditors icon indicating copy to clipboard operation
DesktopEditors copied to clipboard

[BUG] ShellNew registry keys doesn't work.

Open the4anoni opened this issue 3 years ago • 4 comments

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

image

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 image

the4anoni avatar May 15 '21 09:05 the4anoni

Hi @the4anoni This is a known issue 37924 in our private tracker and we are working on a solution. Thank you for your feedback.

LuckySpecialist avatar May 20 '21 15:05 LuckySpecialist

Is there any news or improvements on this ?

ghost avatar Nov 15 '21 06:11 ghost

Sorry, there is no news yet. But I reminded the developers about this problem in issue 37924.

LuckySpecialist avatar Nov 15 '21 08:11 LuckySpecialist

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].

YanceyChiew avatar Aug 06 '22 18:08 YanceyChiew

This problem fixed in https://github.com/ONLYOFFICE/desktop-apps/commit/565ca28a02938efdf6d008d1ed843b8d365a6522 and included in next major release. Partially intersects with #1356.

LuckySpecialist avatar Aug 30 '23 11:08 LuckySpecialist

DesktopEditors v7.5.0 is released so I close this issue. Feel free to comment or reopen it if you got further questions.

Rita-Bubnova avatar Oct 19 '23 11:10 Rita-Bubnova

image Issue is still not fixed :(

image

the4anoni avatar Oct 19 '23 13:10 the4anoni

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.

LuckySpecialist avatar Oct 19 '23 13:10 LuckySpecialist