Skip to content

Use PreviewKeyDown instead of KeyUp to handle package list keyboard shortcuts#3410

Merged
Martí Climent (marticliment) merged 1 commit intoDevolutions:mainfrom
tkohlmeier:packagelist-keydown
Mar 8, 2025
Merged

Use PreviewKeyDown instead of KeyUp to handle package list keyboard shortcuts#3410
Martí Climent (marticliment) merged 1 commit intoDevolutions:mainfrom
tkohlmeier:packagelist-keydown

Conversation

@tkohlmeier
Copy link
Copy Markdown
Contributor

  • I have read the contributing guidelines, and I agree with the Code of Conduct.
  • Have you checked that there aren't other open pull requests for the same changes?
  • Have you tested that the committed code can be executed without errors?
  • This PR is not composed of garbage changes used to farm GitHub activity to enter potential Crypto AirDrops.
    Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. I appreciate your understanding.

I noticed that #3354 does not fully fix #3298 as the package list still uses KeyUp to handle keyboard shortcuts. Moved the key press handling to PreviewKeyDown to fix this.


Relates to #3298

@tkohlmeier tkohlmeier marked this pull request as ready for review March 8, 2025 09:22
@marticliment Martí Climent (marticliment) merged commit 1862c41 into Devolutions:main Mar 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] UniGetUI reacts to key press although not focused

2 participants