GNOME Bugzilla – Bug 639461
The Input Indicator dies not get repainted unless you move the mouse cursor over it
Last modified: 2011-01-14 00:14:10 UTC
I switch layouts (us->ru), the indicator stays "frozen" with the "USA" label - till I move the mouse cursor to it (no clicking!). Once the mouse cursor touches the indicator (again, no clicking performed, no focus changes), it immediately switches to Rus. The same thing with switching back Rus->USA
Created attachment 178269 [details] [review] kbd-status: Queue redraw on group changes When switching between keyboard layouts, the indicator updates instantly, but the change is not visible until a redraw is triggered. Force a redraw, so the change is visible immediately. I assume that the redraw is needed for flags as well, but didn't test.
Review of attachment 178269 [details] [review]: ::: js/ui/status/keyboard.js @@ +154,1 @@ Shouldn't calling _set_skip_paint call _queue_redraw() itself in shell-generic-container.c?
I do not know - but it really helps. Please commit (or fix set_skip_paint)
Created attachment 178278 [details] [review] generic-container: Queue a redraw in skip_paint() When changing a child's visibility with skip_paint(), the change will not be visible until a redraw is triggered. Queue a redraw, so that the function has an immediate effect.
Comment on attachment 178278 [details] [review] generic-container: Queue a redraw in skip_paint() I accidentally attached this patch in bug 639474, where it was reviewed. Sorry for the noise.
Attachment 178278 [details] pushed as bed063e - generic-container: Queue a redraw in skip_paint()