Launcher - when the user reveals the Launcher by moving the pointer to the left side of the screen, the Launcher should unfold at exactly the point entered

Reported by John Lea on 2011-04-20
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Critical
John Lea
Unity
High
Andrea Azzarone
unity (Ubuntu)
High
Andrea Azzarone

Bug Description

When the user reveals the Launcher by moving the pointer to the left side of the screen, the Launcher should unfold at exactly the point entered.

To reproduce:
1 . Make sure the Launcher contains a enough icons to cause several icons to fold.
2. Hide the launcher by moving a window into the Launcher space
3. Reveal the launcher by moving the pointer to the left side of the screen at a vertical location where the Launcher has folded icons. A good example is to move the pointer to the very bottom left to try to reveal the trash.

What currently happens:
- The Launcher slides out, the accordion flattens, and then the Launcher starts auto scrolling to the user's location.

What should happen:
- The Launcher should slide out and the Launcher accordion should flatten out centred on the icon in the same vertical position as the user's pointer. There should be no auto-scroll.

====================================

This bug would be an ideal bug for someone to get started hacking on Unity, here's some information:

 * Time to fix: 2h
 * Difficulty: bitesize
 * Implementation:

Implementation of this bug is not that difficult. The primary difficulty will come in making sure the mouse position is properly updated and set for the launcher at the time of entry into the side of the screen. In short, whenever Launcher::EdgeRevealTriggered is called, inside of EdgeRevealTriggered, Launcher::SetMousePosition needs to be called with an updated mouse position (probably queried directly from the X server).

The difficulty in this bug will not be in the implementation, but in the testing to verify its working in all the weird cases that edge reveal can happen with. Prepare.

 * Where to look: src/Launcher.cpp
 * Workflow information: http://unity.ubuntu.com/getinvolved/

Related branches

lp:~andyrock/unity/fix-767075
Merged into lp:unity at revision 1240
Jason Smith (community): Approve on 2011-06-15
Tim Penhey (community): Approve on 2011-06-09
John Lea (johnlea) on 2011-04-20
description: updated
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
tags: added: udo
Changed in ayatana-design:
importance: Undecided → Critical
status: New → Fix Committed
John Lea (johnlea) on 2011-05-04
Changed in ayatana-design:
status: Fix Committed → Fix Released
Alex Launi (alexlauni) on 2011-05-04
Changed in unity:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Jason Smith (jassmith)
Changed in unity (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Jason Smith (jassmith) on 2011-05-05
Changed in unity:
milestone: none → ux-backlog-1
Jason Smith (jassmith) on 2011-06-06
description: updated
description: updated
description: updated
tags: added: bitesize
Jorge O. Castro (jorge) on 2011-06-06
Changed in unity:
milestone: ux-backlog-1 → backlog
Jason Smith (jassmith) on 2011-06-06
description: updated
Jorge O. Castro (jorge) on 2011-06-06
Changed in unity:
assignee: Jason Smith (jassmith) → Unity Community Hackers (unity-community-hackers)
Jason Smith (jassmith) on 2011-06-06
description: updated
Jorge O. Castro (jorge) on 2011-06-06
tags: added: backlog
Changed in unity:
status: Confirmed → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
manny (estelar57) wrote :

yes, this bug has been pretty annoying, specially for app alerts.

the app icon pops out, wobbles a bit, hides back and when you place your mouse on the position to see what is going on, the launcher unfolds and drags the icon somewhere else (sometimes even hidden from view, till you remember to scroll to find it).

I've seen pretty much every new user get confused by this.

if a fix is released, would be nice to see it in natty too, not just Oneiric.

Changed in unity:
status: In Progress → Fix Committed
Didier Roche (didrocks) on 2011-06-20
Changed in unity (Ubuntu):
status: In Progress → Fix Committed
Changed in unity:
assignee: Unity Community Hackers (unity-community-hackers) → Andrea Azzarone (andyrock)
Changed in unity (Ubuntu):
assignee: nobody → Andrea Azzarone (andyrock)
Omer Akram (om26er) on 2011-07-18
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
John Lea (johnlea) on 2011-08-25
tags: added: reviewedbydesign
removed: udo
tags: added: reviewedbydesigno
removed: reviewedbydesign
Changed in unity:
milestone: backlog → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers