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

List:       kde-core-devel
Subject:    Re: KDesktop drag-n-drop and khtml bug
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-04-17 11:47:47
[Download RAW message or body]

On Mon, Apr 17, 2000 at 06:31:01AM -0500, David Faure wrote:
> On Sun, Apr 16, 2000 at 10:40:14PM -0700, Kurt Granroth wrote:
> > While preparing for the COMDEX demo, I found two I-hope-will-be-fixed-
> > before-I-get-there bugs (and lots of minor ones).
> > 
> > This is with current as of this morning CVS:
> > 
> > 1) KDesktop drag-n-drop doesn't work.  I can't reposition icons(!) or
> >    drop files from Konqueror onto it
> 
> That must be very recent - yesterday evening it worked fine.
> Would that be related to Waldo's "--wait-for-kded" change ?
> 
> Maybe kdesktop is ... waiting ;)

... or "how to show my stupidity has no limits". Ok, forget the above.
That flag just changes a few single-shot timers and show/not show splash screen.

I think this bug is rather due to :
cvs diff -r1.115 -r1.116 desktop.cc
KDesktop::KDesktop( const QString& _url, bool x_root_hack, bool auto_start ) :
-    KonqIconViewWidget( 0L, "desktop", x_root_hack ? WStyle_Customize | WStyle_NoBorder : 0 ),
+    KonqIconViewWidget( 0L, "desktop", WStyle_Customize | WStyle_NoBorder ),

This apparently fixes the "I can move and resize the desktop", but 
perhaps it prevents using the desktop as a normal widget too, for
moving icons around and dropping files - oh, this is all DnD related.
Can you try adding a "setAcceptDrops(true)" in that constructor ?
I'll try that as soon as kdebase is recompiled.

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

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

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