Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  6 Aug 2004 20:13:15 +0200 (CEST)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70087: Metacity 2.8.2 handling of new windows is problematic
Message-ID:  <20040806181315.A61BC22F2F@jsite.lefort.net>
Resent-Message-ID: <200408061820.i76IKIUi034254@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70087
>Category:       ports
>Synopsis:       Metacity 2.8.2 handling of new windows is problematic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 18:20:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jul 1 14:25:43 CEST 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
Metacity 2.8.2 implements the new freedesktop.org EWMH specification,
but that causes new windows of applications not supporting that
specification to appear below existing ones.

The problem is extremely annoying. I recommend to add the following
patch to the port (see
http://bugzilla.gnome.org/show_bug.cgi?id=149028 for a detailed
discussion of the issue).
>How-To-Repeat:
>Fix:
--- src/window.c	31 Jul 2004 21:26:05 -0000	1.333
+++ src/window.c	4 Aug 2004 15:55:42 -0000
@@ -1619,6 +1619,11 @@ window_takes_focus_on_map (MetaWindow *w
     case META_WINDOW_NORMAL:
     case META_WINDOW_DIALOG:
     case META_WINDOW_MODAL_DIALOG:
+      /* Don't do focus stealing stuff; lame cop-out while we work on
+       * fixing http://bugzilla.gnome.org/show_bug.cgi?id=149028
+       */
+      return TRUE;
+
       if (window->focus_despite_user_time)
 	return TRUE;
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040806181315.A61BC22F2F>