Skip to content

"Shift + Insert" produces "^V" instead of correct keys in TermGrid key handling #134

@drunlade

Description

@drunlade

Issue

When trying to register a shortcut to handle "Shift + Insert", it's not possible to detect as the actual input that Fyne appears to receive is "^V" rather than actual keys.

When pressing the Shift key, I correctly log "Shift". When pressing the Insert key I correctly log "Insert". Press them together, "Shift" is detected, "Insert" is not and *fyne.ShortcutPaste &{Clipboard:{}} is produced in TypedShortcut, which is no as terminal application do need to know the difference between "Control + V" and "Shift + Insert", since most do not actually expect "Control + V" as as a sequence for pasting.

TL;DR; typed keys should be represented correctly in Fyne applications.

(I'd be happy to be told I've missed something obvious and this behaviour can be fixed/changes easily!)

Details

Fyne    2.6.1
Windows 11
Go      1.25.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions