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 3 days ago. Updated 2 days 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 },

Actions #1

Updated by Marko Lindqvist 2 days ago

Cannot reproduce - works here.

Actions #2

Updated by Dean Brown 2 days ago

Interesting - not the first time encountering a Mac-only bug. I may not be able to figure it out, should get a lower priority.

Actions

Also available in: Atom PDF