Bug 257841

Summary: Escape in location combo box should restore current view's URL
Product: [Applications] konqueror Reporter: Marcel Partap <mpartap>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: opensource
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attempt at resetting location bar on escape press

Description Marcel Partap 2010-11-25 04:51:40 UTC
Created attachment 53714 [details]
attempt at resetting location bar on escape press

Version:           SVN (using Devel) 
OS:                Linux

With recent changes to protect user given input, it has become hard-impossible to restore the view's original URL. Usually (i.e. f.e. IE, since a decade or more) pressing ESCape does that. I've tried to implement this but patch fell short from working. Somehow doesn't work with kparts and switching to other tabs between typing and pressing escape shows unwanted side effects.

Reproducible: Always




OS: Linux (x86_64) release 2.6.37-rc2-git2
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Marcel Partap 2011-07-19 17:20:01 UTC
Git commit 7c1e03ae16570f417db70e0b83c0b2a54b5ca7bd by Marcel Partap.
Committed on 19/07/2011 at 19:02.
Pushed by mpartap into branch 'master'.

Konqueror location bar: reset url to current view's actual url on ESC

Simplest possible approach: put current view's url in address bar
 - even for corner cases like about:konqueror or about:blank
 (discussed @ https://svn.reviewboard.kde.org/r/6681 )

BUG: 257841

M  +5    -0    konqueror/src/konqmainwindow.cpp

http://commits.kde.org/kde-baseapps/7c1e03ae16570f417db70e0b83c0b2a54b5ca7bd
Comment 2 Dawit Alemayehu 2011-12-19 01:38:03 UTC
*** Bug 226736 has been marked as a duplicate of this bug. ***