Summary: | Cannot configure file associations | ||
---|---|---|---|
Product: | kde-windows | Reporter: | Spinus <spinus1> |
Component: | general | Assignee: | KDE-Windows <kde-windows> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | aqeel, chosunsk, seajey.serg, sl...as...h.a.3+kdebugs, tmm |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: |
Description
Spinus
2009-02-04 11:37:14 UTC
I'm having similar problems. I'm also using KDE v4.2, and I'm on Windows Vista SP1. Here are some details on the problems I encountered: When I try to load a text file into Kate from within the KDE environment (I used Dolphin): "Error launching C:/Program Files/KDE/share/applications/kde4/kate.desktop. Either KLauncher is not running anymore, or it failed to start the application." So I tried to create an association in Windows. My first problem was that Windows doesn't know of the Kate application. I think that the KDE apps should be registered with Windows. Now I've created an association between text file (*.txt) and Kate in Windows. However, when I open a text file from the Windows shell it creates a completely new session of Kate ('new' in that this new session doesn't even know of my settings). I can't debug this, it works on linux. All I can say to the kde-windows developers is: look for the KStandardDirs::findExe() call in kopenwithdialog.cpp. If it fails on a valid path, I recommend starting by adding some unit tests in kdecore/tests/kstandarddirstest.cpp (there's a testFindExe already). I can confirm this as well with kde-windows 4.3.4. However, it seems that some things have been improved. The associated program opens fine, but the filepath given to it from dolphin is screwed up. For instance, associating a spreadsheet (i.e. D:\spreadsheet.xls) for excel starts up excel, but it provides this following message: '\D:\spreadsheet.xls' could not be found. I think if the path was missing the first "\", then excel might have worked. *** Bug 279497 has been marked as a duplicate of this bug. *** Git commit f7afd61f07a26085f4683977009840291ddf336e by Patrick Spendrin. Committed on 01/03/2012 at 01:59. Pushed by sengels into branch 'KDE/4.8'. fix configuration of file associations using full paths this doesn't fix yet that spaces should be handled correctly. M +4 -0 kio/kfile/kopenwithdialog.cpp http://commits.kde.org/kdelibs/f7afd61f07a26085f4683977009840291ddf336e Since KDE 4.8.1 is tagged today, I still need to see if I want to backport that fix to 4.8.0 or if I will simply wait for our 4.8.1 binaries. *** Bug 245358 has been marked as a duplicate of this bug. *** |