You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usleep() event is in micro seconds! So usleep(500) used when pasting text from tray on X11 is too small. On some systems even big period is not enough.
Solution
Use QApplication::processEvents() before pasting to window and use usleep() with argument 200000 (500 ms seems too big). Also change the interval for Windows platform with Sleep(250).
The text was updated successfully, but these errors were encountered:
usleep() event is in micro seconds! So usleep(500) used when pasting text from tray on X11 is too small. On some systems even big period is not enough.
Solution
Use QApplication::processEvents() before pasting to window and use usleep() with argument 200000 (500 ms seems too big). Also change the interval for Windows platform with Sleep(250).
The text was updated successfully, but these errors were encountered: