[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:       Waldo Bastian <bastian () suse ! de>
Date:       2000-04-17 17:38:19
[Download RAW message or body]

On Mon, 17 Apr 2000, Waldo Bastian wrote:
> On Mon, 17 Apr 2000, David Faure wrote:
> > 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.
>
> Confirmed. Not setting a WStyle makes DND working again... *strange*

Hm... Seems like a known problem though. The "x-root" hack states:
    // this is a ugly hack to make Dnd work
    // Matthias told me that it won't be necessary with kwin
    // actually my first try with ICCCM (Dirk) :-)                            

Starting kdesktop with --x-root seems to solve all problems: DND works and 
you can't move the desktop.

Any reason why x-root isn't the default?

Cheers,
Waldo

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

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