[ros-bugs] [Bug 4646] Wrong PostMessage and SendNotifyMessage behaviour

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Nov 29 02:54:16 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4646





--- Comment #7 from jimtabor <james.tabor at reactos.org>  2009-11-29 02:54:16 CET ---
The patch is okay!

The problem is in focus.c co_IntSendActivateMessages:

      /* Send palette messages */
      if (co_IntPostOrSendMessage(hWnd, WM_QUERYNEWPALETTE, 0, 0))
      {
         co_IntPostOrSendMessage(HWND_BROADCAST, WM_PALETTEISCHANGING,
                                 (WPARAM)hWnd, 0);
      }

After the WM_QUERYNEWPALETTE call it make a broadcast call then goes into a
endless loop. So due to many Thread/Window/Class etc changes, things are
running faster than before. UserPostMessage (Wnd == HWND_BROADCAST) may need
more failsafe checks to test thread and window life and that includes
IntWinListChildren and related code through out.




-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Ros-bugs mailing list