From kde-devel Wed Aug 04 11:03:19 2004 From: Hendrik Muhs Date: Wed, 04 Aug 2004 11:03:19 +0000 To: kde-devel Subject: DND and QXembed (or QTXEmbed) Message-Id: <200408041303.19910.Hendrik.Muhs () web ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=109161744803803 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 <<