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

LatchMods seems to be ignored under certain circumstances #582

Closed
Jules-Bertholet opened this issue Jan 8, 2025 · 1 comment
Closed

Comments

@Jules-Bertholet
Copy link
Contributor

Jules-Bertholet commented Jan 8, 2025

Consider the following layout:

default partial alphanumeric_keys
xkb_symbols "base" {
	name[Group1] = "Test";

        // <LALT> has no effect as long as below line is uncommented
	key <RALT> { [ a ] };

	key <LALT> {
		symbols[Group1] = [ Alt_L ],
		actions[Group1] = [ LatchMods(modifiers=Alt) ]
	};

	key <AB01> { [ z ] };
};

With xkbcommmon (1.7.0 and latest master), <LALT> has no effect. It does not set or latch any modifiers on press or release. Commenting the <RALT> entry makes it work again.

@Jules-Bertholet
Copy link
Contributor Author

My bad, this is an issue with the data in tests/, I can't reproduce with xkeyboard-config rules

@Jules-Bertholet Jules-Bertholet closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant