mne-qt-browser icon indicating copy to clipboard operation
mne-qt-browser copied to clipboard

Annotation labels should not (or not only) appear in the center of the annotation

Open hoechenberger opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. I have some annotations that span several dozens of seconds. When I spot such an annotated segment in my data, there is no simple way for me to figure out the annotation description: I have to cautiously keep scrolling right until I hit the center of the annotation, because the label is centered.

Describe the solution you'd like The label should be anchored to the annotation onset.

Describe alternatives you've considered Another thing I'd love to see is a tooltip that displays the annotation label on hover.

hoechenberger avatar Oct 27 '23 12:10 hoechenberger

I'm fine with moving it to the start.

A hover tooltip could be neat, too. Based on a very quick look it seems like it might be doable with hoverable=True and/or hoverEvent.

larsoner avatar Oct 27 '23 14:10 larsoner

I'm fine with moving it to the start.

This doesn't solve the problem though. What if you are in the middle or at the end of a long annotation? I think the label should always be visible (per page).

cbrnr avatar Oct 27 '23 14:10 cbrnr

I'm fine with moving it to the start.

This doesn't solve the problem though. What if you are in the middle or at the end of a long annotation? I think the label should always be visible (per page).

Oh that would be neat, yes

hoechenberger avatar Oct 27 '23 15:10 hoechenberger

This doesn't solve the problem though. What if you are in the middle or at the end of a long annotation? I think the label should always be visible (per page).

agreed, it should be centered on the visible portion of the annotation, not its full duration.

drammock avatar Oct 27 '23 16:10 drammock