I would like to be able to set LibreOffice programs as the default for various file types (Calc for csv and xls, Writer for rtf and doc, etc.), but there does not seem to be a way to do this in Windows Vista. The normal means for setting default applications in Vista does not show LibreOffice programs among the options and will not let me pick them through the "Browse..." button. I do not remember this posing a problem with OpenOffice, so I assume this is a bug with LibreOffice rather than with Windows Vista.
Indeed, with Windows this problem exist. On Windows XP I can not set LibreOffice to open pptx files. And on Windows 7 can not even set PowerPoint 2003 to open ppt files.
This sounds like the issue I ran into today, replacing OpenOffice.org (3.3, from go-oo, as I recall) with LibreOffice 3.5. I installed the latter before uninstalling the former (which may have been a mistake). Now, LibreOffice is not associated with .odt, .ods, etc.—and it is not even presented as an option in the Open With… dialog.
http://user.services.openoffice.org/en/forum/viewtopic.php?f=15&t=42104 suggests that this may be to do with stale “soffice.exe” etc. entries in the registry. As someone not exactly au fait with Windows, I'm not sure what extra information would be most helpful.
We are working hard to try to get file associations (a whole list of problems) solved. I am going to CC the appropriate developer and see if he has any feedback on this one.
@Andras: any input on this one?
I have Windows XP and Windows 7. I don't work with Vista. Please let me know, how I can reproduce the bug. Step by step. You know, I'm old and I socialized on UNIX workstations. :)
@empidonax: if you could just provide Andras with how you normally set file association in Vista (ie. where you're not seeing LibreOffice listed) that would be helpful.
@Andras: Ultimately I think that this goes back to our previous discussion of needing some method from within LibO to associate different file types easily regardless of Operating System. I know you were going to talk to the UX team about this
There are few methods to provide a proper file associations for the Windows version of Libreoffice.
1. During the command-line installation, which is convenient for mass-scale deployment
2. During the GUI installation, selecting file associations works for LibreOffice, but doesn't work for LOdev - should a new bug be filed or this can be handled in the existing bugs, such as Bug 60714?
3. Modifying the GUI installation, selecting file associations works for LibreOffice 22.214.171.124 and 126.96.36.199, but doesn't work for LOdev - related to Bug 60714 - changing file associations from the change option of add/remove programs doesn't work - so this bug should relate to LOdev only
4. Using Windows 7 Default Programs option in Control Panel is possible for LibreOffice 188.8.131.52 and 184.108.40.206 because they are registered, but it's not possible for LOdev because it's not. - related to Bug 43519 - Cannot set default file associations - I don't have Vista, but it should be same as 7. I think this bug should relate to LOdev only.
5. From within LibreOffice - not possible, and requested in Bug 44462 - Provide a proper 'File Association Manager' for the windows version of Libreoffice
LibreOffice is found in HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RegisteredApplications while LOdev is not.
> 4. Using Windows 7 Default Programs option in Control Panel is possible for
> LibreOffice 220.127.116.11 and 18.104.22.168 because they are registered, but it's not
> possible for LOdev because it's not. - related to Bug 43519 - Cannot set
> default file associations - I don't have Vista, but it should be same as 7.
This was reported for 3.4 and doesn't seem relevant now. Upon my testing with 3.6 and 4.0, I recommend this bug be closed as INVALID or something.
I'll install a Vista box today and test against it. If a current build 4.0.1 or LOdev handles file associations correctly will go ahead and close -- Resolved Fixed. Otherwise will close it resolved against bug 44462 enhancement, and add a note there to ensure testing against Vista.
Set up a test box for
Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz
Vista sp2 32-bit
Java JRE 1.6u43
LibreOffice 3.6.5 installed without issue. LibreOffice programs were available if set from the Install Wizard panel. Also when set from the Control Pannel -> Default programs panel. And also from the Open With dialog in Windows Explorer shell, although if no file association had been made to a file type on first use you had to browse to the program executable when first using that file type.
Assignments made from an Add/Remove program panel (appwiz.cpl) -> Change run as Administrator were made against the HKLM > SOFTWARE > Classes keys. While associations made as user were made against HKCU > SOFTWARE > Classes keys, and overrode the HKLM settings. And when cleared from HKCU, the HKLM associations reasserted.
Finally, for Microsoft Office file associations made with the LibreOffice Install Wizard, they could be cleared with a Add/Remove programs (appwiz.cpl) LibreOffice > Change session. Limited to those that had been set with the wizard. Associations made from Windows Explorer > Open with, or the Control Panel > Default programs could not be adjusted with the Install Wizard.
Then removed 22.214.171.124, cleaned registry and installed 126.96.36.199
With 188.8.131.52 build on a Vista system, the MS Office file types default associations remain functional although the Add/Remove -> Change file associations now change associations but also makes the selected LibreOffice programs available in the Open with dialogs for this build. And it seems the Open with availability can not otherwise be set. Behavior as reported for Windows XP in bug 60714, but the otherwise functional.
Marking as resolved fixed for Windows Vista, with a note to test with Vista if enhancement of bug 44462 proceeds.