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

            Bug ID: 362274
           Summary: Local files treated as URLs when more than one is
                    placed on command line
           Product: gwenview
           Version: unspecified
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: bren...@quantumfurball.net
                CC: myr...@kde.org

If more than one local image filename is given on the command line when
starting Gwenview, Gwenview generates a .desktop file for each of them in a
folder in /tmp attempting to link to the files' names but with "http://";
prepended. It seem to be attempting to interpret the filenames as http URLs.
Gwenview opens in browse mode inside the tmp folder, but fails to display any
images.

This bug is closely related to bug #340418 (I was tempted to leave a comment
there, but given that bug's age and the fact that it does mention only loading
one local file, I decided to file a new bug). That bug was fixed, but if you
look at the diff and the surrounding code, you quickly see that the case where
multiple files are given on the command line is a separate code path that
nevertheless has the same issue, unpatched, and ought to receive a similar fix.

Reproducible: Always

Steps to Reproduce:
1. In a terminal, run gwenview with more than one local file given in the
arguments.
2. Observe gwenview start but not load any images. Take a look in gwenview's
folder under /tmp to see the .desktop files it created.

Actual Results:  
Gwenview starts but not load any images. gwenview's folder under /tmp has a
bunch of .desktop files  referring to http://[a filename here].

Expected Results:  
Gwenview shows images because the /tmp folder contains symlinks to the local
files.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to