DropPoint icon indicating copy to clipboard operation
DropPoint copied to clipboard

[Bug Fix (Consider this as one :)] Change MacOS shortcut from "Shift-Tab" to "Option-Tab"

Open zhengliw opened this issue 3 years ago • 2 comments

Context

Really, it is just that simple as in the title. I found it extremely inconvienient to have Shift-Tab instead of something better for launching DropPoint on MacOS. Shift-Tab is commonly used by code editors in order to deindent code, as you know :)

Description of the Change

Only one line of code was changed.

if (process.platform === "darwin") {
    //caps lock is not a modifier in mac
    // old: shortcut = "Shift+Tab";
    // new: shortcut = "Option+Tab";

Alternate Designs

Instead of this solution, add an option in the upcoming settings panel to allow customized launching shortcuts.

Possible Drawbacks

Users who have gotten used to Shift-Tab may find it a bit confusing, but I assume that there are no worse negative impacts.

Verification Process

I have built it with Electron and tested it out. This shortcut worked perfectly fine.

Release Notes

  • Changed the MacOS launching shortcut from "Shift-Tab" to "Option-Tab"

zhengliw avatar Nov 24 '22 20:11 zhengliw

Thank you for this amazing app! And thank you to the supporting community!

zhengliw avatar Nov 24 '22 20:11 zhengliw

Please implement this PR. As the OP says, Shift-Tab is used for de-indenting in most text editors, and makes this nice little app unusable.

tflo avatar Jul 23 '23 21:07 tflo