Bug 49140 - [Qt] The browser ask to save page instead of showing it on some sites
Summary: [Qt] The browser ask to save page instead of showing it on some sites
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-11-07 06:14 PST by Florent Lévigne
Modified: 2011-06-22 12:45 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent Lévigne 2010-11-07 06:14:53 PST
-- Overview:

Tested on Rekonq and Konqueror (two browsers which use qtwebkit) :
When I go on www.tcl.fr :
The browser ask me to save the page, and does not show it.

rekonq(7501)/kdecore (trader) mimeTypeSycocaOffers: KMimeTypeTrader: mimeType
"text/HTML" not found 
rekonq(7501)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing 
"/usr/share/mime/magic"
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.1) (ArchLinux-6.b20_1.9.1-1-i686)
OpenJDK Server VM (build 17.0-b16, mixed mode)
rekonq(7501)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing 
"/home/florent/.local/share/mime/magic"

This site does not need Java for "normal" utilisation.
I have tested with Java desactivated and activated, and no change appear.

-- Steps to Reproduce:

go on www.tcl.fr

-- Actual Results:

The browser ask to save the page.

-- Expected Results:

The browser should show the page.

-- Build Date & Platform:

Qt 4.7.0 (QtWebKit 2.0), Linux (Arch Linux and Fedora)

-- Additional Information:

Bug reported on the kde bugzilla, this bug seems to be fixed on QtWebKit 2.1 (I have not tried), but someone told me to report it here.
https://bugs.kde.org/show_bug.cgi?id=255197
Comment 1 Benjamin Poulain 2011-01-30 05:21:22 PST
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bugs here (missing Qt keyword).

Both Rekonq and Konqueror uses KIO as the network access manager. I have no problem seeing www.tcl.fr with WebKit trunk I guess KIO is the problem here.

Can you reproduce the problem on Arora or webkit trunk?
Comment 2 Florent Lévigne 2011-01-30 10:17:34 PST
Sorry for the wrong location.

I Just tested on Arora 0.11.0, with Qt 4.7.1 (on Arch Linux and Fedora), and I have the same problem.
Comment 3 Benjamin Poulain 2011-01-30 10:37:48 PST
(In reply to comment #2)
> I Just tested on Arora 0.11.0, with Qt 4.7.1 (on Arch Linux and Fedora), and I have the same problem.

Reopening then.
Comment 4 Robert Hogan 2011-06-20 12:31:09 PDT
This WORKSFORME on the QtTestBrowser in trunk.

It might have been fixed by https://bugs.webkit.org/show_bug.cgi?id=46968

Florent, can you confirm please?
Comment 5 Florent Lévigne 2011-06-21 11:29:28 PDT
(In reply to comment #4)
> This WORKSFORME on the QtTestBrowser in trunk.
> 
> It might have been fixed by https://bugs.webkit.org/show_bug.cgi?id=46968
> 
> Florent, can you confirm please?

No, I still have this probleme with Qt 4.7.3.
Comment 6 Robert Hogan 2011-06-21 11:40:31 PDT
(In reply to comment #5)
> (In reply to comment #4)
> > This WORKSFORME on the QtTestBrowser in trunk.
> > 
> > It might have been fixed by https://bugs.webkit.org/show_bug.cgi?id=46968
> > 
> > Florent, can you confirm please?
> 
> No, I still have this probleme with Qt 4.7.3.

Using QtTestBrowser? Weird.
Comment 7 Florent Lévigne 2011-06-21 12:27:36 PDT
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > This WORKSFORME on the QtTestBrowser in trunk.
> > > 
> > > It might have been fixed by https://bugs.webkit.org/show_bug.cgi?id=46968
> > > 
> > > Florent, can you confirm please?
> > 
> > No, I still have this probleme with Qt 4.7.3.
> 
> Using QtTestBrowser? Weird.

Oh no sorry.
I have not find where to take the QtTestVrowser. Can you give a link to download / build it please ?
Comment 8 Robert Hogan 2011-06-21 12:45:29 PDT
(In reply to comment #7)
> 
> Oh no sorry.
> I have not find where to take the QtTestVrowser. Can you give a link to download / build it please ?

Certainly:

cd $HOME
git clone --depth=3 git://git.webkit.org/WebKit.git WebKit
cd WebKit
./Tools/Scripts/build-webkit --qt --makeargs=-j5 --no-video --no-svg

This download a shallow copy of the git repo (takes less time to download) and build it.

You should also look at the prerequisites for building at:

http://trac.webkit.org/wiki/BuildingQtOnLinux

On a Kubuntu setup:

sudo apt-get install bison flex libqt4-dev libqt4-opengl-dev libphonon-dev libicu-dev libsqlite3-dev libxext-dev libxrender-dev gperf libfontconfig1-dev libphonon-dev g++

will do it
Comment 9 Florent Lévigne 2011-06-22 11:30:50 PDT
Thanks,
It works with the QtTestBrowser. :)
Comment 10 Robert Hogan 2011-06-22 12:45:26 PDT
Great. Thanks.