Bug 211408 - konqueror view mode is inconsistent
Summary: konqueror view mode is inconsistent
Status: RESOLVED FIXED
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-22 07:53 UTC by Ruchir Brahmbhatt
Modified: 2009-10-23 01:07 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 Ruchir Brahmbhatt 2009-10-22 07:53:39 UTC
Version:           4.3.2 (using KDE 4.3.2)
Installed from:    SuSE RPMs

Konqueror offers khtml and webkit view modes. However the switching is not user friendly and inconsistent. 
1. When we start konqueror, it is not possible to change view mode to webkit without opening any page first. After opening page and switching view mode to webkit, reloads the page in webkit which I think may require downloading page again which is not good.
2. After doing above step, open new tab. This offers changing view mode to webkit prior to opening page. However doing so opens ~/Documents folder which shouldn't happen. It should stay on blank page instead.

Reproducible: Always

Steps to Reproduce:
1. Open konqueror.
2. Open new tab.
3. Click view mode->webkit.

Actual Results:  
~/Documents folder opened. 

Expected Results:  
view mode should be changed to webkit with blank page.
Comment 1 David Faure 2009-10-22 18:34:18 UTC
Replying to the first part:

> 1. When we start konqueror, it is not possible to change view mode to webkit
without opening any page first.

That's because you're only looking at the "on-the-fly" view mode selection.

You can select your preferred browser engine by opening systemsettings, going to File Associations, and typing html. Select the text/html mimetype and in the 2nd tab change the order of the associated components, so that kdewebkit is above khtml.
Comment 2 Dawit Alemayehu 2009-10-22 22:24:43 UTC
On Thursday 22 October 2009 12:34:19 David Faure wrote:
> https://bugs.kde.org/show_bug.cgi?id=211408
> 
> 
> David Faure <faure@kde.org> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |faure@kde.org
> 
> 
> 
> 
> --- Comment #1 from David Faure <faure kde org>  2009-10-22 18:34:18 ---
> 
> Replying to the first part:
> > 1. When we start konqueror, it is not possible to change view mode to
> > webkit
> 
> without opening any page first.
> 
> That's because you're only looking at the "on-the-fly" view mode selection.
> 
> You can select your preferred browser engine by opening systemsettings,
>  going to File Associations, and typing html. Select the text/html mimetype
>  and in the 2nd tab change the order of the associated components, so that
>  kdewebkit is above khtml.

You can also set the start page in Konqueror to "Show Blank Page" or "Show 
Home Page", in order to switch views on the fly from the view menu. It does not 
work if the start up page is set to "Show Introduction Page" because that is a 
special view. Having said that you should do as David suggested above...

As far as the url being reloaded, both khtml and webkitpart use KIO so they 
share the same cache and hence the page would likely be retreived from there 
instead of being downloaded again. However, changing views (actually parts) is 
essentially no different than starting a new application with a url...

Changing view to webkitpart when viewing blank pages should work correctly in 
more recent versions of the KDE webkit part.
Comment 3 Dawit Alemayehu 2009-10-23 01:07:01 UTC
The only thing applicable to webkitpart is item #2 and it has already been fixed in the current version. Thanks for the report.