** Description changed:

  As soon as the user starts dragging a file, the Launcher icons that are
  valid drop receptacles should instantly become highlighted.   Icons that
  are not valid drop receptacles should disappear so that only app icons
  that are valid drop receptacles are shown.
  
  This needs to happen the instant a user starts dragging a file,
  regardless of the position of the file on the desktop.
+ 
+ ====================================
+ 
+ This bug would be an ideal bug for someone to get started hacking on
+ Unity, here's some information:
+ 
+  * Time to fix: 10h
+  * Difficulty: normal
+  * Implementation:
+ 
+ Implementation of this feature is evil due to the nature of XDND.
+ Short version: When a dnd situation is detected, quickly pop up a new X 
window (using a nux BaseWindow is the simplest method), collect the required 
DND information for the launcher to make a descision, then pop down the window 
as quickly as possible.
+ 
+ Long version:
+ 
+ Create a new BaseWindow type class used purely to collect DND
+ information, called DNDCollectionWindow. It will probably have the
+ following methods.
+ 
+ DNDCollectionWindow::DNDCollectionWindow ()
+ void DNDCollectionWindow::Collect ()
+ std::list<char *> DNDCollectionWindow::GetUriList ()
+ 
+ and a signal
+ 
+ DNDCollectionWindow::collected
+ 
+ The window should pop down as fast as possible (but still retain the
+ data). Collection will look specifically for a text/uri-list, as that is
+ the only data relevant to the launcher, and retrieve that data directly
+ for processing by the launcher. If no text/uri-list is available, the
+ collected signal will still fire, but GetUriList should return null.
+ 
+ Once the data is retrieved, it can be used by the launcher to shade
+ launcher icons even before the hover starts. It is important to note
+ that even though the launcher already has the data, it should collect
+ the data a second time as the drag enters the launchers own XWindow.
+ This is to ensure the data has not changed in the mean time (it is
+ allowed to under the XDND specification).
+ 
+  * Where to look: src/Launcher.cpp
+  * Workflow information: http://unity.ubuntu.com/getinvolved/

** Description changed:

  As soon as the user starts dragging a file, the Launcher icons that are
  valid drop receptacles should instantly become highlighted.   Icons that
  are not valid drop receptacles should disappear so that only app icons
  that are valid drop receptacles are shown.
  
  This needs to happen the instant a user starts dragging a file,
  regardless of the position of the file on the desktop.
  
  ====================================
  
  This bug would be an ideal bug for someone to get started hacking on
  Unity, here's some information:
  
-  * Time to fix: 10h
-  * Difficulty: normal
-  * Implementation:
+  * Time to fix: 10h
+  * Difficulty: normal
+  * Implementation:
  
  Implementation of this feature is evil due to the nature of XDND.
- Short version: When a dnd situation is detected, quickly pop up a new X 
window (using a nux BaseWindow is the simplest method), collect the required 
DND information for the launcher to make a descision, then pop down the window 
as quickly as possible.
+ 
+ Short version: When a dnd situation is detected, quickly pop up a new X
+ window (using a nux BaseWindow is the simplest method), collect the
+ required DND information for the launcher to make a descision, then pop
+ down the window as quickly as possible.
  
  Long version:
  
  Create a new BaseWindow type class used purely to collect DND
  information, called DNDCollectionWindow. It will probably have the
  following methods.
  
  DNDCollectionWindow::DNDCollectionWindow ()
  void DNDCollectionWindow::Collect ()
  std::list<char *> DNDCollectionWindow::GetUriList ()
  
  and a signal
  
  DNDCollectionWindow::collected
  
  The window should pop down as fast as possible (but still retain the
  data). Collection will look specifically for a text/uri-list, as that is
  the only data relevant to the launcher, and retrieve that data directly
  for processing by the launcher. If no text/uri-list is available, the
  collected signal will still fire, but GetUriList should return null.
  
  Once the data is retrieved, it can be used by the launcher to shade
  launcher icons even before the hover starts. It is important to note
  that even though the launcher already has the data, it should collect
  the data a second time as the drag enters the launchers own XWindow.
  This is to ensure the data has not changed in the mean time (it is
  allowed to under the XDND specification).
  
-  * Where to look: src/Launcher.cpp
-  * Workflow information: http://unity.ubuntu.com/getinvolved/
+  * Where to look: src/Launcher.cpp
+  * Workflow information: http://unity.ubuntu.com/getinvolved/

** Description changed:

  As soon as the user starts dragging a file, the Launcher icons that are
  valid drop receptacles should instantly become highlighted.   Icons that
  are not valid drop receptacles should disappear so that only app icons
  that are valid drop receptacles are shown.
  
  This needs to happen the instant a user starts dragging a file,
  regardless of the position of the file on the desktop.
  
  ====================================
  
  This bug would be an ideal bug for someone to get started hacking on
  Unity, here's some information:
  
   * Time to fix: 10h
   * Difficulty: normal
   * Implementation:
  
  Implementation of this feature is evil due to the nature of XDND.
  
  Short version: When a dnd situation is detected, quickly pop up a new X
  window (using a nux BaseWindow is the simplest method), collect the
  required DND information for the launcher to make a descision, then pop
  down the window as quickly as possible.
  
  Long version:
  
  Create a new BaseWindow type class used purely to collect DND
  information, called DNDCollectionWindow. It will probably have the
  following methods.
  
  DNDCollectionWindow::DNDCollectionWindow ()
  void DNDCollectionWindow::Collect ()
  std::list<char *> DNDCollectionWindow::GetUriList ()
  
  and a signal
  
  DNDCollectionWindow::collected
  
  The window should pop down as fast as possible (but still retain the
  data). Collection will look specifically for a text/uri-list, as that is
  the only data relevant to the launcher, and retrieve that data directly
  for processing by the launcher. If no text/uri-list is available, the
- collected signal will still fire, but GetUriList should return null.
+ collected signal will still fire, but GetUriList should return an empty
+ list.
  
  Once the data is retrieved, it can be used by the launcher to shade
  launcher icons even before the hover starts. It is important to note
  that even though the launcher already has the data, it should collect
  the data a second time as the drag enters the launchers own XWindow.
  This is to ensure the data has not changed in the mean time (it is
  allowed to under the XDND specification).
  
   * Where to look: src/Launcher.cpp
   * Workflow information: http://unity.ubuntu.com/getinvolved/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727901

Title:
  When dragging and dropping a file on to the Launcher, the Launcher
  icons that are valid drop receptacles don't highlight until the cursor
  is over the launcher.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to