Skip to content

Conversation

@Ericlein
Copy link
Owner

No description provided.

@Ericlein Ericlein self-assigned this Sep 14, 2025
@Ericlein Ericlein marked this pull request as ready for review September 14, 2025 02:08
@Ericlein
Copy link
Owner Author

@codex please review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

Comment on lines +708 to +716
if (hotkeyWindow.ShowDialog() == true && hotkeyWindow.HotkeyChanged)
{
// Get the captured hotkey
if (hotkeyWindow.GetCapturedHotkey(out bool useCtrl, out bool useAlt, out bool useWin, out bool useShift, out int virtualKey, out string keyDisplay))
{
// Build modifiers for Win32 API (ignoring Shift as it's handled differently)
int modifiers = 0;
if (useCtrl) modifiers |= 0x0002; // MOD_CONTROL
if (useAlt) modifiers |= 0x0001; // MOD_ALT

Choose a reason for hiding this comment

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

[P1] Include Shift when registering hotkey

The hotkey configuration dialog captures Shift as a valid modifier (GetCapturedHotkey exposes useShift) and even allows Shift‑only combinations. However, when the new hotkey is registered the Shift flag is ignored—only Ctrl, Alt and Win are added to the modifier bitmask before calling globalHotkey.Register. Any hotkey that the user configures to require Shift is therefore registered without that modifier, meaning pressing the key without Shift (or a Shift‑only selection) still toggles the app and can collide with regular typing. MOD_SHIFT should be included in the registration when useShift is true.

Useful? React with 👍 / 👎.

@Ericlein
Copy link
Owner Author

@codex fix comments

@chatgpt-codex-connector
Copy link

Summary

Testing

  • dotnet build (command not found)

Notes

  • Unable to install the .NET SDK due to package repository restrictions

View task →

@Ericlein
Copy link
Owner Author

@codex please try dotnet build again

@chatgpt-codex-connector
Copy link

Summary

  • dotnet build still cannot run because the dotnet command is missing, and attempts to install the .NET SDK failed due to repository access being denied

Testing

  • dotnet build (command not found)
  • ⚠️ sudo apt-get update (403 Forbidden from repository)
  • sudo apt-get install -y dotnet-sdk-8.0 (unable to locate package)

View task →

@Ericlein
Copy link
Owner Author

@codex try your changes again and if the build is sucessful commit it

@chatgpt-codex-connector
Copy link

Summary

  • Attempted to install and run the .NET SDK, but the dotnet command remains unavailable due to missing binaries and denied repository access

Testing

  • dotnet --version (command not found)
  • wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh (proxy tunnel forbidden)
  • sudo apt-get update (403 Forbidden from Ubuntu repositories)

Notes

  • Unable to install the .NET SDK due to network/proxy restrictions; build and tests could not be executed.

View task →

@Ericlein Ericlein merged commit ed9f77f into main Sep 14, 2025
2 checks passed
@Ericlein Ericlein deleted the dev branch September 15, 2025 11:58
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.

2 participants