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

Whenever you click on the shift key the keyboard language text disappears #227

Open
anaximeno opened this issue Nov 13, 2023 · 1 comment

Comments

@anaximeno
Copy link

 * slick-greeter 1.8.2
 * Distribution -LMDE 6
 * 64 bit

Issue & Steps to reproduce

Whenever you click at the shift key the keyboard language text in the menu bar on the top disapears.

Expected behaviour

The text of the keyboard language should not disapear.

@anaximeno anaximeno changed the title Whenever you click at the shift key the keyboard language text disapears Whenever you click on the shift key the keyboard language text disappears Dec 16, 2023
@anaximeno
Copy link
Author

I believe this line is causing this problem for some reason, but I don't know how to test changes on this project yet:

var xapp_controller = new XApp.KbdLayoutController();
var display = get_display ();
var keymap = Gdk.Keymap.get_for_display (display);
keymap.state_changed.connect (() =>
{
label.set_label(xapp_controller.get_current_short_group_label());
item.set_tooltip_text(_("Keyboard layout:").concat(" ").concat(xapp_controller.get_current_name()));
});

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