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

Losing focus when switching the right sidebar panel #1927

Open
ollimeier opened this issue Jan 9, 2025 · 1 comment
Open

Losing focus when switching the right sidebar panel #1927

ollimeier opened this issue Jan 9, 2025 · 1 comment
Assignees
Labels
user experience An issue with the user experience

Comments

@ollimeier
Copy link
Collaborator

From Mark:

On a different note: it seems if I click on the tabs on the right panel, the focus switches to the right panel, which sometimes leads to some confusing interactions.

The situation that I ran into:

  • If I’m already in the Transformation panel, I select a shape in the canvas → click on Flip Horizontally in the Transformation panel → then I can directly use arrow keys to move the shape.
  • However, if I’m not already in the Transformation panel, I select a shape in the canvas → click on the Selection Transformation tab → click on Flip Horizontally in the Transformation panel → then in this case the focus has switched to the right panel, and I’m not able to use arrow keys to move the shape anymore, and I’d have to re-select the shape in order to move it.

I was kind of expecting the focus would always stay in the canvas. Also it seems switching the focus to the right panel doesn’t really have any effect. I can’t really use arrow keys to move between the tools on the right panel, so it just looked like a bug where the arrow keys are somehow disabled.

Maybe it’s related to some other previous issues about focus: #731

ScreenShot.2025-01-09.at.16.16.59.mp4
@justvanrossum justvanrossum added the user experience An issue with the user experience label Jan 9, 2025
@justvanrossum
Copy link
Collaborator

This is probably resolvable using the FocusKeeper helper class. One thing to look out for is that clicking on the text entry tab or the search glyphs tab, the focus will go to their main text element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user experience An issue with the user experience
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants