Bug 72230 - RMB "Open in new window" on a HTML link to an image makes konqueror output the image as text instead of as a image
Summary: RMB "Open in new window" on a HTML link to an image makes konqueror output th...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 11:33 UTC by Bip Thelin
Modified: 2004-01-11 23:29 UTC (History)
0 users

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 Bip Thelin 2004-01-09 11:33:08 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    Gentoo Packages

This is seems to be the exact problem as bug #43329 but it happens
when I choose "Open in new window". I tried "Open in new tab" and
that works.

The problem:
Is I'm on a page and want to view an image(href link) in a new window
all I get in this new window is garbled text, the binary data for the image.

For instance, go to: http://kde.openoffice.org/nwf/index.html and RMB click
then choose "Open in new window" on the screenshots.
Comment 1 David Faure 2004-01-11 23:29:32 UTC
Subject: kdebase/konqueror

CVS commit by faure: 

Applying patch from Waldo to fix Bug 72230: RMB "Open in new window" on a HTML link to an image makes..
CCMAIL: 72230-done@bugs.kde.org


  M +1 -0      konq_mainwindow.cc   1.1274


--- kdebase/konqueror/konq_mainwindow.cc  #1.1273:1.1274
@@ -4024,4 +4024,5 @@ void KonqMainWindow::slotPopupMenu( KXML
   popupItems = _items;
   popupUrlArgs = _args;
+  popupUrlArgs.serviceType = QString::null; // Reset so that Open in New Window/Tab does mimetype detection
 
   connectActionCollection( pPopupMenu->actionCollection() );