GNOME Bugzilla – Bug 698519
Potential text formatting/theme conflicts in comment tooltip
Last modified: 2013-06-02 04:19:52 UTC
It seems that commit 5eb9a3153388f14a521a79fd3031c22da742c8ec partially broke display of the cell comments. We used to show the author, we do not any longer do that. I am also not sure about showing the comments as a themed tooltip. Comments can include rich text formatting including font colours. This may not work with the themed tool tips.
I was lazy with the comment author. To do that, the one would put Author: into a separate label and combine the two in a vbox. I tested bold/italic/strikethrough. They work perfectly fine.
All the rich text formatting works fine. If we import a comment from Excel or LO it could become unreadable though if the font colour is set and does not work well with the background colour set by the theme.
By-line is back.
Created attachment 242144 [details] screenshot We might still need some fine tuning of the space above and below the author line. See screenshot.
I have tuned the appearance by using spacing rather than padding.
The conflict between the theme and the text isn't new, I think. We could tag the contents as class "view" and avoid tagging it as a tooltip. That would, I think, in many popular themes produce a white (or whitish) background. That solution bugs me a bit since this really is a tooltip by function.
The issues are font colour and font background. We could remove those attributes from the comment if we detect anything but a light theme background colour.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.