Tk Source Code

View Ticket
Login
Ticket UUID: b3a1b9852de7859caa41c050c5eb23190bcceb7c
Title: Enter key works differently in Windows and Linux
Type: Bug Version: 8.6
Submitter: anonymous Created on: 2024-06-27 14:17:22
Subsystem: 99. Other Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2024-07-06 12:04:32
Resolution: None Closed By: nobody
    Closed on:
Description:

Enter key (KP_Enter event) on treeview widget:

  1. In Windows - processed as Return key (i.e. selects an item)
  2. In Linux - ignored

In Windows, seemingly, the behavior is better.

User Comments: anonymous added on 2024-07-06 12:01:30:

The same problem with other choosing widgets, e.g. with buttons.

I.e. it's a problem of all Linux Tk widgets that don't handle KP_Enter as Return key, while Windows version and other Linux GUI libraries do handle it in the same manner as Return key.


jan.nijtmans added on 2024-06-30 17:58:52:

Does [aa26b81418|this] work better?