Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 291483

Summary: [Browser] Cannot block default key handling of IE accelerators
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Grant Gayed <grant_gayed>
Severity: normal    
Priority: P3 CC: chrriis, daniel_megert
Version: 3.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Markus Keller CLA 2009-10-06 10:09:18 EDT
3.5 and I20090929-0800

The Browser widget does not respect keyDown blockings from display filters or key listeners. E.g. when I bind 'Toggle Link with Editor' to Ctrl+L in Eclipse and then try it in the Javadoc view, my command gets executed, but the browser also shows an "Open" dialog where I could enter a new location.

Same problem with Ctrl+A (selects all text although I reassigned the key binding). Can also be seen in the ControlExample when you set the doit field for KeyDown to false.
Comment 1 Markus Keller CLA 2009-10-06 12:16:23 EDT
That's probably a problem in IE 8.

I'm pretty sure the fix for bug 222024 used to work at some time but now I get that location dialog also in 3.4.2.
Comment 2 Grant Gayed CLA 2009-10-14 13:40:54 EDT
It looks like the specific failure case is blocking of KeyDowns that correspond to IE accelerators, so changing report title accordingly.  Showing the Open Location dialog when Ctrl+L is pressed is a new one for IE8, but others like Ctrl+A and Ctrl+P fail as far back as IE6.  Blocking of other keys seems fine in IE8.
Comment 3 Christopher Deckers CLA 2010-12-14 16:51:30 EST
Some users have an issue with default IE accelerators. There does not seem any way to block accelerators and this causes problems: they control the content but certain accelerators cause errors at their PHP end.

For example:
F5 refreshes the current page which has nasty effects.
Backspace is legal when in a text field but has a nasty effect (back navigation) when no text field has the focus.

Is there a way to shortcut all default IE accelerators?
Comment 4 Leo Ufimtsev CLA 2017-08-03 12:28:50 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 5 Eclipse Genie CLA 2020-02-29 07:11:27 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.