3.2 review on osnews

Lubos Lunak l.lunak at suse.cz
Fri Jan 16 15:09:28 GMT 2004


On Friday 16 of January 2004 13:31, Waldo Bastian wrote:
> On Fri January 16 2004 02:10, Ralf Nolden wrote:
> > Wouldn't even require a string change :) and would be *really* an
> > improvement (though I hardly can notice any reason why you wouldn't want
> > to have icons on your desktop at all...) for a bug, because without that
> > functionality I would think it's a bug. It let's me drag and drop but
> > nothing happens.
>
> No, it doesn't let you drag & drop. Without icons there is nothing to drag
> and when you try to drop you will get a "can't drop here" indicator.
>
> The reason for that is that "No icons on desktop" means "No background
> window on desktop" and without background window drag & drop isn't possible
> AFAIK. Certainly not for 3.2

 Yes.  "Show Icons on Desktop" is actually a misleading name for what happens 
when you turn this off. It basically removes the whole kdesktop window, and 
leaves the X root window visible. I remember a couple of problems caused by 
this that had to be handled specially for this case. Perhaps the name should 
be changed?

> Maybe Lubos knows how to get D&D working on the root window though.

 XDND supports dropping on the root window 
(http://www.newplanetsoftware.com/xdnd/drop_on_root.html), and Qt seems to 
support it. I'm not sure what the recommended way is, but something like the 
attached testapp works (I don't know how kdesktop handled the iconless mode, 
somebody please hack it in ;) ).

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.cpp
Type: text/x-c++src
Size: 1356 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040116/c7f35906/attachment.cpp>


More information about the kde-core-devel mailing list