Skip to content

Keyboard shortcut failure with small window resize - #890

Open
jandersondbt wants to merge 6 commits into
jendrikseipp:masterfrom
jandersondbt:master
Open

Keyboard shortcut failure with small window resize#890
jandersondbt wants to merge 6 commits into
jendrikseipp:masterfrom
jandersondbt:master

Conversation

@jandersondbt

Copy link
Copy Markdown

Problem

When the left sidebar is resized to hide toolbar buttons (Back, Today, Forward),
the keyboard shortcuts (Ctrl+PageUp, Alt+Home, Ctrl+PageDown) no longer work
because GTK doesn't trigger accelerators for hidden widgets.

Solution

Handle navigation and preview shortcuts directly in the key press event handler
instead of relying solely on button accelerators. This ensures they work
regardless of toolbar visibility.

Testing

  • Resize sidebar to hide navigation buttons
  • Verify Ctrl+PageUp/Down navigation shortcuts still work
  • Verify Alt+Home (go to today) still works
  • Verify Ctrl+P (preview toggle) still works
  • Verify Ctrl+F (find) still works

Fixes #887

Add keyboard shortcuts for day navigation and today button globally rather than tying them to visible buttons which can be resized and hidden therefore impeding the user of accessing the shortcuts for day navigation when not visible.
Added global keyboard shortcuts for navigation, preview/edit toggle, and find functionality.
Refactor keyboard shortcut handling and clean up comments.
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.

Keyboard shortcut failure with small sidbar: Go forward one day

1 participant