[Okular-devel] [okular] [Bug 334510] Opening a second file from shell with a relative folder name when tabs are used fails

Willem willemsonke at planet.nl
Sun Jun 15 08:06:00 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=334510

Willem <willemsonke at planet.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |willemsonke at planet.nl

--- Comment #1 from Willem <willemsonke at planet.nl> ---
This is also a problem when viewing LaTeX output using Kile, since it uses
relative paths.

I think this goes wrong in root/shell/main.cpp:108:

// Returns false if it can't fit another document
const QDBusReply<bool> reply = bestService->call( "openDocument", arg );

Here the (relative) file name is given as an argument to the running instance
of Okular, that has another working directory. I guess that the file name has
to be made absolute before calling openDocument.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list