Photo Organizer

  • Status Closed
  • Percent Complete
  • Task Type Feature Request
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Devel
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Photo Organizer
Opened by Marcus Hinz - 2007-08-27
Last edited by Solomon Peachy - 2007-08-28

FS#286 - Word-wrap in tooltip

I have photo captions with 200 characters or more. In the slide view the caption is shown as tooltip, but if the caption is too long, it will be cut off, because the tooltip doesn't fit in the browser window.

It would be nice if the lines in the tooltip have a word-wrap.

Closed by  Solomon Peachy
2007-08-28 13:08
Reason for closing:  Fixed
Additional comments about closing:  fixed. Will be in 2.34-final
Solomon Peachy commented on 2007-08-28 00:12

Hmm. The real question is where should the wrap occur?

Also, 200 characters is a bit much for a caption, but they're not my captions so I'll shut up on that topic..

Marcus Hinz commented on 2007-08-28 05:14

200 characters is a bit much? The caption of a IPTC-header could be 2000 characters long (see attached file).

Ideally the tooltip should not as wide as the browser window. In my view the maximum wide of the tooltip should not exceed 50 percent of the browser window. Then should the wrap occur.

Solomon Peachy commented on 2007-08-28 12:54

yeah, I saw the '2000 octet' right after I sent the comment, and that makes sense for an 'abstract'.

Since there's a separate 'title' field that is preferentially displayed, I guess it doesn't matter, and word-wrapping will be a fact of life.

Now to figure out how to do this using only CSS..

Solomon Peachy commented on 2007-08-28 13:08

I had to go to a fixed tooltip width, as the tooltip library needs it that way.

So I've checked this in; see r1650. It'll go into 2.34-final.


Available keyboard shortcuts


Task Details

Task Editing