First of all, are you running single threaded?
Or are you saying that all of your custom threads are "paused" while the window is dragged?
2nd "serial comm"? Is that on a timer?
I.e. if your app has a single thread then you either are
- on a timer
- in a loop with Application.ProcessMessages (not recommended)
- ????
I don't know all the different Linux distros (and likely its something related to some WindowManager)...
I don't know, but it isn't impossible that a Windows Manager takes full time of the main-thread (either in ProcessMessages, just prevents the PeekMessage from returning // or temp pauses timers). Again, don't know...
When I do release the mouse button, my program is still responsive but everything else is PAUSED like the serial communication UNTIL I click on something else or the desktop background.
Weird... very weird.
If you do ProcessMessages => maybe you are stuck inside that (i.e. it never returns). You app would then run inside that, but the caller (running your other work) would wait forever.
I have no idea why it wouldn't return. There would have to be a constant flow of messages. Your CPU should be real busy... (1 core fully loaded).