Issue Details (XML | Word | Printable)

Key: RAD-45
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Douglas R Miles
Reporter: Mojito Sorbet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Radegast

MENU key does not bring up context menu on Objects console

Created: 07/Oct/09 09:44 AM   Updated: 01/Mar/10 08:28 AM
Component/s: Object tracker
Affects Version/s: None
Fix Version/s: 1.9

Severity: Medium
Steps to Reproduce: Select an object in the Object browser. Press MENU. Nothing happens.


 Description  « Hide
Right click opens the context menu on a select Object in the Object Console, but the MENU key does not. Both mouse and MENU key work on Inventory, Friends, avatars.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Douglas R Miles added a comment - 07/Oct/09 10:04 AM - edited
I have noiticed this too. Thouht it was my machine. Try pressing the key slowly .. Then press it down again slowly.. Does it work the second or thrid time? For me this works .. But very frustrating. This is the winforms API trying to do it's job.

Locally I had worked arround it by also explicitly listening for the key.
(Avatars list in Chat didn't have this issue yet was identical code.
Maybe becasue the list spends less adding/removing items)

Let me know how many times you slowly have to hit the key for it to finally decide it will pop up. (If at all)


Douglas R Miles added a comment - 07/Oct/09 11:40 AM - edited
[10:41] <@Mojito> First time, nothing happens
[10:41] <@Mojito> Second time it works
[10:41] <@nephrael> strange avatars in chat are immune
[10:41] <@Mojito> Move to new row, press and hold menu, release => nothing
[10:42] <@Mojito> Do it again, it works
[10:42] <@Mojito> I notice it pops up on key UP on the chat page as well.
[10:43] <@Mojito> But it only takes a quick tap
[10:44] <@nephrael> ok so now if we listen for the listPrims_KeyUp event listener in Objects

        private void lstPrims_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyData == Keys.Apps)
            {
                if (lstPrims.SelectedItems.Count > 0)
                {
                    e.SuppressKeyPress = true;
                    ctxMenuObjects.Selection = lstPrims.SelectedItems[0];
                    ctxMenuObjects.HasSelection = true;

                    ctxMenuObjects.Show(lstPrims, new System.Drawing.Point(0, 0));
                }
            }
        }

Douglas R Miles added a comment - 07/Oct/09 11:51 AM
Fixed in r333. Thanks!