TC not passing proper command line to external viewer.

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
avada
Senior Member
Senior Member
Posts: 217
Joined: 2007-10-05, 06:24 UTC

TC not passing proper command line to external viewer.

Post by *avada »

Hello!

I configured external viewers for some filetypes for which I didn't find good plugins.
When I press ctrl+b to show all files from sub-folders too. And if I press f3 on a file that's actually in a subfolder instead of opening the desired file I get one window for every word.
The command line is like this:

Code: Select all

D:\Programok\pdf\SumatraPDF\SumatraPDF.exe -presentation D:\TEST-F~1\subfolder\word1 word2 word3.pdf
Normally the command line looks like this:

Code: Select all

D:\Programok\pdf\SumatraPDF\SumatraPDF.exe -presentation D:\TEST-F~1\SUBFOL~1\WORD1W~1.PDF
(Why on earth does TC use the ancient short-name crap anyway?)


Another problem (not sure if it's a TC or an mplayer issue) with external viewing comes up when I try to open a file through lister with mplayer which has a name that contains an asian or cyrillic character. For the split second the mplayer window appears I see question marks instead of the characters, and of course mplayer doesn't find the file because nothing exists by that filename. ( Curiosly if I set the same filename for SumatraPDF but with pdf extension it opens it)
Last edited by avada on 2013-03-07, 11:35 UTC, edited 1 time in total.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3862
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

How does your definition for your external viewer for F3 look like?
#5767 Personal license
avada
Senior Member
Senior Member
Posts: 217
Joined: 2007-10-05, 06:24 UTC

Post by *avada »

sqa_wizard wrote:How does your definition for your external viewer for F3 look like?
For pdf it was

Code: Select all

D:\Programok\pdf\SumatraPDF\SumatraPDF.exe -presentation
As a workaround I changed it to this:

Code: Select all

"D:\Programok\pdf\SumatraPDF\SumatraPDF.exe" -presentation
So far it seems to succesfully circumwent the ctrl+b bug.[/quote]
Post Reply