[WebKit-devel] [Bug 247541] Konqueror with WebKit breaks scroll on middle-click

Leonardo La Malfa lelamal at alice.it
Thu Aug 12 23:44:42 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=247541





--- Comment #5 from Leonardo La Malfa <lelamal alice it>  2010-08-12 23:44:39 ---
> That cannot be correct. Both kwebkitpart and khtml should behave the so
> long as Konqueror's "Middle click opens url in selection" setting found
> under "Settings->WebBrowsing" is checked.

"Middle click opens URL in selection" was turned off intentionally in order to 
use middle-click to scroll pages vertically. But while this works normally 
with KHTML, it doesn't with kwebkitpart.

> The only difference should occur
> if that option is left off (unchecked) in which case kwebkitpart should
> not respond to middle clicks at all. In other words, the "move mouse
> vertically to scroll on middle click" feature is not yet implemented in
> kwebkitpart.

Now I see. Indeed, middle-click doesn't trigger the expected result (vertical 
scroll). However, although "Middle click opens URL in selection" is unchecked, 
middle-clicking with Webkit triggers a similar response nonetheless - I say 
"similar" because if last entry in the clipboard is a URL, rightclicking will 
open that URL within the tab. But if last entry in the clipboard is a word or 
a sentence:

- with "Middle click opens URL in selection" checked on KHTML, I am asked "Do 
you want to search the Internet for [...]?";
- with the "Middle click opens URL in selection" UNchecked on Webkit, instead, 
middle-clicking will automatically show a page with results from Google.

I believe this is not the intended behavior, since I did not initiate the 
search, but merely wanted to scroll the page vertically. According to your 
explanation, though, this feature is yet to be implemented, so it is my 
understanding that it should only fail to respond to any right-click, at that 
point. Hence, I believe this is not a feature request, but a bug that should 
be fixed.

> However, your description here make it seem that kwebkitpart
> will always navigate to or search for content from the clipboard whenever
> the MMB is clicked. If this is not the case, please elaborate on how to
> duplicate the issue...

Sorry if my explanation sounds convoluted and lacks any technical knowledge, 
but if you feel it still fails to clarify the issue, please don't hesitate to 
let me know, and I will try to add any missing detail.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the WebKit-devel mailing list