[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    DND and QXembed (or QTXEmbed)
From:       Hendrik Muhs <Hendrik.Muhs () web ! de>
Date:       2004-08-04 11:03:19
Message-ID: 200408041303.19910.Hendrik.Muhs () web ! de
[Download RAW message or body]

Hi,

I am working on a system tray applet with DND support. But unfortunatly DND 
does not work if the system tray applet is used together with kicker (same 
applet in the xfce-panel works).

What I found out so far, it has something to do with QXEmbed:

http://developer.kde.org/documentation/library/cvs-api/kdeui/html/classQXEmbed.html


You can also reproduce it with Qtxembed (predecessor of QXEmbed):

http://www.trolltech.com/products/solutions/catalog/Widgets/qtxembed/

With Qtxembed DND only works with QT apps.

to reproduce:

1. download Qtxembed and compile (qmake && make)
2. execute the demo application swallow (under examples/swallow)
3. open two konqueror windows
4. findout window id of one konqueror window with xwininfo
5. paste windowid into swallow and embed it
6. try DND

works!

now try the same with two mozilla or firefox or other non-qt apps.

does not work!

It seems that the DND-Messages (Client Messages) is being discarded somewhere 
instead of forwarded to the embedded window.

Has anyone an idea what is going wrong??

Hendrik
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic