OpenBuilds / OpenBuilds-CAM

Online CNC CAM System
https://cam.openbuilds.com
GNU Affero General Public License v3.0
257 stars 623 forks source link

MacOS Specifics: Option vs Control for Multiple Select #22

Closed petervanderwalt closed 5 years ago

petervanderwalt commented 5 years ago

MacOS and its nonstandard keyboard... As reported by @cojarbi: "fyi in Osx to click select multiple items usually its the option/alt not the control."

petervanderwalt commented 5 years ago

@cojarbi can you help me check what the browser thinks the Option key is?

Open browser to about:blank, and open Devtools: Paste

document.addEventListener('keydown', (event) => {
  const keyName = event.key;
  const altKey = event.altKey;
  const ctrlKey = event.ctrlKey
  alert('keydown event\n\n' + 'key: ' + keyName + "  /  Ctrl: " + ctrlKey + "  / altKey: " + altKey );
});

Click in the browserwindow and hit that Option key

altkey

Awaiting screenshot

cojarbi commented 5 years ago

Here you go

On Mon, Nov 26, 2018 at 11:31 AM openbuilds-engineer < notifications@github.com> wrote:

@cojarbi https://github.com/cojarbi can you help me check what the browser things the Option key is?

Open browser, and open Devtools: Paste

document.addEventListener('keydown', (event) => { const keyName = event.key; const altKey = event.altKey; const ctrlKey = event.ctrlKey alert('keydown event\n\n' + 'key: ' + keyName + " / Ctrl: " + ctrlKey + " / altKey: " + altKey ); });

Click in the browserwindow and hit that Option key

[image: altkey] https://user-images.githubusercontent.com/31449271/49027704-73d66e80-f1a9-11e8-9c7f-10dd171deb7d.PNG

Awaiting screenshot

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenBuilds/cam/issues/22#issuecomment-441704823, or mute the thread https://github.com/notifications/unsubscribe-auth/APrsFgvZt3W_BZVLdl4KcKqhV9BYL9PLks5uzBdcgaJpZM4YSRgx .

--

Ariel Yahni

petervanderwalt commented 5 years ago

(: nothing uploaded (:

cojarbi commented 5 years ago

Sended a scrfeenshot

On Tue, Nov 27, 2018 at 4:57 PM openbuilds-engineer < notifications@github.com> wrote:

(: nothing uploaded (:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenBuilds/cam/issues/22#issuecomment-442232752, or mute the thread https://github.com/notifications/unsubscribe-auth/APrsFtAnjcb3uHa1Lc59nQUC5EpwTUFCks5uzbVEgaJpZM4YSRgx .

--

Ariel Yahni

petervanderwalt commented 5 years ago

The Git doesnt understand emails (: come over to https://github.com/OpenBuilds/cam/issues/22 or PM me you know where I am at

cojarbi commented 5 years ago

My bad, thought it was an email lol

screen shot 2018-11-27 at 4 07 31 pm
petervanderwalt commented 5 years ago

Got it now, thanks

petervanderwalt commented 5 years ago

And easy enough - the browser thinks it Alt (so adding it, means windows people can alt+click or ctrl+click... not ideal but then again, unlikely someone would Alt+click as its rarely used on windows.

petervanderwalt commented 5 years ago

Is Option used instead of Ctrl for things like Undo (Ctrl+Z) and selectAll (Ctrl+A) too? Or just with clicking?

petervanderwalt commented 5 years ago

Option+click (same as Ctrl+click) is live in five, let me know if it works like it should

cojarbi commented 5 years ago

Delete Key

screen shot 2018-12-14 at 2 18 43 pm