elementary / granite

Library that extends GTK with common widgets and utilities
https://elementary.io
GNU Lesser General Public License v3.0
286 stars 60 forks source link

`Granite.accel_to_string` doesn't handle Above_Tab #648

Open lenemter opened 1 year ago

lenemter commented 1 year ago

What Happened?

We recently added "Switch Group" shortcuts in Gala which use Above_Tab key. But looks like Granite.accel_to_string doesn't handle it, therefore this shortcut cannot be added to Keyboard Settings for now.

Steps to Reproduce

Try to use Granite.accel_to_string with Above_Tab key.

Expected Behavior

It should format it as "~" I guess.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

zeebok commented 1 year ago

You mean doing something like this? Screenshot from 2023-09-13 23 35 08

tintou commented 1 year ago

That's not easy because it depends on the current keyboard layout, for instance it's ² on my keyboard here