Kaydet (Commit) ba0a94a9 authored tarafından Naeil ZOUEIDI's avatar Naeil ZOUEIDI Kaydeden (comit) Thorsten Behrens

tdf#63913 fix Win explorer multi-select open unnamed docs bug

Multi-select explorer action on Windows defaults FILEOPEN 2 different
ODF file type documents as template - e.g. opening two different type
of files (ie : ODS & ODF) then doesn't keep the original filenames.

So now changing the open command for the different file extensions to
the same one "soffice.exe -o %1", will keep the names of the _2_ files
as they originally are when they are opened together.

Change-Id: I2cd5fcb046f294742e59f69b7bf2a897a6ce0c29
Reviewed-on: https://gerrit.libreoffice.org/36995Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 9c165fe3
...@@ -352,7 +352,7 @@ RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Open_Command ...@@ -352,7 +352,7 @@ RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Calc_Bin; ModuleID = gid_Module_Prg_Calc_Bin;
Subkey = "soffice.StarCalcDocument.6\shell\open\command"; Subkey = "soffice.StarCalcDocument.6\shell\open\command";
Value = "\"<progpath>\program\scalc.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starcalcdocument_6_Shell_Print_Command
...@@ -431,7 +431,7 @@ RegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_Open_Command ...@@ -431,7 +431,7 @@ RegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "soffice.StarCalcTemplate.6\shell\open\command"; Subkey = "soffice.StarCalcTemplate.6\shell\open\command";
ModuleID = gid_Module_Prg_Calc_Bin; ModuleID = gid_Module_Prg_Calc_Bin;
Value = "\"<progpath>\program\scalc.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starcalctemplate_6_Shell_Print_Command
...@@ -788,7 +788,7 @@ RegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_Open_Command ...@@ -788,7 +788,7 @@ RegistryItem gid_Regitem_Openoffice_Calcdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Calc_Bin; ModuleID = gid_Module_Prg_Calc_Bin;
Subkey = "LibreOffice.CalcDocument.1\shell\open\command"; Subkey = "LibreOffice.CalcDocument.1\shell\open\command";
Value = "\"<progpath>\program\scalc.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
Styles = (); Styles = ();
End End
...@@ -957,7 +957,7 @@ RegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_Open_Command ...@@ -957,7 +957,7 @@ RegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "LibreOffice.CalcTemplate.1\shell\open\command"; Subkey = "LibreOffice.CalcTemplate.1\shell\open\command";
ModuleID = gid_Module_Prg_Calc_Bin; ModuleID = gid_Module_Prg_Calc_Bin;
Value = "\"<progpath>\program\scalc.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_Print_Command RegistryItem gid_Regitem_Openoffice_Calctemplate_1_Shell_Print_Command
......
...@@ -318,7 +318,7 @@ RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Open_Command ...@@ -318,7 +318,7 @@ RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Draw_Bin; ModuleID = gid_Module_Prg_Draw_Bin;
Subkey = "soffice.StarDrawDocument.6\shell\open\command"; Subkey = "soffice.StarDrawDocument.6\shell\open\command";
Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Stardrawdocument_6_Shell_Print_Command
...@@ -431,7 +431,7 @@ RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Open_Command ...@@ -431,7 +431,7 @@ RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "soffice.StarDrawTemplate.6\shell\open\command"; Subkey = "soffice.StarDrawTemplate.6\shell\open\command";
ModuleID = gid_Module_Prg_Draw_Bin; ModuleID = gid_Module_Prg_Draw_Bin;
Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Stardrawtemplate_6_Shell_Print_Command
...@@ -753,7 +753,7 @@ RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Open_Command ...@@ -753,7 +753,7 @@ RegistryItem gid_Regitem_Openoffice_Drawdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Draw_Bin; ModuleID = gid_Module_Prg_Draw_Bin;
Subkey = "LibreOffice.DrawDocument.1\shell\open\command"; Subkey = "LibreOffice.DrawDocument.1\shell\open\command";
Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
Styles = (); Styles = ();
End End
...@@ -956,7 +956,7 @@ RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Open_Command ...@@ -956,7 +956,7 @@ RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "LibreOffice.DrawTemplate.1\shell\open\command"; Subkey = "LibreOffice.DrawTemplate.1\shell\open\command";
ModuleID = gid_Module_Prg_Draw_Bin; ModuleID = gid_Module_Prg_Draw_Bin;
Value = "\"<progpath>\program\sdraw.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Print_Command RegistryItem gid_Regitem_Openoffice_Drawtemplate_1_Shell_Print_Command
......
...@@ -352,7 +352,7 @@ RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_Shell_Open_Command ...@@ -352,7 +352,7 @@ RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Impress_Bin; ModuleID = gid_Module_Prg_Impress_Bin;
Subkey = "soffice.StarImpressDocument.6\shell\open\command"; Subkey = "soffice.StarImpressDocument.6\shell\open\command";
Value = "\"<progpath>\program\simpress.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starimpressdocument_6_Shell_Print_Command
...@@ -445,7 +445,7 @@ RegistryItem gid_Regitem_Soffice_Starimpresstemplate_6_Shell_Open_Command ...@@ -445,7 +445,7 @@ RegistryItem gid_Regitem_Soffice_Starimpresstemplate_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "soffice.StarImpressTemplate.6\shell\open\command"; Subkey = "soffice.StarImpressTemplate.6\shell\open\command";
ModuleID = gid_Module_Prg_Impress_Bin; ModuleID = gid_Module_Prg_Impress_Bin;
Value = "\"<progpath>\program\simpress.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starimpresstemplate_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starimpresstemplate_6_Shell_Print_Command
...@@ -802,7 +802,7 @@ RegistryItem gid_Regitem_Openoffice_Impressdocument_1_Shell_Open_Command ...@@ -802,7 +802,7 @@ RegistryItem gid_Regitem_Openoffice_Impressdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Impress_Bin; ModuleID = gid_Module_Prg_Impress_Bin;
Subkey = "LibreOffice.ImpressDocument.1\shell\open\command"; Subkey = "LibreOffice.ImpressDocument.1\shell\open\command";
Value = "\"<progpath>\program\simpress.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
Styles = (); Styles = ();
End End
...@@ -985,7 +985,7 @@ RegistryItem gid_Regitem_Openoffice_Impresstemplate_1_Shell_Open_Command ...@@ -985,7 +985,7 @@ RegistryItem gid_Regitem_Openoffice_Impresstemplate_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "LibreOffice.ImpressTemplate.1\shell\open\command"; Subkey = "LibreOffice.ImpressTemplate.1\shell\open\command";
ModuleID = gid_Module_Prg_Impress_Bin; ModuleID = gid_Module_Prg_Impress_Bin;
Value = "\"<progpath>\program\simpress.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_Impresstemplate_1_Shell_Print_Command RegistryItem gid_Regitem_Openoffice_Impresstemplate_1_Shell_Print_Command
......
...@@ -351,7 +351,7 @@ RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Open_Command ...@@ -351,7 +351,7 @@ RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "soffice.StarMathDocument.6\shell\open\command"; Subkey = "soffice.StarMathDocument.6\shell\open\command";
Value = "\"<progpath>\program\smath.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starmathdocument_6_Shell_Print_Command
...@@ -645,7 +645,7 @@ RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Open_Command ...@@ -645,7 +645,7 @@ RegistryItem gid_Regitem_Openoffice_Mathdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Math_Bin; ModuleID = gid_Module_Prg_Math_Bin;
Subkey = "LibreOffice.MathDocument.1\shell\open\command"; Subkey = "LibreOffice.MathDocument.1\shell\open\command";
Value = "\"<progpath>\program\smath.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
Styles = (); Styles = ();
End End
......
...@@ -352,7 +352,7 @@ RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Open_Command ...@@ -352,7 +352,7 @@ RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Subkey = "soffice.StarWriterDocument.6\shell\open\command"; Subkey = "soffice.StarWriterDocument.6\shell\open\command";
Value = "\"<progpath>\program\swriter.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starwriterdocument_6_Shell_Print_Command
...@@ -438,7 +438,7 @@ RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Open_Command ...@@ -438,7 +438,7 @@ RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "soffice.StarWriterGlobalDocument.6\shell\open\command"; Subkey = "soffice.StarWriterGlobalDocument.6\shell\open\command";
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Value = "\"<progpath>\program\swriter.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starwriterglobaldocument_6_Shell_Print_Command
...@@ -524,7 +524,7 @@ RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_Open_Command ...@@ -524,7 +524,7 @@ RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "soffice.StarWriterTemplate.6\shell\open\command"; Subkey = "soffice.StarWriterTemplate.6\shell\open\command";
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Value = "\"<progpath>\program\swriter.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_Print_Command RegistryItem gid_Regitem_Soffice_Starwritertemplate_6_Shell_Print_Command
...@@ -935,7 +935,7 @@ RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_Open_Command ...@@ -935,7 +935,7 @@ RegistryItem gid_Regitem_Openoffice_Writerdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Subkey = "LibreOffice.WriterDocument.1\shell\open\command"; Subkey = "LibreOffice.WriterDocument.1\shell\open\command";
Value = "\"<progpath>\program\swriter.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
Styles = (); Styles = ();
End End
...@@ -972,7 +972,7 @@ RegistryItem gid_Regitem_Openoffice_Writerwebdocument_1_Shell_Open_Command ...@@ -972,7 +972,7 @@ RegistryItem gid_Regitem_Openoffice_Writerwebdocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Subkey = "LibreOffice.WriterWebDocument.1\shell\open\command"; Subkey = "LibreOffice.WriterWebDocument.1\shell\open\command";
Value = "\"<progpath>\program\sweb.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
Styles = (); Styles = ();
End End
...@@ -1135,7 +1135,7 @@ RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_Open_Command ...@@ -1135,7 +1135,7 @@ RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "LibreOffice.WriterTemplate.1\shell\open\command"; Subkey = "LibreOffice.WriterTemplate.1\shell\open\command";
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Value = "\"<progpath>\program\swriter.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_Print_Command RegistryItem gid_Regitem_Openoffice_Writertemplate_1_Shell_Print_Command
...@@ -1285,7 +1285,7 @@ RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Open_Command ...@@ -1285,7 +1285,7 @@ RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "LibreOffice.WriterGlobalDocument.1\shell\open\command"; Subkey = "LibreOffice.WriterGlobalDocument.1\shell\open\command";
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Value = "\"<progpath>\program\swriter.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Print_Command RegistryItem gid_Regitem_Openoffice_Writerglobaldocument_1_Shell_Print_Command
...@@ -1417,7 +1417,7 @@ RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_Open_Command ...@@ -1417,7 +1417,7 @@ RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_Open_Command
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
Subkey = "LibreOffice.WriterWebTemplate.1\shell\open\command"; Subkey = "LibreOffice.WriterWebTemplate.1\shell\open\command";
ModuleID = gid_Module_Prg_Wrt_Bin; ModuleID = gid_Module_Prg_Wrt_Bin;
Value = "\"<progpath>\program\swriter.exe\" -o \"%1\""; Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
End End
RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_Print_Command RegistryItem gid_Regitem_Openoffice_WriterWebTemplate_1_Shell_Print_Command
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment