Bug 203309 - Enh: metacity should expose window decoration buttons via ATK
Summary: Enh: metacity should expose window decoration buttons via ATK
Alias: None
Product: Fedora
Classification: Fedora
Component: metacity
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact:
Whiteboard: bzcl34nup
Depends On:
Blocks: 169147
TreeView+ depends on / blocked
Reported: 2006-08-21 02:04 UTC by Yan Tian
Modified: 2014-06-18 09:08 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2008-04-04 14:58:18 UTC

Attachments (Terms of Use)
Screenshot (35.92 KB, image/png)
2006-08-24 01:20 UTC, Yan Tian
no flags Details

Description Yan Tian 2006-08-21 02:04:57 UTC
Description of problem:
When debugged the script gnome-panel-test-starting-every-app.py in RHEL4-U3
system, sniff can't catch the 'Close Window' of applications. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. wrote script to quit application.
2. clicked 'Quit' or clicked 'Close' or clicked 'Cancel' to quit application.
3. if sniff can catch the 'Close Window' of each application, it would be easy
to quit the application.
Actual results:
can not catch the 'Close Window' signal

Expected results:
can catch the 'Close Window' signal

Additional info:

Comment 1 Zack Cerza 2006-08-23 18:15:04 UTC
I'm not sure what you're asking for here. It looks like you want to be able to
know when a window is closed, but I'm not sure exactly why or how you would want
that to look in a script.

Comment 2 Yan Tian 2006-08-24 01:20:40 UTC
Created attachment 134764 [details]

Comment 3 Yan Tian 2006-08-24 01:29:46 UTC
This bug was a suggestion.

Sniff can't catch the 'Close Window' signal of 'title bar'. 

For example, viewed the attachment of gnome-cd application:
Click 'Close Window' of 'title bar' of click 'Close' of 'Window menu' may quit
the  application. But sniff can't catch both signals.

Comment 4 Zack Cerza 2006-09-05 16:53:22 UTC
I see; the problem here is that metacity is not accessible. If it could expose
the right information, we would be able to use it. Reassigning to metacity.
Marking as low severity so Sören isn't too bothered by the bug staying open :)

Comment 5 Søren Sandmann Pedersen 2006-09-06 20:22:49 UTC
This is really much much more likely to be fixed if filed upstream. I am almost
certainly not going to fix it downstream.

Are you really sure metacity is the right place to fix it? It sounds to me like
what is desired is a way to trigger the "delete_event" signal from inside

Comment 6 Zack Cerza 2006-09-08 18:37:26 UTC
I don't expect you to fix it downstream :)

The reason it seems to make sense for metacity to have accessibility support is
that we could also really use things like being able to move windows around. If
we knew for sure where the decorator was, we could just send mouse events to
drag it.  Also, eventually maximize et. al. would be nice.

Comment 7 Søren Sandmann Pedersen 2006-09-08 18:46:48 UTC
But essentially everything interesting you can do to windows is already exposed
through libwnck. You can move/resize/maximize/close/etc. That's how the various
pagers and window menus work.

Comment 8 Bug Zapper 2008-04-03 18:00:10 UTC
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 9 Zack Cerza 2008-04-04 14:58:18 UTC
CANTFIXing this as it's an upstream problem...

Note You need to log in before you can comment on or make changes to this bug.