I filed a bug report with Adobe for the following situation. It was reported by a customer and I can replicate it on Windows but not on Mac.
Problem Description: On Windows computers, clicking any button on a UXP plugin for Photoshop steals focus from Photoshop such that immediately typing the “F” keyboard shortcut to cycle through different view modes does not work properly. You might go to one view mode, but then the cycling stops.
Steps to Reproduce:
- Click a button on any UXP plugin
- Immediately afterwards type “F” which is the keyboard shortcut to cycle through Photoshop view modes.
Actual Result: Cycling through view modes with the “F” key keyboard shortcut doesn’t work. You might be able to cycle to one view mode, but then it stops.
Expected Result: Repeatedly typing “F” should cycle through keyboard shortcuts. It shouldn’t stop cycling.
Any Workarounds: Clicking anywhere on the Photoshop workspace restores focus to Photoshop and typing the “F” key once again cycles through Photoshop view modes.
This seems related to a similar issue in the early UXP days described in this post: Clicking any button on any UXP panel inactivates keyboard shortcuts for tools and brush sizes - #34 by Alexandr_Stroganov