+10 This confusing even if you don't scroll at all and the selection is visible. The common convention is that popup menus (AKA contextual menus) refer to the object or selection just below them.
Take for example the Windows desktop. If you select one icon and the right click on another icon at the other end of the screen and select Delete. Which of the two would you like the system to delete ? Take at look at the following section of the Java Look and Feel book that discusses exactly that: http://java.sun.com/products/jlf/ed2/book/HIG.Menus3.html Here are three quotes from this page: "Contextual menus, sometimes called "pop-up menus," offer only menu items that are applicable or relevant to the object or region at the location of the pointer." " If the pointer is not over the currently selected object when the user opens the contextual menu, create a new selection at the point where the user pressed the mouse button. Display the contextual menu that is appropriate to the object that is beneath the pointer." "If the user opens a contextual menu when the pointer is over an area that cannot be selected, such as the background of a container, remove any existing selection and display the contextual menu for the container." Tal > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Mark Swinkels > Sent: Thursday, October 04, 2001 5:54 PM > To: IDEA IDE List (E-mail) > Subject: [Eap-list] Right click menus and selection > > > One small thing I find very frustrating: I select some text, then I scroll > the view so that the selection is no longer visible. Then I right > click on a > name and do something like Find Usages. At this point IDEA find usages for > the now invisible and long forgotten selection. It would be nice if right > clicking outside of the current selection set the selection to the clicked > location or the popup menu referred to the current location > rather than the > selection. > > -- Mark > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
