i3-workspace-switcher
i3-workspace-switcher copied to clipboard
Window doesn't redraw
I am aware that by submitting issues I may be causing you to do work on a project that was an evening's hacking - so feel free not to respond!
On my machine I'm having problems where the listbox doesn't update unless you cause some event to happen to force an update. I'm using the keybinding mod+y I'm not sure if this is related.
To reproduce the bug.
- Use the keybinding to update twice
- Press any other key
- The display then changes indicating that the wrong listbox item was being shown
I'm using i3 4.14.1
I thought the problem might have something to do with having signals on the same thread as the gui thread, so I tried using after_idle to wrap draw in the signal handler as well as forcing a refresh using update_idletasks but neither worked. Perhaps you know some voodoo magic for Tkinter - at least that's my main motivation for posting this bug!
Thanks for the bug report.
I haven't used this script for a long time, so I need some time to dig into my memory. I'll take a closer look later when I have some free time.