Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow key shortcuts not working on macOS 14.5 #2661

Closed
Scotchester opened this issue Jun 16, 2024 · 1 comment · Fixed by #2664
Closed

Arrow key shortcuts not working on macOS 14.5 #2661

Scotchester opened this issue Jun 16, 2024 · 1 comment · Fixed by #2664
Labels
bug A crash or error in behavior. macOS The issue relates to Apple macOS support.

Comments

@Scotchester
Copy link

Scotchester commented Jun 16, 2024

Describe the bug

I've just set up Podium on a new Mac (M2, macOS Sonoma 14.5), packaging from source on the main branch following the instructions in beeware/podium#60 (comment). Things generally went fine, but the keyboard shortcuts for Next Slide (right arrow) and Previous Slide (left arrow) are not working. The other keyboard shortcuts (play slideshow, reset timer, first slide, last slide) still work fine.

Steps to reproduce

  1. Clone the Podium repo
  2. Add a license.text property to the pyproject.toml to prevent Briefcase from complaining that there isn't one
  3. Either use briefcase package --adhoc to build a binary or briefcase dev to run it in dev mode
  4. Open a Podium slide deck
  5. Bring the slide deck window to the foreground and try to use the right arrow to advance the slides
  6. Use the End key (or Fn+Right) to go to the last slide, then try using the left arrow to go to the previous slide

Expected behavior

The right arrow would go to to the next slide, and the left arrow would go to the previous slide.

Environment

  • Operating System: macOS Sonoma 14.5
  • Python version: 3.12.1
  • Software versions:
    • Briefcase: 0.3.19
    • Toga: 0.4.5

Logs

Running in dev mode, no errors are sent to the console.

I ran with --log and there is no output there, either:

briefcase.2024_06_16-18_06_01.dev.log

Additional context

Changing the shortcut keys in Podium's app.py to basic letters gets the Next Slide and Previous Slide shortcuts working again.

@Scotchester Scotchester added the bug A crash or error in behavior. label Jun 16, 2024
@freakboy3742
Copy link
Member

Thanks for the report. It looks like the key equivalents being used for the arrow keys and home/end/delete are just wrong. I don't know where the old values came from, but they don't appear to bear any resemblance to the required values. I'll submit a PR to correct this shortly.

@freakboy3742 freakboy3742 added the macOS The issue relates to Apple macOS support. label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior. macOS The issue relates to Apple macOS support.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants