Bug 155211 - Konqueror shows HTML source instead of rendering the page after download of .ogm
Summary: Konqueror shows HTML source instead of rendering the page after download of .ogm
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 159382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-07 04:09 UTC by Andreas Hermann Braml
Modified: 2008-03-26 12:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hermann Braml 2008-01-07 04:09:55 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

First off: I use the svn755919 snapshot package for Ubuntu Gutsy i386 from ppa.launchpad.net

Now the problem: When I download the .ogm file from http://braml.org/alte_musik.ogm, the next page I open is not rendered, but shown as HTML source. It doesn't matter how I open the page - bookmarks, history, entering the URI in the address bar. When I jump to the welcome screen "Conquer your Desktop!", all is fine, the next page I open after that is rendered, not shown as source.

As the .ogm is displayed as text, my guess is that the server doesn't transmit the correct mime-type for the file. But Konqueror should switch back from text display when opening the next web page though.
Comment 1 Tommi Tervo 2008-03-18 08:08:58 UTC
*** Bug 159382 has been marked as a duplicate of this bug. ***
Comment 2 Tommi Tervo 2008-03-22 08:59:14 UTC
David commit #788539 could fix this bug. (I don't have trunk build so someone else has to confirm && close)
http://lists.kde.org/?l=kde-commits&m=120612990121538&w=2
Comment 3 David Faure 2008-03-26 12:58:55 UTC
SVN commit 790295 by dfaure:

Backport 788539:
The fact that text/html derives from text/plain brought back a bug that I fixed in 2002:
"embed katepart and then type a website URL -> loaded into katepart".
Fixed by changing the logic in changePart().
BUG: 155211


 M  +2 -2      KonqViewAdaptor.cpp  
 M  +2 -2      KonqViewAdaptor.h  
 M  +22 -11    konqmainwindow.cpp  
 M  +35 -28    konqview.cpp  
 M  +20 -12    konqview.h  
 M  +5 -0      tests/CMakeLists.txt  
 M  +0 -2      tests/konqhtmltest.cpp  
 A             tests/konqviewtest.cpp   trunk/KDE/kdebase/apps/konqueror/src/tests/konqviewtest.cpp#788539 [License: GPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=790295