Photo Organizer

Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Normal
  • Reported Version Devel
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Photo Organizer
Opened by Marcus Hinz (marcus) - 2007-08-27
Last edited by Solomon Peachy (pizza) - 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.

This task does not depend on any other tasks.

Closed by  Solomon Peachy (pizza)
Tuesday, 28 August 2007, 13:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed. Will be in 2.34-final
Solomon Peachy (pizza)
Tuesday, 28 August 2007, 00:12 GMT
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 (marcus)
Tuesday, 28 August 2007, 05:14 GMT
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 (pizza)
Tuesday, 28 August 2007, 12:54 GMT
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 (pizza)
Tuesday, 28 August 2007, 13:08 GMT
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.

Loading...