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: tray icons change randomly when layer changes by Meta key. #1143

Open
1 task done
jjangga0214 opened this issue Jul 15, 2024 · 0 comments
Open
1 task done

Bug: tray icons change randomly when layer changes by Meta key. #1143

jjangga0214 opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working gui Pertains to GUI functionailty, jtroo does not maintain GUI functionality windows Issue pertains to Windows only

Comments

@jjangga0214
Copy link

Requirements

Describe the bug

Tray icons does not change corresponding to layer change in case of triggered by rmet.

Relevant kanata config

No response

To Reproduce

Let's say we have a filesystem like this.

filesystem

<root>
├── icons
│   ├── colemak.png
│   └── qwerty.png
├── kanata.kbd
└── kanata.exe

kanata.kbd

(defcfg
  tray-icon                 "./icons"
  icon-match-layer-name   	yes
)

(defsrc
  ralt rmet
)    
    
(defalias
  scl (multi ralt (layer-switch colemak))    
  sqw (multi ralt (layer-switch qwerty))    
)
      
(deflayer colemak    
  @sqw @sqw
) 

(deflayer qwerty    
  @scl @scl 
) 

Execution

kanata.exe --cfg kanata.kbd

Info

Expected behavior

As we can see above, when we press either ralt or rmet, layer changes and ralt is emitted.
But, tray icon does not change sometime when the layer is changed by rmet.
On the other hand, the icons change well with ralt.

Kanata version

v1.7.0-prerelease-1

Debug logs

No response

Operating system

Windows 10

Additional context

No response

@jjangga0214 jjangga0214 added the bug Something isn't working label Jul 15, 2024
@jtroo jtroo added windows Issue pertains to Windows only gui Pertains to GUI functionailty, jtroo does not maintain GUI functionality labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gui Pertains to GUI functionailty, jtroo does not maintain GUI functionality windows Issue pertains to Windows only
Projects
None yet
Development

No branches or pull requests

2 participants