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

[BUG] Rofi breaks if started with alternate keyboard layout, since Ubuntu 23.04 #1915

Closed
1 of 2 tasks
fleutot opened this issue Nov 3, 2023 · 6 comments
Closed
1 of 2 tasks
Labels

Comments

@fleutot
Copy link

fleutot commented Nov 3, 2023

Rofi version (rofi -v)

1.7.3

Configuration

https://gist.github.com/fleutot/3373c79ad74eb1f561add7207ca7f36c

Theme

https://gist.github.com/fleutot/22847d1667fb20c56ef2c3125088d734

Timing report

No response

Launch command

rofi -show

Step to reproduce

  • set xkbcomp layout with setxkbmap us,se -option 'grp:alt_caps_toggle'
  • start rofi -show
  • type a letter, then backspace. Expect it to work
  • get my keyboard config into a local file (it is pretty standard, only a key swap for one group. See the process to create this file).
  • activate the layout: xkbcomp ~/kinesis/kinesis-wip.xkb $DISPLAY
  • start rofi -show
  • type a letter, then backspace. Expect it to work
  • exit rofi with Ctrl+g
  • swap layout group with Alt+Caps Lock
  • start rofi -show
  • type a letter, then backspace. Backspace does not work. Ctrl+g does not work, arrows, Enter, nothing works. Additional letters do work.

Expected behavior

All control keys continue to work after selecting Group2 in a custom xkbcomp setup.

Actual behavior

Control keys, escape, enter, and so on, stop working if using Group2 of a custom xkbcomp setup.

Additional information

I understand that the error might be some other place than rofi. Either way, I would appreciate help in investigating this further.

My method of creating my xkb config is pretty standard. It was working fine until I upgraded from Ubuntu 22.04 to 23.04. I am not sure if the breaking change was in X, or rofi, or some other place.

Some more background: in xmonad WM.

Using wayland display server protocol

  • No, I don't use the wayland display server protocol

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version
@fleutot fleutot added the bug label Nov 3, 2023
@fleutot
Copy link
Author

fleutot commented Nov 3, 2023

I just built rofi 1.7.5, it seems to work there.

@fleutot fleutot closed this as completed Nov 3, 2023
@DaveDavenport
Copy link
Collaborator

I think it is related to this one: #1642

@fleutot
Copy link
Author

fleutot commented Nov 4, 2023

I don't know about the release cycle, but is there any way to notify Canonical that the current release distributed with apt in Ubuntu 23.04 is broken, and make them upgrade? I mean, if 1.7.3 breaks for every user with an AltGr key (or is it only for multiple layouts?), it's in rofi's interested to make Ubuntu upgrade with the fix?

@DaveDavenport
Copy link
Collaborator

I have no idea why ubuntu 23.04 ships a version from jan. 2022.

I do not have the time to chase distros to update their packages.

@fleutot
Copy link
Author

fleutot commented Nov 6, 2023

Got it, I was not implying that you would or should. I guess some bigger projects have some kind of "distro chasing" strategy, so I was just throwing that bottle into the ocean. Your work is much appreciated.

Copy link

github-actions bot commented Dec 8, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants