Menu

#51 "Create instance" resets position of scroll bar

open
4
2006-09-06
2006-09-06
No

Protégé: 3.1.1 Build 216
Knowtator: 1.3.5

Short description: Using the “Create instance” button
on a slot in the “slots of annotated class” pane
resets the position of the vertical scroll bar to the
top.

To reproduce:

1) Select an annotation that has a lot of slots—say,
5.
2) Scroll down to the bottom slot.
3) Click on the “Create instance” button. Select
some class type. (Don’t select any text first.)
4) Click on “OK.”
5) Note that the scroll bar position has reset itself
to the top.

Why would anyone care? If I am bothering with the
4th slot, I am probably going to fill the 5th one
next. If Knowtator resets the scroll bar to the top,
then I have to scroll back down again to get to the
slot that I wanted to fill next.

Discussion

  • kevin_b_cohen

    kevin_b_cohen - 2006-09-06
    • priority: 5 --> 4
     
  • Philip Ogren

    Philip Ogren - 2006-09-08

    Logged In: YES
    user_id=1052182

    I think this is an extremely annoying bug. The slot widget
    that controls the scrollbar was not written by me.
    Fortunately, Protege is open source - so I can probably
    figure out how to override the default behavior in my
    extension of the slot widget. However, it may be a little
    tricky track down - if it is possible.

     

Log in to post a comment.