While taking peek at STORM-203
https://jira.secondlife.com/browse/STORM-203?

It seems that shortcuts in the viewer menu are not allowing the floaters to
get input like ctrl F

My thoughts are to do one of the following

1. Add to the floater/focusmanager base class the ability to set priority
keys so floaters can set a handle first.
2. Add exceptions before the faulty code for the script editor. / modify the
faulty code to exclude ctrl f
3. Lock the script editors? (would that not make them modal? Yuck!)
4. Remove the priority code / faulty code. (possible adverse affects?)
5. *LAST DITCH* Change the shortcut to the search panel.

What do you think?

CODE causing the issue.

llViewerwindow.cpp

lines 2137 - 2146

    // give menus a chance to handle modified (Ctrl, Alt) shortcut keys
before current focus
    // as long as focus isn't locked
    if (mask & (MASK_CONTROL | MASK_ALT) && !gFocusMgr.focusLocked())
    {
        if ((gMenuBarView && gMenuBarView->handleAcceleratorKey(key, mask))
            ||(gLoginMenuBarView &&
gLoginMenuBarView->handleAcceleratorKey(key, mask)))
        {
            return TRUE;
        }
    }

It appears that this is making shortcut keys grab the input before any
floaters are.
-- 
-------------------------------------------------------------------------------------------------------------------------------
This email is a private and confidential communication. Any use of email may
be subject to the laws and regulations of the United States. You may not
Repost, Distribute nor reproduce any content of this message.
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to