Skip to content

Conversation

@jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jan 6, 2025

Arising from #655

In some locales changing the tabs using Alt + number does not work using the keyboard numerals. This PR enables the keypad numerals to be used instead.

@jeremypw jeremypw added the i18n label Jul 14, 2025
@jeremypw jeremypw marked this pull request as ready for review July 14, 2025 17:46
@jeremypw jeremypw requested a review from a team July 14, 2025 17:46
@jeremypw jeremypw marked this pull request as draft July 31, 2025 12:14
Comment on lines +480 to +482
if (keyval > 48 + 8) {
keyval -= (Gdk.Key.KP_1 - Gdk.Key.@1);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is hacky (honestly we should create a new method here) but that's out of scope of this PR.

Copy link
Member

@ryonakano ryonakano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremypw Is there any reason this is draft?

For me it works as expected.

@jeremypw
Copy link
Collaborator Author

jeremypw commented Sep 1, 2025

@ryanoko I am concentrating on the Gtk4 port at the moment as it is fairly near completion. So I am reluctant to add new features if they can wait. There is also the unresolved issue of how to expose the tab numbers. The current solution(#849) is rather crude.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants