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 347515 - Metacity does not react to _NET_STARTUP_ID changes
Metacity does not react to _NET_STARTUP_ID changes
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
trunk
Other All
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 328080 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-07-14 13:52 UTC by Vytas
Modified: 2006-08-07 18:03 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Metacity.diff (4.08 KB, patch)
2006-07-14 13:53 UTC, Vytas
none Details | Review
Metacity.diff (4.10 KB, patch)
2006-07-14 19:44 UTC, Vytas
committed Details | Review
Metacity2.diff (4.85 KB, patch)
2006-08-03 18:02 UTC, Vytas
reviewed Details | Review

Description Vytas 2006-07-14 13:52:40 UTC
Currently, metacity does not react to _NET_STARTUP_ID changes, only saves the new ID in a MetaWindow structure member. It should bring window to front, using workspace and timestamp recorded in the given Startup ID.
Comment 1 Vytas 2006-07-14 13:53:39 UTC
Created attachment 68928 [details] [review]
Metacity.diff
Comment 2 Elijah Newren 2006-07-14 14:50:51 UTC
*** Bug 328080 has been marked as a duplicate of this bug. ***
Comment 3 Vytas 2006-07-14 19:44:18 UTC
Created attachment 68943 [details] [review]
Metacity.diff

Corrects minor issues in a previous patch
Comment 4 Vytas 2006-08-03 18:02:46 UTC
Created attachment 70152 [details] [review]
Metacity2.diff

The above given patches do not work, if application is launched without startup-notification, i.e. only [fake] startup-id is set on a window. This patch corrects the issue, although is a bit hackish.
Comment 5 Elijah Newren 2006-08-07 18:03:13 UTC
Thanks for working on this!  As mentioned in email, I think the second patch is what we want.  The third one would require EWMH/startup-notification spec changes that I doubt others would agree to, since, as you said, it is a bit hackish.

2006-08-07  Elijah Newren  <newren gmail com>

	Patch from Vytautas Liuolia to react to _NET_STARTUP_ID changes,
	as proposed for the new startup-notification/EWMH spec.  #347515