Results 1 to 2 of 2

Thread: events are not delivered properly to another window in another process

  1. #1
    Join Date
    Feb 2008
    Posts
    51
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Unhappy events are not delivered properly to another window in another process

    Hi,

    I am having two processes on linux (Ubuntu). First process captures the events and depending on some criteria, it sends the event to another window in second process.

    I am using XSendEvent to send the event to another window. I have two windows in second process. I am sending one event to both windows.

    The problem is that one window receives the mouseMoveEvent while another window is not receiving mouseMoveEvent. Problem occurs only when mouse button is pressed and then moved.

    Some times I am sending the mouseMoveEvent to only one window. At that time it works fine. But while trying to send this event to both windows, it is not working properly.

    Please help me, I am trying to solve it from last four days.

    Thanks in advance.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: events are not delivered properly to another window in another process

    What about some kind of IPC mechanism? See Inter-Process Communication in Qt.
    J-P Nurmi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.