Photo Organizer

This is the bug tracker for Photo Organizer.
Tasklist

FS#286 - Word-wrap in tooltip

Attached to Project: Photo Organizer
Opened by Marcus Hinz (marcus) - Monday, 27 August 2007, 15:51 GMT-4
Last edited by Solomon Peachy (pizza) - Tuesday, 28 August 2007, 09:08 GMT-4
Task Type Feature Request
Category User Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Devel
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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 depends upon

Closed by  Solomon Peachy (pizza)
Tuesday, 28 August 2007, 09:08 GMT-4
Reason for closing:  Fixed
Additional comments about closing:  fixed. Will be in 2.34-final
Comment by Solomon Peachy (pizza) - Monday, 27 August 2007, 20:12 GMT-4
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..
Comment by Marcus Hinz (marcus) - Tuesday, 28 August 2007, 01:14 GMT-4
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.
Comment by Solomon Peachy (pizza) - Tuesday, 28 August 2007, 08:54 GMT-4
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..
Comment by Solomon Peachy (pizza) - Tuesday, 28 August 2007, 09:08 GMT-4
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...