Hi Garret,

Thanks for letting us know about this bug. I've filed a bug report:

http://code.google.com/p/fbug/issues/detail?id=3084

Please "star" the issue if you want to receive updates about our work on it.

regards,

Pedro Simonetti.


2010/5/16 Pedro Simonetti Garcia <[email protected]>:
> Hi Garret,
>
> 2010/5/16 Garrett Smith <[email protected]>:
>> On Sun, May 16, 2010 at 12:04 PM, Pedro Simonetti Garcia
>> <[email protected]> wrote:
>>> Hi Garret,
>>>
>>> 2010/5/16 Garrett Smith <[email protected]>:
>>>> The console has a "run" button  - is there a command for it?
>>>
>>> It seems you're talking about the large command line. By "command" you
>>> mean a shortcut? If so, the answer is: yes, press ALT+ENTER to execute
>>> the code inside the large command line.
>>>
>>
>> Using windows vista, that does not work for me. Pressing ALT+ENTER
>> does not cause the code inside the large command line to run. I use
>> large command line always.
>
> Sorry. I made a mistake, the correct shortcut is CTRL+ENTER.
> Please verify if it works for you and let us know.
>
>>
>>>
>>>> Incidentally, has anyone been able to use keyboard shortcut "ACCEL +
>>>> Shift + l" to draw focus to the command line?
>>>
>>> Yes, the shortcut "CTRL+ SHIFT + L" do focus the command line for me,
>>> but I think there is a bug in the behavior of this shortcut right now. Could
>>> you please give us a more detailed description of what steps are you doing,
>>> what is happening, and what is expected to happen?
>>>
>>
>> You say "CTRL+ SHIFT + L" will focus the command line. So, the steps would 
>> be:
>> 1. open FB
>> 2. click somewhere in the document
>> 3. press "CTRL+ SHIFT + L" together
>>
>> This has no noticeable effect. Focus is not drawn to the FB command line.
>
> I asked for clarifications because the actual behavior is not so obvious.
> I implemented this feature in Firebug Lite, which was based in the behavior
> of Firebug version of that time (I guess it was the Firebug 1.4). It seems
> that this behavior is broken on Firebug 1.5.
>
> It's harder to explain than to read the source code. Here's the piece:
>
> -----------------------------------------------------------------------------------
>
>    focusCommandLine: function()
>    {
>        var selectedPanelName = this.selectedPanel.name, panelToSelect;
>
>        if (focusCommandLineState == 0 || selectedPanelName != "Console")
>        {
>            focusCommandLineState = 0;
>            lastFocusedPanelName = selectedPanelName;
>
>            panelToSelect = "Console";
>        }
>        if (focusCommandLineState == 1)
>        {
>            panelToSelect = lastFocusedPanelName;
>        }
>
>        this.selectPanel(panelToSelect);
>
>        try
>        {
>            if (Firebug.CommandLine)
>            {
>                if (panelToSelect == "Console")
>                    Firebug.CommandLine.focus();
>                else
>                    Firebug.CommandLine.blur();
>            }
>        }
>        catch(e)
>        {
>            //TODO: xxxpedro trace error
>        }
>
>        focusCommandLineState = ++focusCommandLineState % 2;
>    }
>
> -----------------------------------------------------------------------------------
>
> So, the focusCommandLine function will focus the command line
> if the current selected panel is not the "Console", or if there was
> no other panel selected before.
>
> Otherwise, it will alternate between the last selected panel, and
> the "Console" panel. Does it makes sense to you? (I know, it is
> hard to understand, and even harder to explain! :) )
>
> 1. Open the page (with Firebug DEACTIVATED)
> 2. Activate Firebug
> 3. Press ctrl+shift+L
> 4. Console command line should be focused
> 5. Focus some element in the page
> 6. Press ctrl+shift+L
> 7. Console command line should be focused again
> 8. Select the HTML panel
> 9. Press ctrl+shift+L
> 10. Console panel will be selected and the command line should be focused
> 11. Press ctrl+shift+L
> 12. It will alternate to the last selected panel (which was the HTML panel),
>     so the HTML will be selected
> 13. Press ctrl+shift+L
> 14. Go back to step 10
>
> Anyway, this was the actual behavior in older versions of Firebug, and
> this seems to be broken right now. I'll file a bug report for it.
>
>
> regards,
>
> Pedro Simonetti.
>
>>
>> According to what you have written, and what is in about:config
>> settings, this key combination is supposed to draw focus to the FB
>> command line. As stated, that doesn't happen.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Firebug" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/firebug?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to