! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Java Swing windows disappearing from Task List (and Icon box)
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Window Buttons

Comments

Description Oliver Doepner 2009-03-02 13:58:29 CET
Created attachment 2207 
Screenshot with both jEdit windows in the Task List

This is on Ubuntu Intrepid (xfce4-panel version: 4.4.2-6ubuntu2)

PROBLEM: When I work with Java GUI applications (that use the Java Swing toolkit) window buttons for those apps disappear from the Task List (and also from the "Icon Box"), even though I can see that the windows still exist (using the "wmctrl" tool).

HOW TO REPRODUCE:

One simple scenario:

1) Install jEdit and wmctrl:
$> sudo apt-get install jedit wmctrl

2) Start jEdit
$> jedit

3) In jEdit goto "View" - "New View" (opens a second Jedit window)

At this point I have two jEdit entries in the task list (both titled "jEdit - Untitled-1"). (see attachment "before.png")

4) Then in one of the jEdit windows do "File" - "Save As ..." (and then "Cancel" the "Save As ..." dialog)

The corresponding jEdit window button disappears from the task list, as soon as the file selection dialog opens.

5) Do the same with the other jEdit window ("File" - "Save As ..." and "Cancel" the dialog).

At this point both (i.e. all) jEdit windows have disappeared from the task list. (see attachment "after.png")

6) I can verify that the windows still exist (see screenshot "after.png"):
$> wmctrl -l

Similar things happen with other Java Swing applications.

My current workaround is to activate the window(s) using wmctrl:
$> wmctrl -i -a [window-id]
Comment 1 Oliver Doepner 2009-03-02 14:00:15 CET
Created attachment 2208 
Screenshot after both jEdit windows have disappeared from the Task List

Please note the "wmctrl -l" output in the Terminal window
Comment 2 Oliver Doepner 2009-03-02 14:03:56 CET
Comment on attachment 2207 
Screenshot with both jEdit windows in the Task List

><HTML><BODY><IMG height="384" width="542" src="http://bugzilla.xfce.org/attachment.cgi?id=2207" alt="http://bugzilla.xfce.org/attachment.cgi?id=2207" style="cursor: -moz-zoom-in;"/></BODY></HTML>
Comment 3 Oliver Doepner 2009-03-02 14:10:57 CET
Created attachment 2209 
[before.png] - showing both jEdit windows in the task list

- Screenshot of the whole desktop -
Comment 4 Oliver Doepner 2009-03-02 14:12:40 CET
Created attachment 2210 
[after.png] - showing the desktop after both jEdit windows disappeared from the panel

- Please note the Terminal window with the "wmctrl -l" output -
Comment 5 Oliver Doepner 2009-03-02 14:20:35 CET
At first, I accidentally attached 2 screenshots that only showed the currently active window (which was a terminal window). Sorry about that.

Now I have attached 2 proper screenshots that show the full desktop.
Comment 6 Nick Schermer editbugs 2009-03-03 07:43:55 CET
The 4.4 release is not maintained anymore. In Xfce 4.6 we switched the backend to libwnck (gnome tasklist) so there is a good change this is fixed.
Comment 7 Oliver Doepner 2009-03-03 14:08:32 CET
It is interesting that you stopped maintaining 4.4.x already.

As far as I know, 4.6 was only released in February 2009, e.g. a few weeks ago. 

I know you are an Open Source / Free Software project based mostly on volunteers and your maintenance policies are totally up to you.

But what would you suggest as a solution in my case?

I use Ubuntu 8.10 and I have to work efficiently with Java applications.
I like XFCE and I want it to be my standard desktop environment. Currently this bug in 4.4 is a showstopper for me.

I also want to recommend XFCE to others (i.e. my coworkers who are mostly Java Developers). But I cannot really do that because most of them would not want to build 4.6 from source, without dependency management, etc.

Are there any distributions that include pre-built 4.6 packages yet? Are there deb packages for Debian 5 or Ubuntu 8.10 available?

Thanks for your good work and your help in building XFCE which is really great!
Comment 8 Nick Schermer editbugs 2009-03-03 14:39:02 CET
Yes I know, it sounds a bit harsh, but we're maintaining Xfce with only 5 developers, and atm. I'm the only one maintaining the panel (4.6, but also working on the 4.8 panel) and since there will be no 4.4 releases...

You can find debian packages here: http://www.corsac.net/index.php?rub=xfce
Not sure about ubuntu packages, probably floating around somewhere, i guess.
Comment 9 Oliver Doepner 2009-03-03 19:08:29 CET
Thank you for your help
Comment 10 Nick Schermer editbugs 2009-03-03 19:52:42 CET
I'll leave the bug open, maybe I come up with a fix when I'm bored.
Comment 11 Nick Schermer editbugs 2010-02-27 15:08:55 CET
Devel branch has been merged in master. A 4.7.0 release will follow soon. If you think this bug is not fixed? Feel free to reopen the bug.

Bug #5027

Reported by:
Oliver Doepner
Reported on: 2009-03-02
Last modified on: 2010-02-27

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information