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

Keyboard shortcut typo for "Select Next Layer" and "Select Previous Layer" #3885

Open
MarkOates opened this issue Feb 5, 2024 · 6 comments
Labels
bug Broken behavior. macos macOS specific issue.

Comments

@MarkOates
Copy link

MarkOates commented Feb 5, 2024

The keyboard shortcuts in the Layer menu have "Select Previous Layer" and "Select Next Layer" listed as Command+UP or Command+DOWN. However, the actual working keyboard shortcut is Option+UP and Option+DOWN.

level_1-0x tmj (some_platformer-01) 2024-02-05 17-45-57

Specifications:

  • OS: MacOS Sonoma 14.2.1 (23C71)
  • Tiled Version: 1.10.2
@MarkOates MarkOates added the bug Broken behavior. label Feb 5, 2024
@MarkOates
Copy link
Author

Hmm, now I'm unable to reproduce the error. With the Layers panel selected, UP and DOWN (with no Command or Option) will change layers. However with any pane selected, neither of the keyboard shortcuts will change the layer.

@bjorn
Copy link
Member

bjorn commented Feb 6, 2024

Hmm, these shortcuts are Ctrl + PageUp / Ctrl + PageDown by default, which should translate to Cmd + PageUp / Cmd + PageDown on macOS. Maybe the arrow icons are just a bit confusing? You can see the arrows used for Up / Down in the Raise / Lower Layers actions.

@MarkOates
Copy link
Author

I see! That is it. The PageUp/PageDown icons are what confused me.

I did not know this, but, it looks like Apple does have symbols specifically for PageUp/PageDown, different from the Up/Down arrows: https://support.apple.com/en-ca/guide/mac-help/cpmh0011/mac

What are those symbols shown in menus on Mac? - Apple Support (CA) 2024-02-06 10-59-28

And, the standard arrows are the line symbols, not the triangles. Which is funny, because the symbols on my keyboard are triangles.

keyboard-keys

@bjorn
Copy link
Member

bjorn commented Feb 6, 2024

@MarkOates Right, I have no idea why it uses those other arrows for Up / Down and appears to use the Up / Down arrows for PageUp / PageDown. I wonder if it might be an issue in Qt. On the other hand, this is a native macOS menu, and it does highlight the menu when those keys are pressed, so it might also be an inconsistency in macOS. 🤷‍♂️

@MarkOates
Copy link
Author

OK, I did a quick skim online and across a few different applications on my Mac and I wasn't able to find any active Qt issues or mentions of it, or even another application on my Mac that had the PageUp or PageDown icon to cross-reference.

Enough cost/payoff digging for me! I'm happy to close the issue if you like. Thanks. :)

@bjorn bjorn added the macos macOS specific issue. label Feb 6, 2024
@bjorn
Copy link
Member

bjorn commented Feb 6, 2024

@MarkOates Thanks for doing some digging! I also had a quick look but could not find anything either. It does seem like a valid issue, so I'll keep it open for later.

@bjorn bjorn changed the title Keyboard shortcut typo for "Select Next Layer" and "Select Previous Layer" [MacOS] Keyboard shortcut typo for "Select Next Layer" and "Select Previous Layer" Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior. macos macOS specific issue.
Projects
None yet
Development

No branches or pull requests

2 participants