[Okular-devel] [Bug 311373] New: can't open paths containing spaces from CLI

Sven Brauch svenbrauch at googlemail.com
Sat Dec 8 21:40:46 UTC 2012


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

            Bug ID: 311373
          Severity: normal
           Version: 0.15.3
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: can't open paths containing spaces from CLI
    Classification: Unclassified
                OS: Linux
          Reporter: svenbrauch at googlemail.com
          Hardware: Other
            Status: NEW
         Component: general
           Product: okular

Okular opens files passed as CLI arguments in the viewer after startup. If you
pass multiple documents, multiple viewer instances open up. However if you pass
a document name containing spaces (even if it's correctly escaped or quoted)
then still n viewers will start, trying to open the document name split at the
spaces. I consider this behaviour a bug.

Reproducible: Always

Steps to Reproduce:
1. rename any pdf file to "a b.pdf" (without the spaces)
2. type okular "a b.pdf" or okular a\ b.pdf
Actual Results:  
two instances of okular with error messages open up, trying to open "a" and
"b.pdf"

Expected Results:  
okular opens "a b.pdf"

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


More information about the Okular-devel mailing list