Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdg-desktop-portal RemoteDesktop missing modifier key support #966

Open
ehaufler opened this issue Feb 10, 2023 · 0 comments
Open

xdg-desktop-portal RemoteDesktop missing modifier key support #966

ehaufler opened this issue Feb 10, 2023 · 0 comments
Labels
needs discussion Needs discussion on how to implement or fix the corresponding task portal: remote desktop Remote Desktop portal question

Comments

@ehaufler
Copy link

In the RemoteDesktop portal interface-methods
NotifyPointerButton
NotifyKeyboardKeycode
NotifyKeyboardKeysym
(probably some other methods as well)
I don't find "modifier" keys or a modifier mask of pressed shift / ctrl / alt keys.

We would need modifiers e.g. to handle cursor left (moves a cursor in the editor) versus shift + cursor left (mark text);
or difference of mouse-click and move vs. shift+mouse-click and move.

One could track e.g. the Shift-Key itself (pressed and released), but this is not reliable, as the shift key may have been pressed before the relevant window has got the keyboard focus. Or Caps-Lock would not be recognized.

Is there already a possibility to distinguish the shift / ctrl / alt state ? (I thought about adding an "option", but so far no option is defined for that). Could a "modifierMask" property be added to these interfaces?

Thanks for any answers!
Eckart

@GeorgesStavracas GeorgesStavracas moved this to Needs Triage in Triage Oct 2, 2023
@GeorgesStavracas GeorgesStavracas added question needs discussion Needs discussion on how to implement or fix the corresponding task portal: remote desktop Remote Desktop portal labels Oct 5, 2023
@GeorgesStavracas GeorgesStavracas moved this from Needs Triage to Triaged in Triage Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion Needs discussion on how to implement or fix the corresponding task portal: remote desktop Remote Desktop portal question
Projects
Status: Triaged
Development

No branches or pull requests

2 participants