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

Window doesn't redraw #2

Open
talwrii opened this issue Apr 23, 2019 · 1 comment
Open

Window doesn't redraw #2

talwrii opened this issue Apr 23, 2019 · 1 comment

Comments

@talwrii
Copy link

talwrii commented Apr 23, 2019

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!

@un-def
Copy link
Owner

un-def commented Apr 23, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants