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

<primary><super> settable in key bindings but not usable in editor pane #2826

Open
philiprbrenan opened this issue Jun 12, 2021 · 4 comments
Labels

Comments

@philiprbrenan
Copy link

primary+ super can be set without a following character in key bindings but does not do anything in the editor pane:

image

@elextr
Copy link
Member

elextr commented Jun 13, 2021

Confirmed, the key combo is invalid (both keys are modifiers) but preferences keybinding dialog doesn't check, should call gtk_accelerator_valid().

@elextr elextr added the bug label Jun 13, 2021
@eht16
Copy link
Member

eht16 commented Jun 13, 2021

geany_super_modifier
Interestingly, for me it seems the Super key is named "Super_L" and most importantly can be used as a single key. The keybinding Primary+Super_L actually works on its own.
Once I would add a third key to the comvination, the Super key will get a modifier but on the combination of two modifiers, it is a single key.

So, on my system, the current behaviour seems correct to me.
It just raises the question why is this behaviour different and what components have any impact on it?

@elextr
Copy link
Member

elextr commented Jun 14, 2021

Here its also called Super-L (and Super_R) by itself, but I can't set it by itself as its stolen by the Cinnamon desktop to show its menu.

Also Ctrl_L (and Ctrl_R) can be set by themselves (and work).

But the combination <Primary>Super_L/R can be set but does not work, nor does it do anything in the desktop, but maybe its still being stolen by it.

But <primary><super>a can be set and works.

But the OP is getting <primary><super> which is two modifiers, @philiprbrenan @eht16 whats your Geany and GTK and OS and desktop version information?

Here is Cinnamon desktop and

11:12:18: Geany INFO		: Geany 1.38 (git >= b524a58e), en_AU.UTF-8
11:12:18: Geany INFO		: GTK 3.24.20, GLib 2.64.6
11:12:18: Geany INFO		: OS: Linux Mint 20 (ulyana)

@eht16
Copy link
Member

eht16 commented Jun 14, 2021

But the combination <Primary>Super_L/R can be set but does not work, nor does it do anything in the desktop, but maybe its still being stolen by it.

I guess so, it seems reasonable that the WM eats this combination and so it seems to not work.

But <primary><super>a can be set and works.

But the OP is getting <primary><super> which is two modifiers, @philiprbrenan @eht16 whats your Geany and GTK and OS and desktop version information?

That's true. No idea what's the difference.
I'm using Xfce 4.16 with:

23:32:49: Geany INFO		: Geany 1.38 (git >= b524a58e), en_US.utf8
23:32:49: Geany INFO		: GTK 3.24.29, GLib 2.68.2
23:32:49: Geany INFO		: OS: Arch Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants