Bug 264562

Summary: Image URLs opened from external applications are loaded as text
Product: [Applications] konqueror Reporter: Christoph Feck <cfeck>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: adawit, m.wege
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0

Description Christoph Feck 2011-01-28 02:35:54 UTC
Version:           SVN (using Devel) 
OS:                Linux

Clicking on a .png link written in Konversation, Konqueror opens and loads the remote image file. It is, however, displayed as text. When then clicking on either the "Reload" or the  "Go" button, it correctly shows the image.

Reproducible: Didn't try




OS: Linux (i686) release 2.6.34.7-0.7-desktop
Compiler: gcc
Comment 1 Maksim Orlovich 2011-01-28 06:01:49 UTC
I think there was a thread on kfm-devel about this very recently. Not sure of the conclusion, though.
Comment 2 m.wege 2011-02-05 07:38:54 UTC
*** Bug 265474 has been marked as a duplicate of this bug. ***
Comment 3 Dawit Alemayehu 2011-06-26 20:04:43 UTC
(In reply to comment #1)
> I think there was a thread on kfm-devel about this very recently. Not sure of
> the conclusion, though.

The kfm-devel thread you are looking for is
http://lists.kde.org/?t=129554862900002&r=1&w=2

It is a bug exposed as a result of two bug fixes that occurred about the same time. One was by myself and the other one was by David. Anyhow, I guess I can try to come up with a fix for this based on one of the fixes David suggested.
Comment 4 Dawit Alemayehu 2011-06-30 19:35:41 UTC
Git commit 7004ce8496b5c85bac644ef3951a3da8c50be8e1 by Dawit Alemayehu.
Committed on 27/06/2011 at 19:09.
Pushed by adawit into branch 'KDE/4.7'.

Fixed non-web page urls, e.g. images, being opened as html pages when loaded
from external applications.

BUG: 264562
FIXED-IN: 4.7.0
REVIEW: 101778

M  +11   -1    kdecore/kernel/ktoolinvocation_x11.cpp     

http://commits.kde.org/kdelibs/7004ce8496b5c85bac644ef3951a3da8c50be8e1
Comment 5 Dawit Alemayehu 2011-06-30 19:39:25 UTC
Git commit 13831dddfc1d49aa6f6b95468262b220da784c9c by Dawit Alemayehu.
Committed on 27/06/2011 at 19:09.
Pushed by adawit into branch 'master'.

Fixed non-web page urls, e.g. images, being opened as html pages when loaded
from external applications.

BUG: 264562
FIXED-IN: 4.7.0
REVIEW: 101778

(cherry picked from commit 7004ce8496b5c85bac644ef3951a3da8c50be8e1)

M  +11   -1    kdecore/kernel/ktoolinvocation_x11.cpp     

http://commits.kde.org/kdelibs/13831dddfc1d49aa6f6b95468262b220da784c9c