GNOME Bugzilla – Bug 760842
chatView: whitespace next to compressed status message is clickable
Last modified: 2016-02-10 16:03:35 UTC
Created attachment 319355 [details] screenshot showing mouse hover on the white space next to status message Status messages are react to hover and are clickable outside the text itself. This can be prone to mis-clicking and is a bit confusing behavior. My guess to the reason is that the newline character we insert before inserting the "6 users joined, 4 users left" text is tagged with a style tag that causes this behavior.
(In reply to Bastian Ilsø from comment #0) > My guess to the reason is that the newline character we insert before > inserting the "6 users joined, 4 users left" text is tagged with a style tag > that causes this behavior. I think it's just the justification to the right - in any case, the newline has to be part of the tag to not show it when the status line is hidden.
The following fix has been pushed: 15dc959 chatView: Don't extend interactive tags into margins
Created attachment 320805 [details] [review] chatView: Don't extend interactive tags into margins Until now, margins neighboring interactive elements like links or status headers have been clickable as well. GTK+ now gives us API to check whether a position is over text, so use that to fix the issue.