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

Bug 511304

Summary: [GTK] Left/right arrows do not change focused button
Product: [Eclipse Project] Platform Reporter: Peter Severin <peter>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ericwill, gautier.desaintmartinlacaze
Version: 4.7Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Peter Severin CLA 2017-01-30 08:26:48 EST
In native GTK applications on Linux it's possible to transfer focus between buttons in a dialog using left and right arrow keys. It looks however that Eclipse and SWT-based applications don't keep this functionality.

This can be easily reproduced using Eclipse. Open the Preferences dialog and transfer the focus to OK/Cancel buttons using tab. Once there use left/right arrows to confirm that they don't do anything.

To see how native applications handle the same situation, launch Gedit and then open the Find/Replace dialog (Ctrl+H), type something in the "Find" field, and then transfer the focus using tab to "Close" button. Observe the behavior of left/right arrows.

Other GTK applications can be used to reproduce this behavior too.

As a note, arrows (both left/right and up/down) also can be used in Windows applications, and Eclipse (and SWT apps) behave as expected there.
Comment 1 Eric Williams CLA 2018-03-28 15:31:28 EDT
I can reproduce this bug: 4.8 M6 with GTK3.22.
Comment 2 Eclipse Genie CLA 2020-03-23 16:54:24 EDT
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.