Launcher - clicking on a App launcher icon incorrectly un-minimizes windows

Bug #783434 reported by John Lea
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Released
John Lea
Fix Released
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
Marco Trevisan (Treviño)

Bug Description

To reproduce:

1. Open three windows of the same app, say Chromium
2. Minimize two of those windows
3. Select the window of a different application, say Thunderbird
4. Click on the Chromium icon in the launcher.

What currently happens:
- The two minimized Chromium windows are restored (become un-minimized) and the previously open Chromium window is focused

What should happen:
- The previously open Chromium window should be brought into focus. The other two Chromium windows should remain minimized.


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

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

BamfLauncherIcon::Focus needs to be modified to ignore minimized windows on the current workspace unless every window on the current workspace is minimized.

 * Where to look: src/BamfLauncherIcon.cpp
 * Workflow information:

Related branches

John Lea (johnlea)
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
tags: added: udo
Changed in ayatana-design:
importance: Undecided → Critical
status: New → Fix Committed
Jason Smith (jassmith)
description: updated
Jason Smith (jassmith)
Changed in unity:
status: New → Confirmed
John Lea (johnlea)
Changed in ayatana-design:
status: Fix Committed → Fix Released
Jason Smith (jassmith)
Changed in unity:
importance: Undecided → High
assignee: nobody → Jason Smith (jassmith)
Jorge Castro (jorge)
tags: added: backlog
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
assignee: Jason Smith (jassmith) → Treviño (Marco Trevisan) (3v1n0)
status: Confirmed → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Treviño (Marco Trevisan) (3v1n0)
Neil J. Patel (njpatel)
Changed in unity:
milestone: none → 4.6.0
status: In Progress → Fix Committed
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 4.6.0-0ubuntu1

unity (4.6.0-0ubuntu1) oneiric; urgency=low

  * New upstream release.
    - compiz crashed with SIGSEGV in __strlen_sse2() (LP: #814619)
    - PlacesHomeView::PlacesHomeView leaks memory (LP: #818450)
    - PluginAdapter::MaximizeIfBigEnough leaks memory (LP: #818477)
    - Launcher - Make Launcher left of screen reveal more responsive and less
      prone to false positives (LP: #765819)
    - Launcher - clicking on a App launcher icon incorrectly un-minimizes
      windows (LP: #783434)
    - Unity doesn't get any mouse wheel scroll event in Indicators InputArea
      (LP: #814574)
    - Unity launcher gets cluttered when having multiple partitions and/or
      external volumes attached (LP: #713423)
    - Unity panel menus and indicators slow to respond. Too much lag.
      (LP: #742664)
    - In Unity the distinction between GVolume, GDrive and GMount is a bit
      confusing. (LP: #799890)
    - Launcher - When a item is deleted by dragging to Trash, the trash should
      pulse once before the Launcher disappears (LP: #750311)
    - ccsm needs an option to change launcher opacity (LP: #815032)
    - add a ccsm option to hide volumes in launcher (LP: #794707)
    - scale plugin doesn't work as desired when "Click Desktop To Show
      Desktop" is true (LP: #810315)
    - mute/unmute sound when user clicks on sound applet using scroll button
      or middle mouse button (LP: #609860)
    - Secondary activate (i.e. middle click) support for indicators advanced
      usage (LP: #812933)
  * debian/control:
    - dep on latest libunity-misc
    - dep on latest nux
    - add build-dep on libgnome-desktop-3-dev
  * debian/rules:
    - bump libunity-core-4.0-4 shlib for ABI break
    - don't ship unity dialogs right now. Not ready for alpha quality
  * distro-patch the grey to darker grey (until the blur is done in nux)
  * Switch to dpkg-source 3.0 (quilt) format
  * debian/patches/01_revert_removed_function_for_unity2d_to_build.patch:
    - revert a removed API making unity-2d not building
 -- Didier Roche <email address hidden> Mon, 01 Aug 2011 19:53:15 +0200

Changed in unity (Ubuntu):
status: In Progress → Fix Released
John Lea (johnlea)
tags: added: reviewedbydesigno
removed: udo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.