Skip to content

Port to AdwShortcutsDialog#116

Open
Wartybix wants to merge 2 commits into
Revisto:devfrom
Wartybix:main
Open

Port to AdwShortcutsDialog#116
Wartybix wants to merge 2 commits into
Revisto:devfrom
Wartybix:main

Conversation

@Wartybix

@Wartybix Wartybix commented Feb 1, 2026

Copy link
Copy Markdown

Description

Ports the deprecated GtkShortcutsWindow to the newer AdwShortcutsDialog 😁.

Screenshot of Drum Machine using the new AdwShortcutsDialog widget

Also, I updated the GNOME runtime version to 49 in the Flatpak manifest (and updated numpy dependencies so that Drum Machine compiles with the new runtime), in order to use the libadwaita version that supports this new widget.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

@Wartybix
Wartybix changed the base branch from main to dev February 2, 2026 11:26

@Revisto Revisto left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Hi, thanks for the PR,
now that we are changing this, lets make it a bit cleaner.
we can drop the accelerator: props, the keys are already set on the actions via set_accels_for_action, and Adw.ShortcutsItem pulls them from action-name. keeping both is duplicate.

we can make section titles shorter, for example by dropping “Controls” / “Management” (Playback Controls -> Playback). also we can group related items under one titled section instead of splitting volume/mute/export into tiny untitled ones.
i have something like this in mind:

  • General -> Show Shortcuts, Quit
  • Playback -> Play/Pause, Clear All
  • BPM & Volume -> inc/dec bpm, inc/dec volume, mute
  • Pattern -> load, save, export
  • Navigation -> go to instrument, prev/next page

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants