I'm just starting to get familiar with this repository, and I found out something interesting: On Windows, the timestamps of DND (drag and drop) events received from the VM differ by loads from the timestamps of mouse move events. For example, I recorded some event sequences where the former were circa Looking into Do we indeed need to use two different approaches, two different APIs here? This is very impractical for me as I cannot compare the timestamp of events from different sources. Would it be possible to decide for one API and one byte count? Looking forward to your feedback! Related sources
— |
No one ever having dealt with Win32 event generation before? If someone with a bit more experience than me would agree to use of the two APIs everywhere, I could try my luck. My naive proposal would be to use — |
In reply to this post by David T Lewis
Just thinking aloud: At the moment, there are three different time sources used in the win32 implementation:
I just validated my assumption that — |
In reply to this post by David T Lewis
Hi Christophe, Since you're looking at time on Windows please also consider this, which is a proposal of mine for keeping the VM's microsecond clock in sync with wall time in an efficient manner while providing a monotonic microsecond clock. I haven't had time to implement it and I could really do with a collaborator to help me. And this link shows it's a pressing issue for Windows users: — |
In reply to this post by David T Lewis
Hi Elliot,
While I do not totally see why across-platform consistency is relevant over different platforms (when you reopen an image on a different platform, there will be a jump in the millisecondClock anyway?), regular event timestamps appear to be consistent (time since host system start) over Windows/Linux. With my PR #518, timestamps for DnD events are consistent, too. Also thank you for the interesting links, but I think they do not affect this PR because — |
In reply to this post by David T Lewis
— |
Free forum by Nabble | Edit this page |