← Back to team overview

dx-packages team mailing list archive

[Bug 607796] Re: Launcher, Window management - Dragging and holding a selection over an entry in the Launcher should spread out windows belonging to that application

 

Here are the files i think relevant for creating a SpreadOnDndHover-
function:

In launcher/LauncherIcon.cpp, Line 116:
   mouse_enter.connect(sigc::mem_fun(this, &LauncherIcon::RecvMouseEnter));
seems to handle all clicks and mouseovers for quickmenu and handles collision by itself.

In launcher/Launcher.cpp, Line 2585:
   void Launcher::ProcessDndMove(int x, int y, std::list<char*> mimes)
and Line 2692:
   hovered_icon->SendDndEnter();


The scale function (ScaleWindowGroup) is called multiple times in `src/ApplicationLauncherIcon.cpp` and defined in `unity-shared/PluginAdapter.cpp:880`.

I hope all that is left to do is create a timer (and maybe a collision-
case) for `ProcessDndMove`, call the akready implemented
`ScaleWindowGroup` and add an action for `DndLeave` if (spread=true).

Unfortunatle I don't have the time nor experience to work on it myself
right now, but hope I could point somebody to the right places to look
at.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/607796

Title:
  Launcher, Window management - Dragging and holding a selection over an
  entry in the Launcher should spread out windows belonging to that
  application

Status in Ayatana Design:
  Fix Committed
Status in One Hundred Paper Cuts:
  Fix Released
Status in Unity:
  Triaged
Status in “unity” package in Ubuntu:
  Triaged

Bug description:
  If the user drags and hold a file over a running application in the
  Launcher, all the windows of that application should be shown with the
  spread. The user should then be able to drag and drop the file in a
  windows in the spread to load the file into that specific window.

  Bug #727903 needs to be fixed at the same time.

  -----------------------------------------------

  History:

  This bug had been previously fixed as "buggybutclosed" for Unity on 2011-04-18, leaving this function with other bugs:
  https://bugs.launchpad.net/ayatana-design/+bug/727903
  https://bugs.launchpad.net/ayatana-design/+bug/727904
  https://bugs.launchpad.net/ayatana-design/+bug/727902
  https://bugs.launchpad.net/ayatana-design/+bug/764424

  On 2011-10-18, it was reopened for regression in Oneiric.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/607796/+subscriptions