Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stellation-res] Comment HoverText Failure (Bugzilla #34471)

After #31915 (comment retrieval) was resolved, I rechecked the
scm.ui Load Revision dialog, and found that it was broken.
Specifically, the Hover Text comment display freezes "on" and
the dialog box then becomes unresponsive.

Of course, I thought this was my bug (maybe something missed
as 2.0 became 2.1).  However, further spelunking found that
there _may_ be a GTK-related problem with Mouse Exit events
(see bugzilla #25632, Combo does not fire mouse enter and leave events).
To verify this, I wrote a small Mouse listener and attached it to the
Revision Selection tree in my dialog.  It reported mouse Hover, Enter and Move
events with abandon, but nary a single Exit event.

I believe this bug was also present when I tried using GTK last summer.
However, at that time GTK support was broken in a number of other ways
(unusable then, for me), so I didn't pay too much attention.

It's curious, because the Hover-related support in the Java editor
and Annotation Bar is certainly working.

Worst-case, I suppose I'll have to remove the comment pop-up hover text and
handle comments some other way.  Another possibility is to compensate for
the lack of mouse Exit events (perhaps just checking on every Move to see if
an Exit occurred).  There's a somewhat complicated state machine inside of the
Eclipse Hover machinery, and it may not be entirely trivial to compensate...

Comments?  If I can't work something out fairly quickly, it's probably best
to disable the comment display for now and work on other pressing fixes and
enhancements.

- Jim

--------------------------------------------------------------------
Jim Wright, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: jwright@xxxxxxxxxxxxxx ------- Personal Email: jim.wright@xxxxxxx



Back to the top