unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Adam Sjøgren" <asjo@koldfront.dk>, 27399@debbugs.gnu.org
Subject: bug#27399: 26.0.50; Tooltips displayed on images in shr do not line wrap
Date: Fri, 16 Jun 2017 18:52:27 +0200	[thread overview]
Message-ID: <871sqjri2c.fsf@rosalinde> (raw)
In-Reply-To: <8760fvrihf.fsf@rosalinde> (Stephen Berman's message of "Fri, 16 Jun 2017 18:43:24 +0200")

On Fri, 16 Jun 2017 18:43:24 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:

> On Fri, 16 Jun 2017 19:30:13 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>
>>> From: asjo@koldfront.dk (Adam Sjøgren)
>>> Date: Fri, 16 Jun 2017 18:05:27 +0200
>>> 
>>> 
>>> When displaying tooltips (the content of an HTML title attribute, for
>>> instance) with long texts, the text is not line wrapped.
>>> 
>>> Here is a screenshot from an xkcd comic, showing the problem:
>>> 
>>>  · https://koldfront.dk/misc/gnu-emacs//gnus_shr_long_titles_wasnt_this_fixed.png
>>> 
>>> Tooltip texts should be line wrapped, because otherwise you can't read
>>> the entire text. It used to be, as far as I remember, so this is
>>> probably a regression.
>>
>> Are you sure you saw lines wrapping in tooltips?  AFAIR, text shown in
>> a tooltip should be preformatted to not require wrapping.
>
>> From the screenshot this looks like it's using the GTK+ system tooltip,
> and I can confirm the observation with x-gtk-use-system-tooltips set to
> t (the default).  But when I set this variable to nil to use the builtin
> Emacs tooltip, the tooltip does have wrapped lines.

To be more precise: with the built-in Emacs tooltips, the text of the
tooltip in the above screenshot is displayed in four lines, not with
word-wrapping but wrapping at the tooltip window's edge.

Steve Berman





  reply	other threads:[~2017-06-16 16:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-16 16:05 bug#27399: 26.0.50; Tooltips displayed on images in shr do not line wrap Adam Sjøgren
2017-06-16 16:30 ` Eli Zaretskii
2017-06-16 16:43   ` Stephen Berman
2017-06-16 16:52     ` Stephen Berman [this message]
2017-06-16 17:26   ` Adam Sjøgren
2017-06-22  1:16     ` Glenn Morris
2017-06-22 14:45       ` Adam Sjøgren
2017-06-22 14:47         ` Adam Sjøgren
2017-06-22 18:13           ` Glenn Morris

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=871sqjri2c.fsf@rosalinde \
    --to=stephen.berman@gmx.net \
    --cc=27399@debbugs.gnu.org \
    --cc=asjo@koldfront.dk \
    --cc=eliz@gnu.org \
    /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).