Quote:
Originally Posted by dwanthny
Calibre never supported UNC paths, but they worked previously. With the change to 0.7.x many folks have reported that UNC paths have stopped working properly with calibre.
|
I was one of them reporting that and maybe I have found why it stopped working.
Yesterday I did some work on it and it looks like it might be a bug in QT 4.6.2. Atleast I can reproduce it with an example included with the QT I installed to get Sigil to compile. Its the findfiles example. If I let it search for pdf's on a server share and then try to start it it does nothing but if I let it search my local disk for pdf's it will start my pdf viewer just fine. It uses the same syntax to start an external programme as Calibre does

--> bug in QT
Now I'm going to install Calibre-0.6.55 to see which QT version it uses.
one moment please ....
Ah, its using 4.6.0, so that would mean, check the sources of 4.6.0 against 4.6.2 and see what changed in the handling of QDesktopServices.openUrl(QUrl.fromLocalFile(name)) . QUrl.fromLocalFile() is producing the expected output but QDesktopServices.openUrl is the culprit
The latest QT, 4.6.3 might have this fixed but didn't see it in the changelog
PS:
Just saw that the qt dlls from calibre-0.7x and 0.6.55 are the same

myself for not checking that earlier. So what is different then ???
The call to QDesktopServices.openUrl(QUrl.fromLocalFile(name)) is the same in 0.6.55 and 0.76 and as in findfiles but in 0.6.55 it works and in the others it doesn't
Regards,
Joop