Difficult to drop icons to autohidden panel

Fredrik Höglund fredrik at kde.org
Fri Nov 28 02:09:11 CET 2008


On Friday 28 November 2008 01:40, Aaron J. Seigo wrote:
> On Thursday 27 November 2008, Fredrik Höglund wrote:
> > On Friday 28 November 2008 00:32, Aaron J. Seigo wrote:
> > > On Thursday 27 November 2008, Dmitry Suzdalev wrote:
> > > > I know  a little about panel internals, perhaps there's something
> > > > preventing showing when I drag smth to a screen edge?
> > >
> > > for whatever reason we're not getting events to our input-only window
> > > when a drag happens. we get pricesely zero events other than the usual
> > > hailstorm of PropertyNotify events; i'm really not sure why or what we
> > > can do about it. =(
> >
> > The application that performs the drag has most likely grabbed the mouse,
> > so all mouse events are being delivered to the grab window instead.
> 
> in a word: crap.

Although expanding a bit on that thought, a possible solution might be
to mark the InputOnly window as DnD aware, and show the panel when it
receives the XDndEnter message. This assumes that an InputOnly
window can act as a DnD target though.

Fredrik



More information about the Plasma-devel mailing list