Bug 278850 - disabled previous/next buttons when opening svg image
Summary: disabled previous/next buttons when opening svg image
Status: RESOLVED DUPLICATE of bug 207115
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.8.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-30 11:55 UTC by Moritz Augustin
Modified: 2012-10-19 13:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Augustin 2011-07-30 11:55:46 UTC
Version:           2.7 (using KDE 4.7.0) 
OS:                Linux

I have some folders containing many svg images.
My usual way of opening them was to open the folder with Dolphin and then open the svg file which actually starts gwenview and displays the svg image. So far so good. The new problem is that now the previous and next buttons are greyed out and thus I cannot navigate through the svg files using gwenview (new compared with gwenview included in the archlinux KDE 4.6.5 packages where my work flow was still possible).
If I open the svg file directly from within gwenview (file->open) then previous/next works. But I suggest this should also be possible from within Dolphin as it was in 4.6.5.

Reproducible: Always

Steps to Reproduce:
open svg file from dolphin

Actual Results:  
previous/next buttons are disabled

Expected Results:  
previous/next buttons are enabled

I am using archlinux current stable packages which made KDE 4.7.0 available today.
Comment 1 Ian Stanistreet 2011-07-31 04:59:06 UTC
Gwenview seems not to know the directory the SVG file is in.  When you open an SVG in gwenview, then press ESC to view the directory, nothing is shown and the location bar is empty.

Also, when opening a directory containing an SVG, gwenview fails to display a thumbnail of it.  Then, clicking the icon to view the SVG, it displays it as expected (back/forward buttons work and pressing ESC returns to directory view).

There is also no preview in the preview tab of the properties dialogue in gwenview (but there is a preview if the properties dialogue is opened from Dolphin).

Gwenview 2.7, KDE 4.7, Arch Linux.
Comment 2 Moritz Augustin 2011-08-01 15:19:45 UTC
as a workaround one can reload the svg image in gwenview (e.g. by the key F5) as this surprisingly makes gwenview recognize the image's folder
Comment 3 Ian Stanistreet 2011-11-16 05:34:51 UTC
This now works for me, in Gwenview 2.7.2 / KDE 4.7.3.
Comment 4 Jekyll Wu 2011-12-15 01:10:22 UTC
Works for me when using KDE SC 4.8 beta2. Feel free to reopen if it still happens in recent version .
Comment 5 Ian Stanistreet 2012-03-13 22:17:27 UTC
I noticed today that this bug is back in gwenview 2.8.1 / KDE 4.8.1.  Confirmed on two different computers, both running Arch Linux.
Comment 6 Todd 2012-03-17 19:51:30 UTC

*** This bug has been marked as a duplicate of bug 207115 ***