Quote Originally Posted by jacek View Post
It seems to work OK on Linux. Which Qt version do you use exactly?
4.3.4

gianpatt maybe your counter freeze because it comes to the end? (it is a stupid question but,...)
no...it freeze only when I click (and let down) on the window bar. If release the mouse count resume.

if block esecution with GDB i have this back trace...
it seems that main thread remains blocked while mouse is pressed down on window bar

#0 0x90009cd7 in mach_msg_trap ()
#1 0x90009c38 in mach_msg ()
#2 0x9082d227 in CFRunLoopRunSpecific ()
#3 0x9082ca42 in CFRunLoopRunInMode ()
#4 0x92df1878 in RunCurrentEventLoopInMode ()
#5 0x92df0f82 in ReceiveNextEventCommon ()
#6 0x92e39a74 in _AcquireNextEvent ()
#7 0x92eb4c70 in _TrackMouseLocationReturningEvent ()
#8 0x92f570a0 in TWindowTracker::TrackWindow ()
#9 0x930b0e66 in DragWindow ()
#10 0x92f597d0 in HIWindowFrameView::TrackSelf ()
#11 0x92e146a3 in HIView::EventHandler ()
#12 0x92df04d7 in DispatchEventToHandlers ()
#13 0x92defb7c in SendEventToEventTargetInternal ()
#14 0x92defa41 in SendEventToEventTargetWithOptions ()
#15 0x92eb3fb2 in SendControlDefTrack ()
#16 0x92eb3dca in HIView::ClickInternal ()
#17 0x92e8f025 in HIView::ClickSelf ()
#18 0x92e14612 in HIView::EventHandler ()
#19 0x92df04d7 in DispatchEventToHandlers ()
#20 0x92defb7c in SendEventToEventTargetInternal ()
#21 0x92df6f7c in SendEventToEventTarget ()
#22 0x92e8ed4f in HIView::Click ()
#23 0x92e8eb8b in HandleClickAsHIView ()
#24 0x92e8e531 in HandleWindowClick ()
#25 0x92e8dffe in HandleMouseEvent ()
#26 0x92e36468 in StandardWindowEventHandler ()
#27 0x92df04d7 in DispatchEventToHandlers ()
#28 0x92defb7c in SendEventToEventTargetInternal ()
#29 0x92df6f7c in SendEventToEventTarget ()
#30 0x92df7999 in ToolboxEventDispatcherHandler ()
#31 0x92df088e in DispatchEventToHandlers ()
#32 0x92defb7c in SendEventToEventTargetInternal ()
#33 0x92df6f7c in SendEventToEventTarget ()
#34 0x0105bbe2 in qt_mac_send_event ()
#35 0x0106906e in QEventDispatcherMac:rocessEvents ()
#36 0x002bab37 in QCoreApplication:rocessEvents ()
#37 0x00004435 in main ()


Every idea will be much appreciated....