Bug 120458 - Submit-Button wrongly activated when typing in URL
Summary: Submit-Button wrongly activated when typing in URL
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml event (show other bugs)
Version: 3.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 15:01 UTC by Tobias Hoessl
Modified: 2012-06-18 14:03 UTC (History)
1 user (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 Tobias Hoessl 2006-01-19 15:01:28 UTC
Version:           3.5 (using KDE 3.5.0, Gentoo)
Compiler:          gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (i686) release 2.6.15-mm2

The error occurs when you have the focus on a HTML (Submit-)Button. When you use the keyboard-shortcut (ALT-r in german, ALT-o in english as far as I remember) to get to the Location bar, type in a URL and press ENTER, then you will not get to the desired location, but activate the Button instead. This does not happen if you click at the "Go To"-Button to the right of the Location-Bar, however then you have to use the mouse...
Sometimes it also happens if I use the mouse to go to the Location-Bar, and sometimes it does not happen even if I do it like described above, but in general it seems to be reproducable. (like: going to http://dict.leo.org, clicking TAB to get the focus on the "Suchen"/"Search" button, ALT-r/o for the Location bar, entering www.kde.org, ENTER -> another page on dict.leo.org is called).
Comment 1 Tommi Tervo 2006-01-19 15:17:32 UTC
Confirmed 3.5 r499k
Comment 2 Maksim Orlovich 2006-01-22 00:24:21 UTC
if this submits, I can confirm the bug too
Comment 3 Christophe Marin 2008-04-06 13:31:09 UTC
Confirmed in trunk (kdelibs rev. 793966) :

1 - Go to http://dict.leo.org
2 - type anything in the search box then tab. The focus is now on the submit button
3 - Press ALT + O
4 - enter an URL & press enter
5 - The form is submitted instead of loading the URL you typed.

Console output for steps 2 3 4 :

konqueror(17106) KHTMLView::focusNextPrevChild: focusNode.name:  "INPUT"
konqueror(17106) LocalDomainUriFilter::filterUri: KUrl("http://www.kde.org")
konqueror(17106) FixHostUriFilter::filterUri: FixHostUriFilter::filterUri:  KUrl("http://www.kde.org")
konqueror(17106) KonqMainWindow::openFilteredUrl: url  "www.kde.org"  filtered into  KUrl("http://www.kde.org")
konqueror(17106) KonqMainWindow::openUrl: KonqMainWindow::openUrl : url = ' KUrl("http://www.kde.org") '   mimeType=' ""  req= "[typedUrl=www.kde.org newTabInFront]" ' view= QObject(0x0)
konqueror(17106)/khtml (part) KHTMLPart::saveState: "" saveState this= KHTMLPart(0x86eb688)  ' "" ' saving URL  "http://dict.leo.org/"                                                    
konqueror(17106) KonqMainWindow::openUrl: trying openView for  KUrl("http://www.kde.org")  (mimeType  "" )                                                                                
konqueror(17106) KonqMainWindow::openUrl: Creating new konqrun for  KUrl("http://www.kde.org")  req.typedUrl= "www.kde.org"                                                               
konqueror(17106)/kparts KParts::BrowserRun::scanFile: BrowserRun::scanfile KUrl("http://www.kde.org")                                                                                     
konqueror(17106)/khtml KHTMLPart::submitForm: KHTMLPart(0x86eb688) : KHTMLPart::submitForm target= ""  url= "/ende"                                                                       
konqueror(17106) KonqMainWindow::slotOpenURLRequest: KonqMainWindow::slotOpenURLRequest frameName= ""                                                                                     
konqueror(17106) KonqMainWindow::openUrlRequestHelper: KonqMainWindow::openUrl (from slotOpenURLRequest) url= KUrl("http://dict.leo.org/ende?lp=ende&lang=de&searchLoc=0&cmpType=relaxed&sectHdr=on&spellToler=on&search=test&relink=on")                                                                                                                                               
konqueror(17106) KonqMainWindow::openUrl: KonqMainWindow::openUrl : url = ' KUrl("http://dict.leo.org/ende?lp=ende&lang=de&searchLoc=0&cmpType=relaxed&sectHdr=on&spellToler=on&search=test&relink=on") '   mimeType=' ""  req= "[]" ' view= KonqView(0x83f5060)                                                                                                                        
konqueror(17106) KonqHistoryManager::addToHistory: ## addToHistory:  "http://dict.leo.org/"  Typed URL:  "http://dict.leo.org/" , Title:  ""                                                
konqueror(17106)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: Scheduler: killing slave  17086                                                                                          
konqueror(17106)/kio (Slave) KIO::Slave::kill: killing slave pid= 17086  ( "http" :// "www.kde.org" )                                                                                       
konqueror(17106)/kio (KIOJob) KIO::Job::doKill: this= KIO::TransferJob(0x843f178) KIO::TransferJob                                                                                          
konqueror(17106)/khtml (part) KHTMLPart::saveState: "" saveState this= KHTMLPart(0x86eb688)  ' "" ' saving URL  "http://dict.leo.org/"                                                      
konqueror(17106) KonqMainWindow::openUrl: trying openView for  KUrl("http://dict.leo.org/ende?lp=ende&lang=de&searchLoc=0&cmpType=relaxed&sectHdr=on&spellToler=on&search=test&relink=on")  (mimeType  "" )                                                                                                                                                                             
konqueror(17106) KonqMainWindow::openUrl: Creating new konqrun for  KUrl("http://dict.leo.org/ende?lp=ende&lang=de&searchLoc=0&cmpType=relaxed&sectHdr=on&spellToler=on&search=test&relink=on")  req.typedUrl= ""                                                                               
Comment 4 Myriam Schweingruber 2012-06-18 14:03:30 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.