talonvoice / talon

Issue Tracker for the main Talon app
85 stars 0 forks source link

Log Viewer Window delays redraw #648

Open mmikeww opened 6 months ago

mmikeww commented 6 months ago

Windows10

  1. keep Log Window open, but not focused/active
  2. trigger log update, either built in, or with print()
  3. log window will update, but the last line will be visually cut off
  4. move mouse over Log Window and then the line is fully displayed

seems to be a graphics issue with whatever gui framework you're using, where it wont fully redraw or update its window contents until a mouse message is sent to the window

lunixbochs commented 6 months ago

which exact talon version? which OS?

mmikeww commented 6 months ago

talon 0.4.0 public (non beta) win10 professional

low priority really. but i'm noticing the final line being cut off with my own personal print() debug statements

i thought it was happening with builtin log msgs too, but what i'm seeing now is, not necessarily that the final line gets cut off, but the whole window text just doesn't update until i mouse over, and then i see timestamps update etc. as if, similarly, the window needs to redraw and update its contents

lunixbochs commented 6 months ago

this is likely already fixed in the beta

lunixbochs commented 6 months ago

are you sure it's not printing? another option may be that it printed the line but didn't autoscroll quite far enough until you interacted.

mmikeww commented 6 months ago

yes exactly. its definitely printing. the autoscroll doesn't update until i mouseover the window. i know the line is printed because its cut off. i can visually see part of it.

i haven't signed up for the beta yet to test if its fixed in that or not

mmikeww commented 6 months ago

here.. first you can see some failed mousemoves trying to use zoom mouse inside a VM where the mouse wont move. then at the very end, i edited and saved a userscript and you can barely see the DEBUG line notifying of the change. but it doesn't come into view until i mouseover the window

image