mkostrikin / keyla

Automatically exported from code.google.com/p/keyla
Other
0 stars 0 forks source link

Icons don't always update #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure keyla with 2 layouts and a shortcut
2. Enable "Global layout"
3. Use the shortcut to switch layouts

What is the expected output? What do you see instead?

I expect the icons to cycle. But sometimes, the icon doesn't change.

This seems to be related to the active window. It works for 3rd party programs, 
but not for "windows accessories".  I have confirmed that while these are 
active, the icon doesn't update:
- notepad
- windows explorer
- command prompt (cmd)
- wordpad
- no active window (e.g. focus on desktop)

Note that the layout switching itself does work as expected. Just the icon 
update fails.

If I switch layouts in a non-working window (notepad) and then change focus to 
a working window (my browser), the icon updates.

When "Global layout" is disabled, the problem remains.  But the icon is updated 
when the non-working window regains focus.  For example:
In notepad: change from layout1 to layout2, icon1 stays
Focus to browser: icon1 stays (as expected, browser is still using layout1)
Focus to notepad: icon1 changes to icon2

What version of the product are you using? On what operating system?

keyla 0.1.8 on Windows 7 Home Premium 64 bit

Original issue reported on code.google.com by rafh...@gmail.com on 31 May 2012 at 8:37

GoogleCodeExporter commented 9 years ago
Issue 15 has been merged into this issue.

Original comment by earshi...@gmail.com on 28 Oct 2012 at 4:50

GoogleCodeExporter commented 9 years ago
Occuring for me in 0.1.9 on Windows 7 64-bit.

Original comment by incredible.angst on 16 Jan 2013 at 6:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
+ Far Manager 3 x64 @ Win7 x64.

Сходу не разобрался. Вот не срабатывает 
хук, нет вызова layoutHookDll::proc().
А в других окнах есть. И в HotKey приходим.

Не готов разбираться, проблема некритичная 
- язык-то переключается.

Original comment by singa...@gmail.com on 12 Feb 2013 at 12:35