After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 90590 - Bug or misfeature? Metacity not showing "transient" windows on taskbar
Bug or misfeature? Metacity not showing "transient" windows on taskbar
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
: 90696 91118 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-08-13 00:01 UTC by J. J. Ramsey
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description J. J. Ramsey 2002-08-13 00:01:14 UTC
I'm not sure if this was intentional or not, but Metacity isn't showing
"transient" windows on the taskbar or the task menu in the GNOME menu
panel. While this is fine and dandy for truly transient windows like file
selection dialogs, it makes keeping track of things like Mozilla's download
dialogs a real pain. I have to shade Mozilla windows just to double-check
whether the downloads are done. Ugh.

If this is a bug, well, then it's a bug. If this is intentional, though, it
definitely qualifies as a misfeature.
Comment 1 Havoc Pennington 2002-08-13 01:55:09 UTC
The problem is that some transients definitely should not be shown,
such as input methods. If you look at the closed bugs you'll find one
with a lot of discussion about this change. (The change is actually in
libwnck not metacity, though. Metacity doesn't do the taskbar.)

So, some transients it might be nice to show, some it might be nice
not to show. A preference would make users choose which set of
breakages they want, which is IMO quite wrong. We should instead 
have stable/predictable behavior so app programmers can get it right.

The "don't show any transients" approach is one, the other is to 
show transients by default, but let apps set the skip_taskbar hint
on particular transients. But most current input methods etc. 
don't set this hint.

Anyway any choice here will break something, which in my mind means
we should do what we think is the right long-term state, keep that 
stable, and let apps adapt to it.
Comment 2 J. J. Ramsey 2002-08-13 12:30:59 UTC
What Metacity--or libwnck, whatever--did before had worked just fine.
If by "input methods", you mean things like file selection dialogs,
then I can't see any great loss in having them show up on the taskbar.
Transient windows that are *really* transient, such as file selection
dialogs or error message dialogs, can't clutter up the taskbar for
long, anyway, since they aren't around all that long.
Comment 3 Havoc Pennington 2002-08-13 15:36:35 UTC
Input methods are used to input text in Chinese and Japanese and other
languages, they aren't dialogs at all.
Comment 4 Luis Villa 2002-08-15 01:51:23 UTC
*** Bug 90696 has been marked as a duplicate of this bug. ***
Comment 5 Havoc Pennington 2002-08-18 21:55:11 UTC
*** Bug 91118 has been marked as a duplicate of this bug. ***
Comment 6 Havoc Pennington 2002-08-18 22:04:28 UTC
The original bug with discussion is bug #83483. Everyone should read
that discussion before adding comments here. (Also, no <aol> comments
please ;-) add substantive info...

It seems the complaint everyone has with current behavior is with
Mozilla download dialogs. 

The basic point here is, either input methods or mozilla need to change. 
(Or we need to hardcode a workaround for one in metacity.)
The argument on original bug #83483, made by Calum, is that mozilla
download dialogs should be changed.

I think I agree with Calum on this, we should fix mozilla vs. fixing
input methods. 

Conveniently, mozilla developers already agree on this and have 
already filed a bug report:
http://bugzilla.mozilla.org/show_bug.cgi?id=65508

So, if the only argument here is about mozilla download dialogs, I
think we should call this a mozilla bug. If there are examples of
genuine dialogs that should be in the window list, then that would 
be new information we should consider. I think most things that should
be in the window list probably are not really dialogs, though, much
like the moz download dialogs.
Comment 7 Olivier Crête 2002-08-18 23:27:03 UTC
Comment from a GnomeICU developer.. Should we change windows we wamt
to show in the taskbar (message windows) to use gtkwindow instead of
gtkdialog, is there a way to make gtkdialogs appear in the tasklist?

And for as long as moz isnt fixed, it would be nice to be able to
revert to the previous behavior.
Comment 8 Havoc Pennington 2002-08-19 00:59:50 UTC
For the GnomeICU windows, it doesn't depend only on this; dialogs will
have other behaviors, such as being centered by default, staying on
top of their transient parent, etc. The right thing to do is that if
the window "is" a dialog you mark it as such, and then you let the
desktop figure out how to treat it. The point about the mozilla
download dialogs is that they are not really dialogs, i.e. should be
treated as main windows. This is a combination of wanting them in the
tasklist, not wanting them to stay on top of a transient parent, etc.

> And for as long as moz isnt fixed, it would be nice to be able to
> revert to the previous behavior.

You could just as logically say "as long as metacity isn't changed, it
would be nice to fix mozilla's behavior," as far as I can see.

A preference is long-term clutter that has to be supported, prefs
shouldn't be introduced with the expectation that they'll vanish in a
month.
Comment 9 Ghee Teo 2002-09-18 11:44:38 UTC
Okay, I read #83483 and realised the cost of popping up an entry into
tasklist every keystrokes. But I still think this is a compromise,
because I have popped up a Sessions preferences dialog and testing
whether a program is SM aware, then found that I have to pop up
anotherone because I thought I have closed the previous dialog.
Basically, the experience is simply of a surprise! (unpredictable
consistency)
Comment 10 Havoc Pennington 2002-09-18 14:10:37 UTC
There's a better fix in the works, that omits windows transient for an
application window from tasklist, instead of any window marked as a
dialog. This means for example control panels will show up in the
tasklist.
Comment 11 Havoc Pennington 2002-09-21 14:45:32 UTC
Fix committed where only true transients skip the tasklist, rather than 
"any dialog"