Version: 4.0 (using KDE 3.1.2) Installed from: SuSE Compiler: gcc version 3.3 20030226 (prerelease) (SuSE Linux) OS: Linux (i686) release 2.4.20-4GB-athlon When I saved my "Web Browsing" profile in konqueror, I unchecked the "Save URLs in profile" checkbox. Now, when I launch konqueror with the command: kfmclient openProfile webbrowsing I am unable to paste a URL into the main window area with the middle mouse button. I can work around this problem by manually visiting about:blank and then checking "Save URLs in profile", but I don't think this should be necessary.
Created attachment 1995 [details] A copy of my $KDEHOME/share/apps/konqueror/profiles/webbrowsing file.
When I use my work-around of manually saving the "about:blank" location with my webbrowsing profile, my $KDEHOME/share/apps/konqueror/profiles/webbrowsing file differs from attachment 1995 [details] as follows: --- webbrowsing 2003-07-13 13:09:25.000000000 +0100 +++ webbrowsing_about_blank 2003-07-13 13:07:54.000000000 +0100 @@ -51,11 +51,13 @@ View1_ServiceName=konq_sidebartng View1_ServiceType=Browser/View View1_ToggleView=true +View1_URL= View2_LinkedView=false View2_LockedLocation=false View2_PassiveMode=false View2_ServiceName=khtml View2_ServiceType=text/html View2_ToggleView=false +View2_URL=about:blank View2_docContainer=true Width=1592
*** Bug 81426 has been marked as a duplicate of this bug. ***
CVS commit by faure: Send mouse release event to KHTMLPart even when no url was opened (e.g. konqueror with intro disabled). This allows to handle MMB-pasting. BUG: 61179 M +24 -22 khtmlview.cpp 1.696 --- kdelibs/khtml/khtmlview.cpp #1.695:1.696 @@ -1212,6 +1212,5 @@ void KHTMLView::viewportMouseMoveEvent( void KHTMLView::viewportMouseReleaseEvent( QMouseEvent * _mouse ) { - if ( !m_part->xmlDocImpl() ) return; - + bool swallowEvent = false; int xm, ym; viewportToContents(_mouse->x(), _mouse->y(), xm, ym); @@ -1216,9 +1215,11 @@ void KHTMLView::viewportMouseReleaseEven int xm, ym; viewportToContents(_mouse->x(), _mouse->y(), xm, ym); - DOM::NodeImpl::MouseEvent mev( _mouse->stateAfter(), DOM::NodeImpl::MouseRelease ); + + if ( m_part->xmlDocImpl() ) + { m_part->xmlDocImpl()->prepareMouseEvent( false, xm, ym, &mev ); - bool swallowEvent = dispatchMouseEvent(EventImpl::MOUSEUP_EVENT,mev.innerNode.handle(),mev.innerNonSharedNode.handle(),true, + swallowEvent = dispatchMouseEvent(EventImpl::MOUSEUP_EVENT,mev.innerNode.handle(),mev.innerNonSharedNode.handle(),true, d->clickCount,_mouse,false,DOM::NodeImpl::MouseRelease); @@ -1241,4 +1242,5 @@ void KHTMLView::viewportMouseReleaseEven if (r && r->isWidget()) _mouse->ignore(); + } if (!swallowEvent) {