You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't input «angle quotes» into applications linked with libxkbcommon 1.5.0 running in GNOME linked with libxkbcommon 1.6.0 #435
I run the latest Arch Linux with GNOME 45.3, it uses libxkbcommon 1.6.0. Some applications (installed with flatpak) use libxkbcommon 1.5.0 (flatpak's runtime is stuck with the old version). For example, these applications are Telegram (Qt) and Lutris (GTK). There is a runtime incompatibility between versions that doesn't allow me to type angle quotes «» into these applications.
Steps to reproduce:
Prepare the system according to the description above, i.e. install an application from flatpak, such as Telegram or Lutris.
Enable misc:typo,lv3:ralt_switch XKB options.
Open an application linked with libxkbcommon 1.5.0 (such as Telegram or Lutris) and put the cursor into any text field.
Try to type the angle quotes «» using RightAlt+< and RightAlt+>.
Nothing happens. Expected: angle quotes appear just as any other character.
@whot@bluetech how could we have a better handling of this situation? I now realize that the author of the merge requests in xorgproto has done no impact assessment at all and there has been multiple issues related to keysym modifications; notably deleted dead keys in keyboard layout projects such as Neo and Bépo.
The fix would be to postpone the deprecation (by changing line order in the header) in order to let time to the apps to upgrade. The impact is not only limited to sandboxed apps: legacy X11 apps may be impacted if a distro did not upgrade X11 with libxkbcommon.
Honestly, I think it's best to revert those patches in xorgproto. They were deprecated but still used (because there's nothing in place to detect use of deprected symbols) so removing them just broke things. Having those deprecated symbols doesn't really hurt in xorgproto, we'll spend more time debugging things like this than in total maintainer time spent on those symbols for the next decade...
Activity
wismill commentedon Jan 22, 2024
Thank you for your report. This is due to upstream change in xorgproto: e.g. keysym
guillemotlefthas be deprecated in favor ofguillemetleft.What happen is:
guillemotleft(deprecated) keysym from XKB database.guillemetleft.guillemetleft, so you get nothing when typing it.The immediate solution is to downgrade your system
libxkbcommon. The long term solution is to upgrade thelibxkcommonused by the flatpak.This is unfortunate but this is also a limitation of using flatpaks: you get libraries version incompatibilities.
wismill commentedon Jan 22, 2024
@whot @bluetech how could we have a better handling of this situation? I now realize that the author of the merge requests in
xorgprotohas done no impact assessment at all and there has been multiple issues related to keysym modifications; notably deleted dead keys in keyboard layout projects such as Neo and Bépo.The fix would be to postpone the deprecation (by changing line order in the header) in order to let time to the apps to upgrade. The impact is not only limited to sandboxed apps: legacy X11 apps may be impacted if a distro did not upgrade X11 with libxkbcommon.
whot commentedon Jan 25, 2024
Honestly, I think it's best to revert those patches in xorgproto. They were deprecated but still used (because there's nothing in place to detect use of deprected symbols) so removing them just broke things. Having those deprecated symbols doesn't really hurt in xorgproto, we'll spend more time debugging things like this than in total maintainer time spent on those symbols for the next decade...
wismill commentedon Feb 3, 2024
@whot I agree. I opened an MR for xorgproto.