From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#22549: 25.0.50; Tooltips placed outside of screen limits Date: Thu, 04 Feb 2016 16:55:39 +0100 Message-ID: <56B3747B.1000303@gmx.at> References: <87zivh2k98.fsf@telefonica.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1454601388 25659 80.91.229.3 (4 Feb 2016 15:56:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 15:56:28 +0000 (UTC) To: =?UTF-8?Q?=C3=93scar?= Fuentes , 22549@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 16:56:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRMGU-0007n1-2o for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 16:56:14 +0100 Original-Received: from localhost ([::1]:42543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMGT-0006Q7-Ep for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 10:56:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMGL-0006PK-Kl for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 10:56:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRMGI-0007mO-U8 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 10:56:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMGI-0007mI-Q1 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 10:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRMGI-0000rE-F6 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2016 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22549 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22549-submit@debbugs.gnu.org id=B22549.14546013543283 (code B ref 22549); Thu, 04 Feb 2016 15:56:02 +0000 Original-Received: (at 22549) by debbugs.gnu.org; 4 Feb 2016 15:55:54 +0000 Original-Received: from localhost ([127.0.0.1]:60440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRMGA-0000qt-My for submit@debbugs.gnu.org; Thu, 04 Feb 2016 10:55:54 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:60435) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRMG9-0000qg-6m for 22549@debbugs.gnu.org; Thu, 04 Feb 2016 10:55:53 -0500 Original-Received: from [192.168.1.100] ([212.95.7.3]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LoJDJ-1ZpoaX0x6v-00gIrv; Thu, 04 Feb 2016 16:55:44 +0100 In-Reply-To: <87zivh2k98.fsf@telefonica.net> X-Provags-ID: V03:K0:zGVdJcoyFLp1lodhTjOQI+4O/VA88zqMdkMYCQD/wdVCk67wHFq XdwCXbFI4uuPJu8evFbVLtgp8CgJ3MLxE1vfiNGFEmDkzWr9me6cZdlqktibzm+nGb4Tj7C w0yenv2arttvt9qz5iPPGi0JIp/ZIOduV7X98YzGLOtb7gmV0jHp9Zq6wcgqEwJsCDqxI2R EuKhRsjEyV8uZu5NZeZOw== X-UI-Out-Filterresults: notjunk:1;V01:K0:xHkIqOIyHQM=:qTpxMTEJmetGMhuBQ0RNqv gEpxuRcGGlT2VpuD8HlzTEzfMzy0uvKFory6++HnOJD0NqjvnAAeFp+7FNwM8SJ+6mHL311N3 j5CLCqnv5P8KGcvcfdMFjvOkg3Norr61YnR2ODqqUmsTJbTA4ia+JbrcI+6s0bJs9IbYkNtpu yJaIK6BA7cnNK+YX1tOmiiU7v0ItrXZF2OTiAGjmxiuPv/Eh1w9ngi1TU0Q7fF/+LJ4spI/ao Of6Gc5hy0mNMCtJodhBweUA0yorjQJ725tOnc92Kk7scmb51CDm82VFPyDPuTaqJzoYbNvWK+ i91vFtHj7jLGblZ+DePRyvcKDMqzsxtMF1q/lDEnHfSvPEptv73JGOVAoaCCHw2MpmhC+fiG/ v4uOYc8CMTFjBtwaHbFBPjLxIhk53Z6q91BJJUAS9R/wueVvCQvFFI1A+1hynyswey8h9B0Ib leMZOCalgjqKo+jafFu6be1s2n9AV61vCDh+7Z7MGYd/BkoISGiBViPHqDxyKWIkYtOgLL6K3 +alu6e4xOkIaD/cuINX0huDLGURRk+pYIAJfm1NwtdobHeHp/INv8XQKKq5q+kBjnUnZ1kMU+ Gsn/5Eap8hgJXYKGzwvgmbv9ftFlOtqCGWEiz0fU8hc9pT0ECC4AqzmyDRv1v1Kaiowi8BuxP vPKT8RwZTVNIL0+BVJVxLQKKiEaGUWy6RQNfCw78qTKEWUcDpFohGtdoO3M9nW4BEE+fHvgkJ ktMsNf0W/jjcj44H9J0SQzdvlKzhp26RCfmr3kZgAmgria1XYvTapbKFinbovbC52RIMG/Ut X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112404 Archived-At: > emacs -Q > M-x toggle-frame-fullscreen > > Place the mouse pointer on some element of the mode line and wait for > the tooltip. The tooltip frame is partially invisible because its top > left coordinates are determined from the mouse pointer position and, as > it is positioned near the bottom of the screen, there is no room left > for the tooltip. > > A tooltip may also be partially hidden because it has no enough > horizontal space when the mouse pointer is near the right edge of the > screen. I cannot reproduce this. In any case the calculations for the x- and y-position of the tooltip take into account the size of the tooltip and the width and height of the display as can be easily seen from the code of compute_tip_xy. If you see any truncation of a tooltip at a certain position, please step with GDB through the respective part of the code to find out what happened. > The MS Windows port places the tooltips taking into account the screen > edges. So does the Lucid port. Something else must be at work here. martin