elementary / elementary/panel-keyboard

Keyboard indicator won't update status unless you interact with panel (secure session)

Open
#130 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
13
Forks
6
Avg merge
4h 50m
Merged PRs (30d)
1

Description

### What Happened?

If you have multiple keyboard layouts configured or have the caps lock and num lock options checked in the "Show in panel" part of "Dock and Panel" in system settings, the keyboard indicator shows up in the panel.

With this setup, if you activate caps lock for instance, the indicator would instantaneously show that icon in the panel in the classic session. In the secure session however, it can take multiple minutes for the keyboard indicator to update on its own. Alternatively, if you interact with any element of the panel (e.g., clicking the notifications icon, or clicking the applications menu), it will update instantaneously.

On a related note, if you change the keyboard layout by using a shortcut, the wingpanel indicator will not update to reflect that, even when you interact with the panel. The keyboard indicator will only reflect a change in layout if you do that by clicking in the options presented by the indicator (not sure if this is a separate bug).

I can only observe this behavior in the secure session. In the classic session, the indicator responds immediately.

### Steps to Reproduce

1. Have the Caps Lock/Num Lock show in panel option checked in Settings > Desktop > Dock & Panel
2. Toggle Caps Lock or Num Lock
3. See no change in the panel indicator

### Expected Behavior

I would expect the indicator to be responsive in indicating the status of caps/num lock or the keyboard layout, just as in the classic session.

### OS Version

8.x (Circe)

### Session Type

Secure Session (Wayland)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.