Bug 151772

Summary: Right-click context menus missing on target=blank & mailto links
Product: [Applications] konqueror Reporter: Olivier Vitrat <ovit.debian>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: frank78ac
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Olivier Vitrat 2007-11-02 19:52:45 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444086
When attempting to raise a (usually) right-click context menu on links
using target="_new" or target="_blank" hrefs (to force opening in a new
tab/window) or mailto links, the right-click context menu is disabled.

Instead, the cursor is modified to a hand + new page mini-icon.

This behavior does not appear to be user-defineable, or based on
javascript.  Following HTML sample reproduces the problem:

   - save to file
   - view file in konqueror
   - right-click the "No Menu" link
   - No context menu appears (preference is that context menu appears).

   - right-click on "Menu" link
   - Context menu appears (this is expected behavior).

   - right-click on "No menu mailto" link
   - No context menu appears (preference is that context menu appears).


I'd appreciate if Konqueror would *NOT* disable right-click context
menus, particularly where web authors explicitly state behavior, as the
*user* should be able to specify preferred methods of managing content,
not arbitrary site authors.


Thanks.

------------------------------------------------------------------------
foo.html
------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org">
<title>Konqueror link context menu test HTML</title>
</head>
<body>

<a target="_blank" href="http://localhost/no-menu">No Menu</a><br>
<a href="http://localhost/menu">Menu</a><br>
<a href="mailto:nobody@example.com">No Menu mailto link</a>

</body>
</html>
------------------------------------------------------------------------
Comment 1 Frank Reininghaus 2008-10-24 21:42:27 UTC
Olivier, do you still have this problem? I get the context menu on right-click for all three links in 3.5.10, 4.1.2 (Kubuntu) and trunk.
Comment 2 Frank Reininghaus 2009-01-29 21:40:04 UTC
I'll close this report because it still works fine for me in Konqueror 4.2.0.