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

List:       kde-core-devel
Subject:    Fwd: Re: Bug#29766: Drag and drop in Konqueror 2.2beta broken
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-07-31 23:21:58
[Download RAW message or body]

DnD and xinerama ... anyone ? (looks kwin related)

----- Forwarded message from Balaji Ramani <balaji@spinnakernet.com> -----

From: Balaji Ramani <balaji@spinnakernet.com>
To: David Faure <david@mandrakesoft.com>
Subject: Re: Bug#29766: Drag and drop in Konqueror 2.2beta broken
Date: Tue, 31 Jul 2001 19:06:45 -0400

Hi David,

I have been looking into this problem.  Here is what I found.  I am running a 
simple DND test that comes with qt (examples/dragdrop).  Running kwin, it 
does not work on the second head with xinerama enabled.  Note that xinerama 
is only enabled for XFree86 and not for kwin.  I disabled all code in kwin 
(and kdelibs) that has xinerama support.  But running under twm, it works 
fine.  Digging deeper, it led me to the piece of code in qt.  The code is in 
src/kernel/qdnd_x11.cpp.  On line 1093, we have

    if ( !XTranslateCoordinates( qt_xdisplay(), qt_xrootwin(), qt_xrootwin(),
                                 globalPos.x(), globalPos.y(),
                                 &lx, &ly, &target) ) {

Now, this function returns a valid target under twm and 0 under kwin, when I 
drag on to the second head.  

What I cannot understand is why a Xlib code should depend on what window 
manager is running?  I know very little about Xlib.  So, I was wondering if 
you could help me with this?

Thanks,
Balaji

On Friday 27 July 2001 16:27 pm, you wrote:
> On Thursday 26 July 2001 01:18, tosi@orku.net wrote:
> > Package: konqueror
> > Version: 2.2beta1 (using KDE 2.2.0 beta1)
> > Severity: normal
> > Installed from:    SuSE
> > Compiler:          gcc version 2.95.3 20010315 (SuSE)
> > OS:                Linux (i686) release 2.4.4-4GB
> > OS/Compiler notes:
> >
> > When dragging files from one konqueror window to another, the files get
> > dropped onto the desktop itself, not in the second konq window. The fact
> > that I'm using xinerama may affect the result, but it's still a bug :-)
> > The same happens when dragging hyperlinks from onw konq browser to
> > another ( I get a "copy here.." popup menu)
>
> Yes, definitely looks like a xinerama bug. Better contact whoever did the
> xinerama support. I maintain the dnd in konqueror, but this is something
> else. Apparently the xinerama support was based on patch by Balaji...
> Cc'ed.

----- End forwarded message -----

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david, http://www.konqueror.org/
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