Project

General

Profile

Actions

Bug #1483

closed

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

Added by Dean Brown 6 months ago. Updated 4 days ago.

Status:
Closed
Priority:
Normal
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 (1.46 KB) 1483.patch Dean Brown, 11/10/2025 06:36 AM

Related issues 1 (0 open1 closed)

Blocked by Feature #1717: gtk3.22 client: Add menu items to change sound volumeClosedMarko Lindqvist10/27/2025

Actions
Actions

Also available in: Atom PDF