mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

Mod + 1 activiates Mod+fn+1

Open AkalUstat opened this issue 5 years ago • 3 comments

when im trying to do the shortcut for mod+1, it activates the shortcut for mod+fn+1 (in electron app)

AkalUstat avatar Jun 13 '19 03:06 AkalUstat

did you find a solution for this?

lttlrck avatar Oct 16 '19 17:10 lttlrck

I didn’t

AkalUstat avatar Oct 16 '19 19:10 AkalUstat

maybe not the same problem exactly, but I had this:

    Mousetrap.bind(['f2'], function(e) {
    }
    Mousetrap.bind(['command+f2','ctrl+f2'], function(e) {
    }

and the second handler was called on f2 only. I changed it to this and the problem went away...

    Mousetrap.bind(['f2'], function(e) {
    }
    Mousetrap.bind(['ctrl+f2','command+f2'], function(e) {
    }

Mkes little sense and I didn't delve into it any more than that. This was Chromium on Fedora 29

lttlrck avatar Oct 16 '19 19:10 lttlrck