Closed jonbrett closed 8 years ago
Thanks again. Is it too much to allow for configuration here? Need not be on UI, advanced users may want to adjust it.
Instead of truncating this to a fixed number of characters, how about specifying a maximum tooltip size. By keeping the current fixed tooltip width, users can specify the height (or better still the max number of lines).
Having a max height (or max number of lines if I can figure out how to do thaat) might be more useful than truncating by the number of characters.
What do you think @anandrkris ?
Hmm. I think number of lines makes more sense. I am not sure how lines are wrapped in tooltip and whether line breaks are honored. Lets say, if the blog is a poem then having fixed number of lines would be the best option. Of course, even in other cases lines control tooltip better. If this is not easily achievable having a configurable height is a good compromise.
In release 0.17 this is actually implemented and limited to a manageable size, this helps with memory management as well.
Originally reported by anandrkris on the spices website: http://cinnamon-spices.linuxmint.com/applets/view/149
Sometimes the feed summary is too long, resulting in a very large tooltip. The feed summary should be automatically truncated to a fixed number of characters to avoid such issues.