Project

General

Profile

Actions

Bug #1483

open

gtk3.22 client - shortcut key for View menu item Show Stack Size doesn't work

Added by Dean Brown 5 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
gtk3.22-client
Target version:
-
Start date:
06/04/2025
Due date:
% Done:

0%

Estimated time:

Description

Seen in 3_1 and Main branch, gtk4 works OK. The shortcut key is "Ctrl/Meta +".

Discovered while working on #943, where I found that gtk doesn't like the plus (or minus) key by itself for a menu shortcut key. The code from gtk3.22 menu.c -

  { "SHOW_STACK_SIZE", N_("Unit Stack Size"),
    GDK_KEY_plus, ACCL_MOD_KEY,
    G_CALLBACK(show_stack_size_callback), MGROUP_SAFE },

In the gtk4 menu.c the struct menu_entry_info is different, code looks like this -

  { "SHOW_STACK_SIZE", N_("Unit Stack Size"),
    "show_stack_size", ACCL_MOD_KEY"plus", MGROUP_SAFE,
    show_stack_size_callback, FALSE },


Files

1483.patch (12.3 KB) 1483.patch Dean Brown, 07/28/2025 03:45 AM
Actions

Also available in: Atom PDF