Bug 305339 - Middle click doesn't open link in new tab, for some links
Summary: Middle click doesn't open link in new tab, for some links
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 16:33 UTC by Graeme Hewson
Modified: 2024-05-06 18:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Hewson 2012-08-17 16:33:06 UTC
On some links, middle clicking opens the link in the current tab instead of a new tab. This occurs only with KHTML, not WebKit.

For instance, the three links under "On blogs", under "Buzz about this programme" at http://www.bbc.co.uk/programmes/b01lxyzc
Comment 1 Graeme Hewson 2012-08-21 16:15:46 UTC
Another example is the calendar links at 
http://www.wellcomecollection.org/whats-on/calendar.aspx
Comment 2 Graeme Hewson 2012-09-14 09:41:28 UTC
The problem goes away if Javascript is disabled through Tools / HTML Settings. However, if Javascript is re-enabled, the problem does not reoccur.

It seems to be a related problem that clicking with the Primary mouse button on links found through https://duckduckgo.com/ doesn't cause the link to be displayed. Clicking with the middle button *does* cause the link to be displayed in a new tab. Again, disabling Javascript causes the problem to disappear.
Comment 3 Raúl 2012-09-21 20:45:59 UTC
I can reproduce and I am also concerned about the primary mouse clicks on duckduckgo. I'm on 4.8.4.
If middle click and primary click are revealed to be the cause of the same bug I think this one should be retitled to "<anything related to javascript>".
Otherwise this bug report should be split into two.
Regards,
Comment 4 Myriam Schweingruber 2012-09-24 09:17:48 UTC
Setting status to confirmed.
Comment 5 Graeme Hewson 2012-09-26 07:06:19 UTC
In 4.9.1, Primary click on link in duckduckgo.com doesn't open link at all. There are one or two other similar bugs resolved in 4.9.2, so I'll check when it's released and open a new bug then if the problem isn't resolved. I confirm the links in the Description and Comment 1 still fail in 4.9.1.
Comment 6 Graeme Hewson 2012-10-04 15:44:04 UTC
OK, I've submitted bug 307851 for the DuckDuckGo problem.
Comment 7 Graeme Hewson 2014-04-21 10:14:09 UTC
Still happening in 4.13.0.

To reproduce: go to http://www.wellcomecollection.org/whats-on/calendar.aspx and middle click on an item.
Comment 8 Dimitrios Glentadakis 2014-04-21 12:21:02 UTC
(In reply to comment #7)
> Still happening in 4.13.0.
> 
> To reproduce: go to http://www.wellcomecollection.org/whats-on/calendar.aspx
> and middle click on an item.

Confirmed in KDE 4.13.0 too
Comment 9 Christoph Cullmann 2024-05-06 18:39:22 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann