cannot restore window from launcher by clicking its icon after minimizing it

Bug #944970 reported by esed
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
conky (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I maximize application window and then minimize it, it cannot be restored from launcher when clicking application icon and when there are no other windows on workspace.

Global menu still keeps the title of window (not the default desktop menu "Ubuntu Desktop") after minimizing the application and I have to click on desktop or on somewhere else and after that the application can be restored.

To reproduce bug:

1. Make sure all opened applications' windows are minimized and that there are no any windows on workspace (don't use "Show Desktop")
1. Launch a firefox, movie player or some other app
2. Maximize it
3. Minimize it (notice the global menu still keeps the title of application)
4. Click on application's icon on launcher (application doesn't restore)
5. Click on desktop (global menu now shows "Ubuntu Desktop")
6. Click on application's icon on launcher again (now application gets restored)

EDIT: After a bit more testing, it appears that application's window doesn't have to be maximized before minimizing it in order to reproduce bug.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.4.0+bzr2047ubuntu0+654 [origin: LP-PPA-unity-team]
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.94-0ubuntu1
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,mousepoll,wall,grid,move,vpswitch,resize,imgpng,gnomecompat,regex,place,commands,animation,fade,workarounds,session,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
CrashDB: unity
Date: Fri Mar 2 17:46:37 2012
DistUpgraded: Log time: 2012-02-24 19:37:56.146945
DistroCodename: precise
DistroVariant: ubuntu
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI M64-S [Mobility Radeon X2300] [1002:7188] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company 6910p [103c:30c1]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Hewlett-Packard HP Compaq 6910p
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-generic root=UUID=dd06ade6-b2e4-4133-9095-abf5c0073779 ro quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: Upgraded to precise on 2012-03-01 (0 days ago)
dmi.bios.date: 06/14/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68MCD Ver. F.15
dmi.board.name: 30C1
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 68.35
dmi.chassis.asset.tag: CZC8334MYV
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68MCDVer.F.15:bd06/14/2008:svnHewlett-Packard:pnHPCompaq6910p:pvrF.15:rvnHewlett-Packard:rn30C1:rvrKBCVersion68.35:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6910p
dmi.product.version: F.15
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.7.0~bzr3025-r3034-p737~precise1
version.ia32-libs: ia32-libs 20090808ubuntu33
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
esed (th3-fault) wrote :
esed (th3-fault)
description: updated
Revision history for this message
esed (th3-fault) wrote :

Conky seems to be the cause of this behaviour, when it is not running everything works fine

Changed in unity:
status: New → Invalid
Revision history for this message
esed (th3-fault) wrote :

This shouldn't be happening no mather if conky is running or not, in Oneiric this wasn't happening, so I think it is a bug afterall.

Changed in unity:
status: Invalid → New
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

I can't reproduce this. Do you have desktop icons disabled? That can often result in weird issues like these.

Revision history for this message
esed (th3-fault) wrote :

No, desktop uses default settings. Here is the video, notice that everything works fine when I kill conky: http://youtu.be/filzWWJZldY

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Since Conky is clearly stealing focus here, but still not registering itself as a "window that can attract focus", the issue happens. Even GNOME2 and GNOME Shell would have similar issues with this.

Changed in unity:
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
Glen Shrubsall (stinkeye) wrote :

I don't think this is a conky bug, as you get the same focus behaviour when running
cairo-clock on the desktop.
Using "own_window_type override" instead of "own_window_type normal"
fixes the focus issue here.

Revision history for this message
cmc302a (cmolina11) wrote :

I don't know if this is the same bug, but almost the same happens to me. The slightly different behaviour is:

- After minimizing, the global menu still keeps the name and options of the application.
- Desktop CANNOT be clicked, so the menu remains the application's (even right-click menu is still the application's)
- Click on application's icon on launcher again (now application gets restored)
(Another way of restoring the app is with alt+tab or using the window switcher shortcut)

Ubuntu 12.04 LTS (64 bit) precise
unity -- version 5.18.0

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in conky (Ubuntu):
status: New → Confirmed
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.