Created attachment 4499 shot of outsized tooltip (originally submitted off-list) Outsized tooltip. Sometimes/often I need to add in the Note field text spanning on multiple lines. Attached is a toy example. In such cases the tooltip is completely overwhelmed and loses any practical usefulness. Can Orage do anything about this? Juha's comment: "Yes, there are also other enhancements that needs to be done for tooltips. There needs to be a way to remove them totally. And yes, there needs to be a way to limit the size." This bug is likely related to Bug 6597.
This is something that needs to be done, yes.
This is now in 4.9.5.0 in git. I fixed the size of note tooltip to max 50 char long lines and max 10 lines. Not sure if those should be parameters. Adding them as undocumented parameters would be easy, butis it worth the extra code.
I now tested this fix but I must admit that the user experience is now worse than before. The trouble is that I often put in notes some text that I copy paste from an email (very often such text comes with no line breaks). And the 50char limit loses the utility of the tooltip. Try to make a test even with hte following text in it: "Outsized tooltip. Sometimes/often I need to add in the Note field text spanning on multiple lines. Attached is a toy example. In such cases the tooltip is completely overwhelmed and loses any practical usefulness. Can Orage do anything about this?" Now notice that you will only see "Outsized tooltip. Sometimes/often I need to add..." in the tooltip, which is not very helpful. Would there be a nicer way for Orage to deal with this?
I do not really see what we could do with those. As they lack line breaks, Orage has no idea how to break it. But showing huge tooltip was definitely bad idea.
(In reply to juha from comment #4) > I do not really see what we could do with those. As they lack line breaks, > Orage has no idea how to break it. > Hmm, can the editor input box for the tooltips be configured to break all lines at, say, 100 chars? Even if not possible, I would suggest to make the tooltip a bit more generous at around 100chars (the current 50chars is a bit skimpy IMO). I would also put the vertical default at 20 lines. (In reply to juha from comment #2) > I fixed the size of note tooltip to max 50 char long lines and max 10 lines. > Not sure if those should be parameters. Adding them as undocumented > parameters would be easy, butis it worth the extra code. > Yes, I think it is worth it. The defaults may not work for most users.
(In reply to juha from comment #4) > I do not really see what we could do with those. As they lack line breaks, > Orage has no idea how to break it. > But showing huge tooltip was definitely bad idea. > Actually I'm confused. In 4.8.4 I do have a tooltip with no line breaks, but Orage somehow automatically breaks the lines at 60 chars (instead of ellipsizing, as in 4.9.x). Could this behaviour be reverted, and only the new vertical limit (10 lines) kept?
4.8.4 treats text as oen long string and put it into the tooltip text box. System assigns a size for that and fits text into it. Fully automatic, Orage just puts the text in. 4.9 new method manually finds line endings (\n) and cuts each line to 50 chars and takes 10 of these. So not easy to combine these.
(In reply to juha from comment #7) > 4.8.4 treats text as oen long string and put it into the tooltip text box. > System assigns a size for that and fits text into it. Fully automatic, Orage > just puts the text in. > Hmm, what about a variation of that? To simulate the 50char x 10lines, Orage could treat the text as one long string and pass to the tooltip only the first 500chars of the full Notes field. Then the system would automatically fit the text into the tooltip. This seems to me easy enough. What do you think?