Tiddlywiki5: [IDEA] Add Mac Command key support for DroppableWidget

Created on 15 Aug 2020  路  7Comments  路  Source: Jermolene/TiddlyWiki5

Is your feature request related to a problem? Please describe.
The only modifier Variable that can be used on mac is "shift", as pressing "ctrl+left click" will automatically simulate a right click, making drag an drop impossible.
This problem can't be fixed with third party software.

Describe the solution you'd like
Make the command key a modifier Variable.

Most helpful comment

There is now support for the alt key on all platforms as well so there are more options: https://github.com/Jermolene/TiddlyWiki5/blob/de69ab0d0e8d7fe355c0c0d463cf5fa194576b2c/core/modules/keyboard.js#L287

I don't think adding the command key is a realistic option as it is not cross platform.

In light of this, I think this can be closed @kebifurai @Jermolene

All 7 comments

There is now support for the alt key on all platforms as well so there are more options: https://github.com/Jermolene/TiddlyWiki5/blob/de69ab0d0e8d7fe355c0c0d463cf5fa194576b2c/core/modules/keyboard.js#L287

I don't think adding the command key is a realistic option as it is not cross platform.

In light of this, I think this can be closed @kebifurai @Jermolene

We do support the "cmd" key for keyboard shortcuts so it would make sense to support it as an event modifier key too, if possible.

@Jermolene - that would then be the "meta" key, right? I can create a PR for that soon

Hi @BurningTreeC yes, it looks like keyboard.js maps cmd, alt and win to meta.

yes, it looks like keyboard.js maps cmd, alt and win to meta.

Isn't that problematic?

I think it's just how browsers work: they have a field called "meta" which they use for the command key.

Ah ok. PR is on the way

Was this page helpful?
0 / 5 - 0 ratings

Related issues

diego898 picture diego898  路  5Comments

Jermolene picture Jermolene  路  6Comments

ifethereal picture ifethereal  路  5Comments

twMat picture twMat  路  5Comments

dainkaplan picture dainkaplan  路  5Comments