unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "Óscar Fuentes" <ofv@wanadoo.es>, 22549@debbugs.gnu.org
Subject: bug#22549: 25.0.50; Tooltips placed outside of screen limits
Date: Thu, 04 Feb 2016 16:55:39 +0100	[thread overview]
Message-ID: <56B3747B.1000303@gmx.at> (raw)
In-Reply-To: <87zivh2k98.fsf@telefonica.net>

 > 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





  reply	other threads:[~2016-02-04 15:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04  4:05 bug#22549: 25.0.50; Tooltips placed outside of screen limits Óscar Fuentes
2016-02-04 15:55 ` martin rudalics [this message]
2016-02-04 16:20   ` Óscar Fuentes
2016-02-04 16:43     ` Eli Zaretskii
2016-02-04 17:05     ` martin rudalics
2016-02-04 19:16       ` Óscar Fuentes
2016-02-05 17:44         ` martin rudalics
2016-02-05 22:34           ` Óscar Fuentes
2016-02-06  9:30             ` martin rudalics
2016-02-05 23:52           ` Óscar Fuentes
2016-02-06  9:30             ` martin rudalics
2016-02-06 17:06               ` Óscar Fuentes
2016-02-06 18:09                 ` martin rudalics
2016-02-06 18:52                   ` Óscar Fuentes
2016-02-06 19:44                     ` martin rudalics
2016-02-06 19:49                       ` martin rudalics
2016-02-06 20:34                         ` Óscar Fuentes
2016-02-06 21:23                           ` Óscar Fuentes
2016-02-06 22:56                             ` martin rudalics
2016-02-06 23:22                               ` Óscar Fuentes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56B3747B.1000303@gmx.at \
    --to=rudalics@gmx.at \
    --cc=22549@debbugs.gnu.org \
    --cc=ofv@wanadoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).