Skip to content

Conversation

@RoboErikG
Copy link
Contributor

@RoboErikG RoboErikG commented May 23, 2025

Fixes #434
Fixes #276

#546 is partly fixed by this change but may still need some work for shortcuts other than menu opening.

This fixes the precondition checks for showing the action menu and also enables the action menu to be shown in the flyout so that it's consistent with right click.

@RoboErikG RoboErikG requested a review from a team as a code owner May 23, 2025 22:30
@RoboErikG RoboErikG requested review from rachel-fenichel and removed request for a team May 23, 2025 22:30
@rachel-fenichel rachel-fenichel removed their request for review May 23, 2025 22:47
@rachel-fenichel
Copy link
Collaborator

Assigning @BenHenning to review because I don't understand the workspace state changes.

@rachel-fenichel
Copy link
Collaborator

Also fixes (?) #276

@RoboErikG
Copy link
Contributor Author

It partly fixes 276 by allowing the context menu to open in the flyout, but making copy/paste work correctly requires fixing some things in core or undoing Maribeth's change to depend on the core callbacks.

@RoboErikG
Copy link
Contributor Author

I mixed up bugs, this does fix #276 and partially fixes #546. Updated the description to match.

Copy link
Collaborator

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Thanks @RoboErikG. I think the solution makes sense. Is it possible add tests for these cases?

@RoboErikG RoboErikG requested a review from BenHenning May 28, 2025 00:16
Copy link
Collaborator

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Thanks @RoboErikG! Approving to unblock, but I did have some thoughts on the tests. Feel free to re-add me if you'd like another review pass.

@RoboErikG RoboErikG merged commit 9809ff2 into RaspberryPiFoundation:main May 28, 2025
8 checks passed
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.

Can trigger context menu in keyboard move mode Context menu should work via keyboard in the flyout

3 participants