hiding/restoring window from panel icon creates new window = bad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xchat (Ubuntu) |
Confirmed
|
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
NonfreeKernelMo
Package: xchat 2.8.4-0ubuntu5
PackageArchitec
ProcCmdline: xchat
ProcCwd: /home/ntucker
ProcEnviron:
PATH=/
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
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.