Re: Keyboard shortcut challenges - Mailing list pgadmin-hackers

From Yogesh Mahajan
Subject Re: Keyboard shortcut challenges
Date
Msg-id CAMa=N=PbXxfQiKWdg3MQt+9-54k3PM7AK-sBZe3zEK9KdU2+Kg@mail.gmail.com
Whole thread Raw
In response to Re: Keyboard shortcut challenges  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Responses Re: Keyboard shortcut challenges
List pgadmin-hackers
Hi Aditya, 

What is the behaviour of the other editors with respect to Meta Key? If they do not treat Meta key differently, then we shouldn't.

Thanks,
Yogesh Mahajan
EnterpriseDB


On Tue, Apr 16, 2024 at 4:44 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi,

Just came to my mind - We could add one more checkbox - "Is Meta?" for Ctrl. That way - users will have more control.

On Tue, Apr 16, 2024 at 4:26 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

I'm working on removing the usage of Access Keys(which varies based on OS and Browser combination) for keyboard shortcuts and instead use shortcuts similar to all other IDEs.
The challenge here is OS. MacOS has an extra key - Meta, which pgAdmin doesn't take as part of keyboard shortcut currently. In fact, Mac can take Ctrl separately.
pgAdmin can run as a web app so it's even more difficult. It is not possible to have multiple shortcuts based on the OS of the browser.
I suggest we consider Ctrl as Meta when running on a Mac.
Please let me know what you think.


image.png

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"
Attachment

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: Keyboard shortcut challenges
Next
From: Aditya Toshniwal
Date:
Subject: Re: Keyboard shortcut challenges