Comment 12 for bug 727903

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Bug 727903] Re: Dropping a file into a window via the 'drag file to Launcher, then drag file to Spread' interaction fails to load the file into the selected window

On Wed, Aug 24, 2011 at 3:32 PM, Andrea Azzarone
<email address hidden> wrote:
> @John, i think that without input redirection (both in X and Compiz) the
> solution of this bug is pretty tricky. So we should split this bug into
> two separate ones.
>
> Maybe DBO or Sam can confirm or propose a solution without inpur
> redirection.

You can't do it without input redirection. Maybe its possible to
forward DnD events, but that's not something I want to do because
that's error prone due to applications which might activate cursor
grabs on DnD.

>
> --
> You received this bug notification because you are a member of Compiz
> Maintainers, which is the registrant for Compiz Core.
> https://bugs.launchpad.net/bugs/727903
>
> Title:
>  Dropping a file into a window via the 'drag file to Launcher, then
>  drag file to Spread' interaction fails to load the file into the
>  selected window
>
> Status in Ayatana Design:
>  Fix Released
> Status in Compiz Core:
>  Confirmed
> Status in Unity:
>  Confirmed
> Status in Unity 2D:
>  Confirmed
> Status in “unity” package in Ubuntu:
>  Confirmed
>
> Bug description:
>  Dropping a file into a window via the 'drag file to Launcher, then
>  drag file to Spread' interaction fails to load the file into the
>  selected window.
>
>  To reproduce:  Open two firefox windows.  Drag a .html or .png file to
>  the Firefox icon in the Launcher.  As soon as the spread appears
>  quickly drop the file to one of the firefox windows.  The file should
>  open into the window it was just dropped on but nothing happens.
>
>  Does not work, needs to be fixed ;-)
>
>  ============================
>
>  This bug would be an ideal bug for someone to get started hacking on
>  Unity, here's some information:
>
>   * Time to fix: 3h
>   * Difficulty: bitesize to normal
>   * Implementation:
>
>  There is a timer in compiz responsible for how long the user must
>  hover a window when the spread is active in order to trigger the
>  spread to collapse back on this window. It is currently way to finicky
>  to get to work right and needs to be "played with" in order to get a
>  better feel. Probably needs a shorter timer that doesn't reset every
>  time the mouse moves a single pixel. Look in the scale plugin in the
>  compiz source tree.
>
>   * Workflow information: http://unity.ubuntu.com/getinvolved/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ayatana-design/+bug/727903/+subscriptions
>

--
Sam Spilsbury