GNU bug report logs - #2360
23.0.90; redirect-frame-focus induces translucent tooltips/frames

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Stephen Berman <stephen.berman@HIDDEN>; dated Tue, 17 Feb 2009 16:00:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 2360@HIDDEN:


Received: (at 2360) by emacsbugs.donarmstrong.com; 19 Feb 2009 16:32:54 +0000
From stephen.berman@HIDDEN Thu Feb 19 08:32:54 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1JGWn9L011154
	for <2360@HIDDEN>; Thu, 19 Feb 2009 08:32:50 -0800
Received: (qmail invoked by alias); 19 Feb 2009 16:32:42 -0000
Received: from i59F54989.versanet.de (EHLO escher.local.home) [89.245.73.137]
  by mail.gmx.net (mp009) with SMTP; 19 Feb 2009 17:32:42 +0100
X-Authenticated: #20778731
X-Provags-ID: V01U2FsdGVkX1+BdB84EVWBnDzMYkGkcvCN9V0GNdz9XiFFSEGwlk
	DGjkKbPFijR2zE
Received: by escher.local.home (Postfix, from userid 1000)
	id D9B3A1D1155; Thu, 19 Feb 2009 17:32:40 +0100 (CET)
From: Stephen Berman <stephen.berman@HIDDEN>
To: Jason Rumney <jasonr@HIDDEN>
Cc: 2360 <at> debbugs.gnu.org
Subject: Re: bug#2360: 23.0.90; redirect-frame-focus induces translucent tooltips/frames
References: <87tz6toy8g.fsf@HIDDEN> <499D7582.1080004@HIDDEN>
Sender: steve@HIDDEN
Date: Thu, 19 Feb 2009 17:32:40 +0100
In-Reply-To: <499D7582.1080004@HIDDEN> (Jason Rumney's message of "Thu, 19
	Feb 2009 23:06:42 +0800")
Message-ID: <87prhel74n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.58

On Thu, 19 Feb 2009 23:06:42 +0800 Jason Rumney <jasonr@HIDDEN> wrote:

> Stephen Berman wrote:
>> 3. M-: (redirect-frame-focus (selected-frame) (previous-frame))
>>    a. Move mouse cursor over a tool bar icon and observe that the
>>       tooltip is translucent and very light, barely visible.
>>    b. Type `C-x 5 2' and observe that the newly created frame is
>>       likewise translucent and barely visible.
>>   
>
>
> I can confirm that 3a is reproducible on Windows too (even without steps 1 and
> 2), but I do not see 3b (but that seemed to depend on font, font-size and
> font-backend in your tests, so maybe there is a different combination that can
> reproduce 3b on Windows).
>
> I would guess this was introduced when the transparency patch went in or some
> time after, rather than by the unicode merge.

This seems likely; indeed, when I start Emacs like this:

$ emacs -Q --eval "(setq default-frame-alist '((alpha . 30)))"

and then type `C-x 5 2', the newly created frame has about the same
appearance as what I see after calling redirect-frame-focus.
(Interestingly, and something I failed to notice in my OP, the tooltips
generated from the transparent frame are not transparent; i.e., in the
case of my OP, only the tooltips of the first frame are transparent).

Steve Berman




Acknowledgement sent to Stephen Berman <stephen.berman@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#2360; Package emacs. Full text available.

Message received at 2360@HIDDEN:


Received: (at 2360) by emacsbugs.donarmstrong.com; 19 Feb 2009 15:07:15 +0000
From jasonrumney@HIDDEN Thu Feb 19 07:07:15 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JF7AvJ017646
	for <2360@HIDDEN>; Thu, 19 Feb 2009 07:07:12 -0800
Received: by ti-out-0910.google.com with SMTP id 28so382429tif.1
        for <2360@HIDDEN>; Thu, 19 Feb 2009 07:07:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:sender:message-id:date:from
         :user-agent:mime-version:to:cc:subject:references:in-reply-to
         :content-type:content-transfer-encoding;
        bh=37oDZnBaiiB6zAOe2Fe+xuTwV/fs99MrqkIvJaPTmT4=;
        b=NYPLQvHgj11ZGyU94Qukj2PA72waCPy7eOFhRIn1mdFdnprL0/zF66HQsLLt2XaZjB
         oTW09Y4JqUn0K66suuM3DZV4fbIF2j0kobg8sd9+qG2Spp27Rij+85QMrOb+Wda4yDtx
         5SWG6n2ZkLMhFYo3SmCv8fnhlG8B8cUl5HDDU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject
         :references:in-reply-to:content-type:content-transfer-encoding;
        b=mz1y1zZeLI9RjTxOxCpGmtXi1srb3KQazVouSTVoKlMeeuKcLcKjwuJ34EKM+Ptdqu
         +KE2zjDPsIXCZUmU2Geehc5ea9m9jHkbnGyTclxpybyM+UWnxh2VW85YZi57V27dq3UR
         76b2XHfitxrVaqCWiuun8Xv/OxtdbJPQfhju4=
Received: by 10.110.37.3 with SMTP id k3mr2283241tik.45.1235056030333;
        Thu, 19 Feb 2009 07:07:10 -0800 (PST)
Received: from ?192.168.249.26? ([118.101.26.137])
        by mx.google.com with ESMTPS id d4sm1187579tib.28.2009.02.19.07.07.08
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 19 Feb 2009 07:07:09 -0800 (PST)
Sender: Jason Rumney <jasonrumney@HIDDEN>
Message-ID: <499D7582.1080004@HIDDEN>
Date: Thu, 19 Feb 2009 23:06:42 +0800
From: Jason Rumney <jasonr@HIDDEN>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Stephen Berman <stephen.berman@HIDDEN>, 2360 <at> debbugs.gnu.org
CC: emacs-pretest-bug@HIDDEN
Subject: Re: bug#2360: 23.0.90;	redirect-frame-focus induces translucent tooltips/frames
References: <87tz6toy8g.fsf@HIDDEN>
In-Reply-To: <87tz6toy8g.fsf@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Stephen Berman wrote:
> 3. M-: (redirect-frame-focus (selected-frame) (previous-frame))
>    a. Move mouse cursor over a tool bar icon and observe that the
>       tooltip is translucent and very light, barely visible.
>    b. Type `C-x 5 2' and observe that the newly created frame is
>       likewise translucent and barely visible.
>   


I can confirm that 3a is reproducible on Windows too (even without steps 
1 and 2), but I do not see 3b (but that seemed to depend on font, 
font-size and font-backend in your tests, so maybe there is a different 
combination that can reproduce 3b on Windows).

I would guess this was introduced when the transparency patch went in or 
some time after, rather than by the unicode merge.





Acknowledgement sent to Jason Rumney <jasonr@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#2360; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 19 Feb 2009 15:07:19 +0000
From jasonrumney@HIDDEN Thu Feb 19 07:07:18 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8 autolearn=unavailable
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JF7Fes017666
	for <submit@HIDDEN>; Thu, 19 Feb 2009 07:07:16 -0800
Received: from mail.gnu.org ([199.232.76.166]:40894 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <jasonrumney@HIDDEN>)
	id 1LaASY-0003bi-VR
	for emacs-pretest-bug@HIDDEN; Thu, 19 Feb 2009 10:05:07 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <jasonrumney@HIDDEN>)
	id 1LaAUb-0004lI-M3
	for emacs-pretest-bug@HIDDEN; Thu, 19 Feb 2009 10:07:14 -0500
Received: from ti-out-0910.google.com ([209.85.142.186]:41291)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <jasonrumney@HIDDEN>)
	id 1LaAUb-0004km-9r
	for emacs-pretest-bug@HIDDEN; Thu, 19 Feb 2009 10:07:13 -0500
Received: by ti-out-0910.google.com with SMTP id j3so300119tid.10
        for <emacs-pretest-bug@HIDDEN>; Thu, 19 Feb 2009 07:07:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:sender:message-id:date:from
         :user-agent:mime-version:to:cc:subject:references:in-reply-to
         :content-type:content-transfer-encoding;
        bh=37oDZnBaiiB6zAOe2Fe+xuTwV/fs99MrqkIvJaPTmT4=;
        b=NYPLQvHgj11ZGyU94Qukj2PA72waCPy7eOFhRIn1mdFdnprL0/zF66HQsLLt2XaZjB
         oTW09Y4JqUn0K66suuM3DZV4fbIF2j0kobg8sd9+qG2Spp27Rij+85QMrOb+Wda4yDtx
         5SWG6n2ZkLMhFYo3SmCv8fnhlG8B8cUl5HDDU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject
         :references:in-reply-to:content-type:content-transfer-encoding;
        b=mz1y1zZeLI9RjTxOxCpGmtXi1srb3KQazVouSTVoKlMeeuKcLcKjwuJ34EKM+Ptdqu
         +KE2zjDPsIXCZUmU2Geehc5ea9m9jHkbnGyTclxpybyM+UWnxh2VW85YZi57V27dq3UR
         76b2XHfitxrVaqCWiuun8Xv/OxtdbJPQfhju4=
Received: by 10.110.37.3 with SMTP id k3mr2283241tik.45.1235056030333;
        Thu, 19 Feb 2009 07:07:10 -0800 (PST)
Received: from ?192.168.249.26? ([118.101.26.137])
        by mx.google.com with ESMTPS id d4sm1187579tib.28.2009.02.19.07.07.08
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 19 Feb 2009 07:07:09 -0800 (PST)
Sender: Jason Rumney <jasonrumney@HIDDEN>
Message-ID: <499D7582.1080004@HIDDEN>
Date: Thu, 19 Feb 2009 23:06:42 +0800
From: Jason Rumney <jasonr@HIDDEN>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Stephen Berman <stephen.berman@HIDDEN>, 2360 <at> debbugs.gnu.org
CC: emacs-pretest-bug@HIDDEN
Subject: Re: bug#2360: 23.0.90;	redirect-frame-focus induces translucent tooltips/frames
References: <87tz6toy8g.fsf@HIDDEN>
In-Reply-To: <87tz6toy8g.fsf@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)

Stephen Berman wrote:
> 3. M-: (redirect-frame-focus (selected-frame) (previous-frame))
>    a. Move mouse cursor over a tool bar icon and observe that the
>       tooltip is translucent and very light, barely visible.
>    b. Type `C-x 5 2' and observe that the newly created frame is
>       likewise translucent and barely visible.
>   


I can confirm that 3a is reproducible on Windows too (even without steps 
1 and 2), but I do not see 3b (but that seemed to depend on font, 
font-size and font-backend in your tests, so maybe there is a different 
combination that can reproduce 3b on Windows).

I would guess this was introduced when the transparency patch went in or 
some time after, rather than by the unicode merge.





Acknowledgement sent to Jason Rumney <jasonr@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#2360; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 17 Feb 2009 15:54:34 +0000
From stephen.berman@HIDDEN Tue Feb 17 07:54:34 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HFsVbo010202
	for <submit@HIDDEN>; Tue, 17 Feb 2009 07:54:32 -0800
Received: from mail.gnu.org ([199.232.76.166]:48945 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <stephen.berman@HIDDEN>)
	id 1LZSFE-0004gd-Se
	for emacs-pretest-bug@HIDDEN; Tue, 17 Feb 2009 10:52:25 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <stephen.berman@HIDDEN>)
	id 1LZSHE-0004ap-7J
	for emacs-pretest-bug@HIDDEN; Tue, 17 Feb 2009 10:54:29 -0500
Received: from mail.gmx.net ([213.165.64.20]:34197)
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <stephen.berman@HIDDEN>)
	id 1LZSHD-0004aX-L8
	for emacs-pretest-bug@HIDDEN; Tue, 17 Feb 2009 10:54:28 -0500
Received: (qmail invoked by alias); 17 Feb 2009 15:54:25 -0000
Received: from i59F57E55.versanet.de (EHLO escher.local.home) [89.245.126.85]
  by mail.gmx.net (mp029) with SMTP; 17 Feb 2009 16:54:25 +0100
X-Authenticated: #20778731
X-Provags-ID: V01U2FsdGVkX1+9/yZmBOK9K86DSubrOsvQ/oxTNKYXnfQ/LX76Es
	8qAwgH3bgv/YAH
Received: by escher.local.home (Postfix, from userid 1000)
	id 7F2FC1D0FF5; Tue, 17 Feb 2009 16:54:23 +0100 (CET)
From: Stephen Berman <stephen.berman@HIDDEN>
To: emacs-pretest-bug@HIDDEN
Subject: 23.0.90; redirect-frame-focus induces translucent tooltips/frames
Sender: steve@HIDDEN
Date: Tue, 17 Feb 2009 16:54:23 +0100
Message-ID: <87tz6toy8g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.48
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4)

1. emacs -Q -fn "Dejavu Sans Mono-10"
2. Sanity check:
   a. Move mouse cursor over a tool bar icons and observe that the
      tooltips have their normal appearance.
   b. Type `C-x 5 2' and observe that the newly created frame has its
      normal appearance, the type `C-x 5 0'.
   c. M-: (eq (selected-frame) (previous-frame))
      => t
3. M-: (redirect-frame-focus (selected-frame) (previous-frame))
   a. Move mouse cursor over a tool bar icon and observe that the
      tooltip is translucent and very light, barely visible.
   b. Type `C-x 5 2' and observe that the newly created frame is
      likewise translucent and barely visible.

Subsequent frames created by typing `C-x 5 2' in the first frame all
have the same translucent appearance.  However, if I type `C-x 5 0' in
the first, normal-looking frame, thereby deleting it, then from the
translucent frame type `C-x 5 2', then the newly created frame has its
normal appearance, including tooltips, and typing `C-x 5 2' in this
frame creates a normal-looking frame.  (But now repeating step 3 again
has the same shadowy results as before.)

I don't know when this effect of redirect-frame-focus began (I guess
since the unicode merge, though I only started seeing it recently after
reactivating some old code I have that uses redirect-frame-focus); I do
not see it with Emacs 22.  Also, while I get the translucent tooltips
with both the x and xft font backends and regardless of font used, the
appearance of the translucent frame is more restricted: I see it with
-fn "Dejavu Sans Mono-10" with both backends, but only with the xft
backend with -fn "Dejavu Sans-10", -fn "Adobe Times-12" or -fn "Adobe
Helvetica-12" (the latter two are not defined under the x backend); with
other sizes of all of these fonts I don't get a translucent frame (but
still get translucent tooltips).


In GNU Emacs 23.0.90.3 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-02-14 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t




Acknowledgement sent to Stephen Berman <stephen.berman@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#2360; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.