Skip to content

Fix: Update keyboard shortcut tooltips for macOS compatibility (Fixes #617)#681

Open
AdityaGupta716 wants to merge 22 commits intoneuroinformatics-unit:mainfrom
AdityaGupta716:main
Open

Fix: Update keyboard shortcut tooltips for macOS compatibility (Fixes #617)#681
AdityaGupta716 wants to merge 22 commits intoneuroinformatics-unit:mainfrom
AdityaGupta716:main

Conversation

@AdityaGupta716
Copy link

What is this PR

  • Bug fix

Why is this PR needed?

Issue #617 reported that the CTRL+Q keyboard shortcut tooltip is problematic on macOS because CTRL+Q quits the application on that platform. This PR updates the tooltip to emphasize CTRL+C (with SHIFT) instead, which is the correct way to copy the highlighted file path to the clipboard.

What does this PR do?

Updates keyboard shortcut tooltips in datashuttle/tui/tooltips.py to clarify that users should use CTRL+C with SHIFT to copy the filepath to the clipboard. This avoids the accidental application quit on macOS when users press CTRL+Q.

AdityaGupta716 and others added 4 commits February 7, 2026 12:51
…euroinformatics-unit#617)

Updated keyboard shortcut tooltips in tooltips.py to emphasize CTRL+C (with SHIFT) instead of CTRL+Q for copying filepath to clipboard. CTRL+Q quits the application on macOS, so CTRL+C is the more appropriate shortcut for users on that platform.
Add module docstring for custom exceptions.
@JoeZiminski
Copy link
Member

Hi @AdityaGupta716 thanks for this. I think we will need to choose another key here, rather than CTRL+C with shift. CTRL+Q will copy the file path from the folder icon, but CTRL+C with shift will not do this, as it only copies what is visible on the screen. Maybe CTRL+W, CTRL+Q works well for this in all cases except macOS.

@AdityaGupta716
Copy link
Author

Ok i'll update the tooltip to suggest ctrl w instead so we avoid mac ctrl+q issue but still have a working shortcut

@JoeZiminski
Copy link
Member

Thanks @AdityaGupta716, we will need to change the key combination in the code as well. Ideally, we will find all instances of "CTRL+Q" / "ctrl+q", see where they are used, and manually test with CTR+W after updating them to ensure everything is working.

@AdityaGupta716
Copy link
Author

AdityaGupta716 commented Feb 16, 2026

@JoeZiminski i have changed the copy filepath from ctrl q to ctrl w and also changed the relevant codebase. i wasnt able to run the full TUI locally because some rclone related error but i did the changes u wanted me to do

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