hiding/restoring window from panel icon creates new window = bad

Bug #247524 reported by ntucker on 2008-07-11
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xchat (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: xchat

When you hide and then show the xchat window using the icon on the gnome panel, apparently the app is actually destroying the window and creating a new one when you show it again. This is bad, because the window loses its window manager attributes, such as which desktop it should be displayed on.

Repro:
1) right click window title bar and change from "Only on this workspace" to "Always on visible workspace".
2) click the panel XChat icon in order to hide the window
3) click the panel XChat icon in order to show the window
4) note that the window manager's setting is back to "Only on this workspace". What should happen is that the window manager's setting stays. Presumably this is because the window was destroyed and created instead of minimized/hidden and restored.

Ubuntu Gutsy
xchat 2.8.4-0ubuntu5
xchat-common 2.8.4-0ubuntu5
xchat-gnome 1:0.18-0ubuntu3
xchat-gnome-common 1:0.18-0ubuntu3

ProblemType: Bug
Architecture: i386
Date: Fri Jul 11 02:02:40 2008
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/xchat
NonfreeKernelModules: ath_hal
Package: xchat 2.8.4-0ubuntu5
PackageArchitecture: i386
ProcCmdline: xchat
ProcCwd: /home/ntucker
ProcEnviron:
 PATH=/home/ntucker/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xchat
Uname: Linux twister 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

ntucker (ntucker-launchpad) wrote :
cactaur (vahag1991) wrote :

I can confirm this behavior on Ubuntu Hardy xchat 2.8.4-0ubuntu7. Though, interestingly enough, it was reproduced the first time on my machine. And all other times after, the window properties were remembered.

Changed in xchat:
status: New → Confirmed
Aanjhan Ranganathan (aanjhan) wrote :

Reproducible with "compiz fusion off" and not reproducible with "compiz fusion on" here.

Parthan SR (parth-technofreak) wrote :

I can also confirm on this behavior in xchat 2.8.4-0ubuntu7. But this was reproducible only when I turned off Extra effects, which also messed up my windows a bit. The bug was not reproducible under my normal desktop with compiz running.

Ketil Malde (ketil-ii) wrote :

Confirmed using XMonad WM on Lucid as well. The current behavior is annoying since it makes it difficult to organize applications in different workspaces.

I'd really prefer clicking the panel icon to switch desktops (i.e., jump to the XChat window), rather than minimizing the window, since I usually do this in response to a blinking icon (indicating there's a message for me).

This is still a problem with 10.10

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers