some windows do not appear in the window list

Bug #144406 reported by SebastienBarthelemy
318
This bug affects 70 people
Affects Status Importance Assigned to Milestone
Compiz
Unknown
Unknown
libwnck
Confirmed
Medium
Fedora
Won't Fix
Medium
compiz (Ubuntu)
Fix Released
Low
Didier Roche-Tolomelli
libwnck (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gnome-panel

Sometimes, I can't find one of the windows I'm working on in the window list (on the panel). However, If I reduce the window its button appears back in the window list.

See the attached screenshots, in the first, the editor button is missing.

I'm using compiz 0.5.3, gnome-panel 1:2.20.0.1-0ubuntu2 and 'window list' 2.20.0.1 as packaged with ubuntu Gutsy. I'm not sure which package I should file this bug against.

Revision history for this message
SebastienBarthelemy (barthelemy) wrote :
Revision history for this message
SebastienBarthelemy (barthelemy) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What application is "editor"? Do you get the issue if you don't run compiz?

Changed in gnome-panel:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
SebastienBarthelemy (barthelemy) wrote :

"editor" is the matlab (r2007b) file editor. It is a java GUI.

I tried with metacity, I still have a strange behaviour with that particular window. I can't remember experiencing the problem with another window, therefore this may be a matlab problem.

Is there anyway to be sure ?

Changed in gnome-panel:
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

can you run wnckprop, click on the not listed dialog and attach the informations to a comment?

Revision history for this message
SebastienBarthelemy (barthelemy) wrote :

I upgraded to Hardy Heron and Matlab 2008a and still have the same problem (I use Desktop Effects, I have tried without them)

here is the requested information:

$ LANG=C wnckprop
Name: Editor - /home/seb/Devel/arboris/trunk/arboris/graphic/arb_widgetboundedvalueslider.m
Icon Name: Editor - /home/seb/Devel/arboris/trunk/arboris/graphic/arb_widgetboundedvalueslider.m
Icons: set
On Workspace: 0 ("Espace de travail 1")
On Screen: 0 (Window Manager: compiz)
Window Type: normal window
Geometry (x, y, width, height): 36, 25, 812, 875
Class Group: com-mathworks-util-PostVMInit
XID: 56623574
PID: <unset>
Session ID: <unset>
State: normal
Possible Actions: move, resize, shade, unshade, stick, unstick, maximize horizontally, unmaximize horizontally, maximize vertically, unmaximize vertically, change workspace, pin, unpin, minimize, unminimize, maximize, unmaximize, change fullscreen mode, close, make above, unmake above, make below, unmake below

Revision history for this message
Jan Van Besien (janvanbesien) wrote :

I constantly have the same problem (hardy with compiz enabled) with java applications such as intellij IDEA.

Name: s3ptms-proxy - [/home/jvb/javaprj/legacy-jntc/trunk/proxies/s3ptms] - [s3ptms-proxy] - .../pom.xml - IntelliJ IDEA (Diana) #8418
Icon Name: s3ptms-proxy - [/home/jvb/javaprj/legacy-jntc/trunk/proxies/s3ptms] - [s3ptms-proxy] - .../pom.xml - IntelliJ IDEA (Diana) #8418
Icons: set
On Workspace: 0 ("Desk 1")
On Screen: 0 (Window Manager: compiz)
Window Type: normal window
Geometry (x, y, width, height): 31, 0, 1649, 1025
Class Group: java-lang-Thread
XID: 69207831
PID: <unset>
Session ID: <unset>
State: maximized
Possible Actions: move, resize, shade, unshade, stick, unstick, maximize horizontally, unmaximize horizontally, maximize vertically, unmaximize vertically, change workspace, pin, unpin, minimize, unminimize, maximize, unmaximize, change fullscreen mode, close, make above, unmake above, make below, unmake below

Revision history for this message
Busby (mobusby) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for sent it upstream Jacob.

Changed in libwnck (Ubuntu):
status: New → Triaged
Changed in libwnck:
status: Unknown → New
Revision history for this message
Jakob Unterwurzacher (jakobunt) wrote :

The workaround from comment 8 makes matlab crash on startup.
So this is essentially unsolved without any workaround.

1 jakob@black:/tmp$ export AWT_TOOLKIT=MToolkit
0 jakob@black:/tmp$ matlab
Unable to initialize com.mathworks.mwswing.MJStartup
Fatal Error on startup: Failure loading desktop class
1 jakob@black:/tmp$

Revision history for this message
Christoph Buchner (bilderbuchi) wrote :

when compiz is off I don't have this issue, but with compiz i do.
should this bug also be attached to compiz?

Revision history for this message
jmrk (joergen-kornfeld) wrote :

this affects me as well and is very annoying, especially if you have multiple screens.

Revision history for this message
GokulChittaranjan (gokulchittaranjan) wrote :

I have this issue irrespective of whether compiz is turned on or off, on a single workspace, single screen with Matlab windows.

Running Ubuntu 10.04 x86_64

Revision history for this message
CarlosRuiz_globalqss (carg67) wrote :

$ cat /etc/issue
Ubuntu 9.10
$ uname -a
Linux qssacer 2.6.31-20-generic-pae #57-Ubuntu SMP Mon Feb 8 10:23:59 UTC 2010 i686 GNU/Linux
$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode, sharing)

Running Adempiere
This program open several windows - every window opened appears in the gnome-panel.
When opening a modal dialog box - all the windows disappear but one (wich is right as the other windows are not navigable), and when closing the dialog, this window also disappear from the gnome-panel, or it disappear when closed.
Navigating with alt-tab and minimizing restore the gnome-panel as suggested above.

Confirming that disabling compiz everything works fine.

Regards,

Carlos Ruiz
http://www.adempiere.com/index.php/User:CarlosRuiz

Revision history for this message
Piotr Bentkowski (pietruszka23) wrote :

Ubuntu 9.10 (Karmic) 32-bit with all the current updates
3D-accelerated proprietary graphics driver for ATI cards is on.

$ uname -a
Linux piotr-desktop 2.6.31-20-generic-pae #58-Ubuntu SMP Fri Mar 12 06:25:51 UTC 2010 i686 GNU/Linux

$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK Server VM (build 14.0-b16, mixed mode)

Problem shows up when running Matlab R2009b 32-bit . When Compiz is running and more than one Matlab window is opened sometimes one or two Matlab windows disappear from GNOME panel. They are available through Alt+Tab or Turbo+Tab. When Compiz is disabled it works OK.

BTW, Scilab 5.2.1 seems to work fine, though it's build around Java graphics as well.

  Cheers,
 Piotr

Revision history for this message
Piotr Bentkowski (pietruszka23) wrote :

> BTW, Scilab 5.2.1 seems to work fine, though it's build around Java graphics as well.

 I take it back! On a different machine I had similar issues when running Scilab 5.2.1 (64-bit Linux version) demos presenting Xcos and Modelica (Scilab's counterpart of Simulink in Matlab).

I opened main window (Console), then clicked ? > Scilab Demonstration. A new window popped out and then went Xcos > Modelica demos > Ball on platform (but can be any other demo from that category). It opened Xcos window with a Simulink style diagram. Then, in Xcos window, I've clicked Simulation > Start. Scilab compiled the model and when the information about successful compilation was prompted Xcos window with models diagram disappeared from the GNOME panel. Also window with demos menu disappeared. They were available through Alt+Tab or Turbo+Tab. Minimizing windows returned them to the panel.

Scilab 5 is available on licence considered free, so, contrary to Matlab, source code should be available.
http://www.scilab.org/

Ubuntu 9.10 (Karmic) 64-bit with all the current updates
NVIDIA graphic card with property drivers enabled
Compiz enabled
$ uname -a
Linux ubuntu-user 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux
$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Hope it will be helpful.
 Piotr

Revision history for this message
Benny (benny-colyn-gmail) wrote :

Still occurs in lucid beta2

Always reproducible in IntelliJ IDEA 9 (both in FOSS Community Edition and Ultimate edition):

1) Open any project
2) Open a second project in new window
3) Menu File -> New window & cancel the dialog that comes

-> the window from which you opened the dialog is gone, and only comes back when minimized

Revision history for this message
Benny (benny-colyn-gmail) wrote :

apologies that should have been File -> New project.

Also, it does not occur when the other project windows are minimized when the New project dialog is launched.

java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)

compiz enabled

2.6.32-19-generic #28-Ubuntu SMP Thu Apr 1 10:39:41 UTC 2010 x86_64 GNU/Linux

(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 2.9.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0

Revision history for this message
NTA (sakovias) wrote :

I came across this bug in Matlab R2008a and R2009b under Ubuntu 9.04 and 9.10. The application may disappear from gnome panel if you minimize the window. If you use Alt-Tab and show desktop Ctrl-Alt-d the problem does not show up.

Switching from Compiz to Metacity
$ metacity --replace
fixes the problem for me. Compiz provides nice desktop effects, so I think going back to Metacity is not a solution: the solution is to fix Compiz.

$ uname -a
Linux zver 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK Server VM (build 14.0-b16, mixed mode)

Revision history for this message
arielUBA (arielandres-hotmail) wrote :

This bug also occurs in Ubuntu 10.04 LTS.

Revision history for this message
crypticresponse (crypticresponse) wrote :

Running IntelliJ IDEA and setting AWT_TOOLKIT="MToolKit" makes no difference for me when using java-6-openjdk and fails to start when using java-6-sun.

uname -a
Linux ragux 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux

Running on Ubuntu 10.04 LTS (Lucid Lynx).

Changed in libwnck:
status: New → Confirmed
Revision history for this message
Julien Nicoulaud (nicoulaj) wrote :

I opened a bug on Compiz bug tracker:
http://bugs.opencompositing.org/show_bug.cgi?id=1316

Revision history for this message
In , Sandro (sandro-redhat-bugs) wrote :

Description of problem:
Opening modal dialogs in some java programs (Matlab, Maple, Intellij Idea, etc) causes the entries in the window list belonging to the program to disappear.

Version-Release number of selected component (if applicable):
compiz-0.8.6-1.fc13.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open one of the above java applications (possibly also other)
2. Open a modal dialog (for instance a open / save dialog)
3. Notice window list entries disappearing

Additional info:
Upstream bug report: http://bugs.opencompositing.org/show_bug.cgi?id=1316
Patch commit: http://cgit.compiz.org/compiz/plugins/workarounds/commit/?h=compiz-0.8&id=79f11ed2cd71d2155a5e04aa8803c56633b212bb

Changed in libwnck:
importance: Unknown → Medium
Revision history for this message
Paul Griffiths (pgriffiths) wrote :

I can confirm that this bug affects Scilab 5.3 betas. All but one scilab application window disappear from the gnome panel window list whenever a modal dialog box is invoked. A bug was already posted on scilab bugzilla: http://bugzilla.scilab.org/show_bug.cgi?id=8308.

Revision history for this message
Paul Griffiths (pgriffiths) wrote :

There seems to be a fix (or at least workaround) in compiz. See the patch commit:

http://cgit.compiz.org/compiz/plugins/workarounds/commit/?h=compiz-0.8&id=79f11ed2cd71d2155a5e04aa8803c56633b212bb

Revision history for this message
Sebastien Bacher (seb128) wrote :

Didier, could you make sure that lands in natty?

Changed in libwnck (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Changed in compiz (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Paul Griffiths (pgriffiths) wrote :

I can confirm that the patch to compiz mentioned above resolves the issue. For the impatient, it is possible to apply the patch, and it can be done without rebuilding compiz entirely from source. Only the workarounds module (located in libworkarounds.so) must be rebuilt. I have tested the following with Ubuntu 10.04 32-bit and compiz-0.8.6. I assume compiz 0.8.4 is installed initially:

1. Upgrade to compiz 0.8.6

sudo add-apt-repository ppa:compiz/ppa && sudo apt-get update
sudo apt-get upgrade

2. Install compiz option code generator (bcop) and compiz development files (headers)

sudo apt-get install compiz-dev compiz-fusion-bcop

3. Download the main plugins here: http://releases.compiz-fusion.org/components/plugins-main/compiz-plugins-main-0.8.6.tar.gz and extract

tar xfvz compiz-plugins-main-0.8.6.tar.gz

4. Patch src/workarounds/workarounds.c and metadata/workarounds.xml.in with the attached patches :

tar xvfz compiz-plugins-main-0.8.6.tar.gz
patch src/workarounds/workarounds.c src/workarounds/workarounds.c.patch
patch metadata/workarounds.xml.in metadata/workarounds.xml.in.patch

or get the patches directly from:

http://cgit.compiz.org/compiz/plugins/workarounds/commit/?h=compiz-0.8&id=345c430f991d95475478df5d3db7435eb08b8d1e
http://cgit.compiz.org/compiz/plugins/workarounds/commit/?h=compiz-0.8&id=79f11ed2cd71d2155a5e04aa8803c56633b212bb

5. Configure, build and install

In compiz-plugins-main-0.8.6:

./configure --prefix=/usr
cd src/workarounds
make && [sudo] make install

6. Restart compiz or reboot. Enable JavaTaskBarFix in the workarounds module.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

It's fixed in natty with compiz 0.9.2.1. If it's not for you, please reopen the bug.

Changed in compiz (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Miklos Espak (espakm) wrote :

The patch does not work for me.
I followed the instructions of Paul, except the upgrade to compiz 0.8.6, since Ubuntu 10.10 already contains that version.
I enabled the Java fix in the CompizConfig window.
If I open two images with ImageJ, after the opening the second one, the main window disappears from the taskbar.
After minimizing all windows, it reappears.

Revision history for this message
AntoineM (antoine-merle) wrote :

The patch does not work for me either.
I am using Ubuntu 10.10 with compiz 0.8.6, after recompiling compiz does not seem to work correctly, window contours do not appear. They do reappear when switching back to metacity...

Revision history for this message
Paul Griffiths (pgriffiths) wrote :

One note of caution: the new option in workarounds is called "Java Taskbar Fix". There is a similarly named option "Java Window Fix" but that is different. Be sure that the new option is available and selected.

I have checked imagej and when I enable "Java Taskbar Fix", all windows remain on the taskbar. All but one go away when a modal dialog is opened, and when the dialog box is closed, they appear as expected. I have installed version 1.43I.

I am not familiar with windows contours that AntoineM mentions, but one solution may be to not build all of compiz. I was not successful in building compiz from source---although I didn't try too hard. Re-building just the workarounds shared library is much easier and less likely to break other parts of compiz.

Revision history for this message
Miklos Espak (espakm) wrote :

Thanks Paul, you were right.
The workaround was not completely installed, and I enabled the Java window fix.
To install the fix, you have to execute a "make install" command *also* in the metadata directory of the source. (That is missing from the instructions, but it should have been obvious, sorry.)

To AntoineM:
After the first failure I tried to install the compiz from the suggested PPA source. It depended on kdebase for some reason, what I did not want to install. At the end I had some packages installed from PPA (libdecoration0 probably), and some from the regular site. Compiz did not start, that was why the windows did not have borders.

http://ubuntu-utah.ubuntuforums.org/showthread.php?t=1593523

Remove the PPA site from /etc/apt/sources.list.d
# apt-get clean
# apt-get update
# apt-get remove --purge compiz compiz-fusion-bcop compiz-fusion-plugins-main compiz-gnome compiz-plugins compizconfig-backend-gconf compizconfig-settings-manager libcompizconfig0 python-compizconfig libdecoration0
# apt-get install compiz compizconfig-settings-manager

You do not need the PPA packages for this patch, the normal packages are perfect.

Revision history for this message
Niall Gallagher (npgall) wrote :

Finally this issue is fixed :)

I combined Paul and Miklos's findings into a script (attached), which should (YMMV) install the fix automatically on ubuntu 10.10.

Usage:

sudo sh fix_java_compiz.sh

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue should be fixed in the natty compiz version

Changed in libwnck (Ubuntu):
status: Triaged → Invalid
Revision history for this message
In , Sandro (sandro-redhat-bugs) wrote :

Created attachment 462122
Patch #1

Revision history for this message
In , Sandro (sandro-redhat-bugs) wrote :

Created attachment 462123
Patch #2

Patch0: workarounds.c.patch
Patch1: workarounds.xml.in.patch

and

%patch0 -p2
%patch1 -p2

tested and working.

Revision history for this message
Christoph Buchner (bilderbuchi) wrote :

Confirm that Niall's script is working correctly, error hasn't occured since! Thank you!

Revision history for this message
Matthijs Groen (matthijs-groen) wrote : Re: [Bug 144406] Re: some windows do not appear in the window list

The script gave errors about intltool..

if you have a clean installed Ubuntu 10.10,
you need also the intltool and build-essential packages.

On Tue, Nov 30, 2010 at 3:54 PM, Christoph Buchner <
<email address hidden>> wrote:

> Confirm that Niall's script is working correctly, error hasn't occured
> since! Thank you!
>
> --
> some windows do not appear in the window list
> https://bugs.launchpad.net/bugs/144406
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (461822).
>

Revision history for this message
NTA (sakovias) wrote :

The above solution by Miklos & Niall has worked for me on Ubuntu 10.10. Your help is greatly appreciated!

Revision history for this message
arielUBA (arielandres-hotmail) wrote :

It would be great if you could backport the compiz workaround to 10.04LTS.

Revision history for this message
Shrikant Sharat (shrikantsharat-k) wrote :

Niall's script worked great for me too.

However, it stopped in the middle complaining that it did not find the command `intltool-update`, so I had to do a `sudo apt-get install intltool` and re-run the script. Then it ran without any hiccups and fixed the issue for me.

Thanks Niall.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

This message is a notice that Fedora 14 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 14. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 14 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Revision history for this message
Santiago Roland (santiago-roland) wrote :

I still have this issue in Xubuntu 12.04 LTS with Matlab R2009a in the xfce4-panel. The main matlab window and the editor window. I have to use Alt+TAB shortcut to access de window because it dissapears from XFCE Panel. Any ideas?

Best Regards,

Revision history for this message
rmartinez (roberto-martinez-79) wrote :

In Xubuntu 13.10, Xubuntu 12.10, Xubuntu 12.04.3 LTS with different versions of Matlab (Matlab_R2008b_7.7_20_Linux, Matlab_R2010a_7.10_23_Linux, Matlab_R2011b_7.13_26_Linux, and Matlab_R2013a_8.1_29_Linux) this annoying thing of windows disappearing still happens...

Revision history for this message
Jason Monschke (jam4375) wrote :

Santiago and Roberto,

I have started a bug report for this issue relating to the xfce-panel here:

https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1192688

I also have been having similar problems in Xubuntu 12.04, 12.10, 13.04, 13.10. Pressing ALT+TAB does bring Matlab and other java windows back onto the panel but this is very annoying especially when you are using several different windows.

Revision history for this message
Norbert (nrbrtx) wrote :

I have this problem in Ubuntu 12.04.5 with Scilab 5.x.

Changed in fedora:
importance: Unknown → Medium
status: Unknown → Won't Fix
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.