[jitsi-dev] key binding to show Jitsi app hidden in systray


#1

Hi,

I'd like some help regarding key bindings.

Whenever Jitsi is hidden within the systray, users have to double click on the icon or right-click+ select "show".
The double-click is pretty quick except that in Windows 7, the Jitsi icon can be within several other icons in a popup-style box.
So the user would have to click once on the popup arrow and then double-click on the Jitsi icon (3 clicks and user wasting time identifying the icon).

I'm looking for a way to "show the hidden Jitsi app" with a simple key binding (say "F9").
For now I'm using an external AutoIt app to do this but it's just a hack and it doesn't work very well (ie. the Jitsi inner frame is black when the window s restored - unpainted).

Is there a way to make Jitsi register system key bindings so that whenever a user presses, say F9, Jitsi shows up on screen by calling the following methods?

  OsDependentActivator.getUIService().setVisible(true);
  OsDependentActivator.getUIService().bringToFront();

That would make Jitsi usability quicker.

Thanks,

Vieri


#2

Hey Vieri,

Have you tried using the action available in our "Global Shortcuts"
menu? You can map that to "F9" or use the default Ctrl+Shift+C

Hope this helps,
Emil

···

On 10.07.12 09:28, Vieri wrote:

Hi,

I'd like some help regarding key bindings.

Whenever Jitsi is hidden within the systray, users have to double click on the icon or right-click+ select "show".
The double-click is pretty quick except that in Windows 7, the Jitsi icon can be within several other icons in a popup-style box.
So the user would have to click once on the popup arrow and then double-click on the Jitsi icon (3 clicks and user wasting time identifying the icon).

I'm looking for a way to "show the hidden Jitsi app" with a simple key binding (say "F9").
For now I'm using an external AutoIt app to do this but it's just a hack and it doesn't work very well (ie. the Jitsi inner frame is black when the window s restored - unpainted).

Is there a way to make Jitsi register system key bindings so that whenever a user presses, say F9, Jitsi shows up on screen by calling the following methods?

  OsDependentActivator.getUIService().setVisible(true);
  OsDependentActivator.getUIService().bringToFront();

That would make Jitsi usability quicker.

Thanks,

Vieri


#3

Hi Emil,

I took a quick look at the Advanced options and under "Global shortcuts" I only see:
SHIFT-CTRL-A
SHIFT-CTRL-H
SHIFT-CTRL-P
SHIFT-CTRL-L
SHIFT-CTRL-M

There's no SHIFT-CTRL-C and I'm using snapshot 4059.

If I press SHIFT-CTRL-C while Jitsi is running, nothing happens.

I may try with the latest snapshot or dig into the code.

Thanks,

Vieri

···

--- On Tue, 7/10/12, Emil Ivov <emcho@jitsi.org> wrote:

Hey Vieri,

Have you tried using the action available in our "Global
Shortcuts"
menu? You can map that to "F9" or use the default
Ctrl+Shift+C

Hope this helps,
Emil

On 10.07.12 09:28, Vieri wrote:
> Hi,
>
> I'd like some help regarding key bindings.
>
> Whenever Jitsi is hidden within the systray, users have
to double click on the icon or right-click+ select "show".
> The double-click is pretty quick except that in Windows
7, the Jitsi icon can be within several other icons in a
popup-style box.
> So the user would have to click once on the popup arrow
and then double-click on the Jitsi icon (3 clicks and user
wasting time identifying the icon).
>
> I'm looking for a way to "show the hidden Jitsi app"
with a simple key binding (say "F9").
> For now I'm using an external AutoIt app to do this but
it's just a hack and it doesn't work very well (ie. the
Jitsi inner frame is black when the window s restored -
unpainted).
>
> Is there a way to make Jitsi register system key
bindings so that whenever a user presses, say F9, Jitsi
shows up on screen by calling the following methods?
>
> OsDependentActivator.getUIService().setVisible(true);
> OsDependentActivator.getUIService().bringToFront();
>
> That would make Jitsi usability quicker.
>
> Thanks,
>
> Vieri
>
>


#4

Hi Vieri, Emil,

Maybe Emil has set a custom shortcut. I think the default one is SHIFT-CTRL-L to show/hide the contact list.

Regards,
Vincent

···

On 07/10/2012 02:19 PM, Vieri wrote:

Hi Emil,

I took a quick look at the Advanced options and under "Global shortcuts" I only see:
SHIFT-CTRL-A
SHIFT-CTRL-H
SHIFT-CTRL-P
SHIFT-CTRL-L
SHIFT-CTRL-M

There's no SHIFT-CTRL-C and I'm using snapshot 4059.

If I press SHIFT-CTRL-C while Jitsi is running, nothing happens.

I may try with the latest snapshot or dig into the code.

Thanks,

Vieri

--- On Tue, 7/10/12, Emil Ivov<emcho@jitsi.org> wrote:

Hey Vieri,

Have you tried using the action available in our "Global
Shortcuts"
menu? You can map that to "F9" or use the default
Ctrl+Shift+C

Hope this helps,
Emil

On 10.07.12 09:28, Vieri wrote:

Hi,

I'd like some help regarding key bindings.

Whenever Jitsi is hidden within the systray, users have

to double click on the icon or right-click+ select "show".

The double-click is pretty quick except that in Windows

7, the Jitsi icon can be within several other icons in a
popup-style box.

So the user would have to click once on the popup arrow

and then double-click on the Jitsi icon (3 clicks and user
wasting time identifying the icon).

I'm looking for a way to "show the hidden Jitsi app"

with a simple key binding (say "F9").

For now I'm using an external AutoIt app to do this but

it's just a hack and it doesn't work very well (ie. the
Jitsi inner frame is black when the window s restored -
unpainted).

Is there a way to make Jitsi register system key

bindings so that whenever a user presses, say F9, Jitsi
shows up on screen by calling the following methods?

    OsDependentActivator.getUIService().setVisible(true);
    OsDependentActivator.getUIService().bringToFront();

That would make Jitsi usability quicker.

Thanks,

Vieri

--
Vincent Lucas, Ph.D. Jitsi developer
chenzo@jitsi.org http://jitsi.org


#5

Correct. The default SHIFT-CTRL-L does the job BUT try the following:
minimize the Jitsi app window so that you just see the icon in the Windows bar. Now press SHIFT-CTRL-L. It won't "restore" the window. It will only toggle between the hidden/shown states so you will see the icon appear and disappear from the Windows bar.

So is it already possible to actually "restore" the application.
That's because a lot of users simply press _ in Jitsi to minimize it. They don't press X.
Of course, restoring from the Windows bar is just a click away (not 3) but a lot of users feel more comfortable with key bindings.

Thanks,

Vieri

···

--- On Tue, 7/10/12, Vincent Lucas <chenzo@jitsi.org> wrote:

Hi Vieri, Emil,

Maybe Emil has set a custom shortcut. I think the default
one is
SHIFT-CTRL-L to show/hide the contact list.

Regards,
Vincent

On 07/10/2012 02:19 PM, Vieri wrote:
> Hi Emil,
>
> I took a quick look at the Advanced options and under
"Global shortcuts" I only see:
> SHIFT-CTRL-A
> SHIFT-CTRL-H
> SHIFT-CTRL-P
> SHIFT-CTRL-L
> SHIFT-CTRL-M
>
> There's no SHIFT-CTRL-C and I'm using snapshot 4059.
>
> If I press SHIFT-CTRL-C while Jitsi is running, nothing
happens.
>
> I may try with the latest snapshot or dig into the
code.
>
> Thanks,
>
> Vieri
>
> --- On Tue, 7/10/12, Emil Ivov<emcho@jitsi.org> > wrote:
>
>> Hey Vieri,
>>
>> Have you tried using the action available in our
"Global
>> Shortcuts"
>> menu? You can map that to "F9" or use the default
>> Ctrl+Shift+C
>>
>> Hope this helps,
>> Emil
>>
>> On 10.07.12 09:28, Vieri wrote:
>>> Hi,
>>>
>>> I'd like some help regarding key bindings.
>>>
>>> Whenever Jitsi is hidden within the systray,
users have
>> to double click on the icon or right-click+ select
"show".
>>> The double-click is pretty quick except that in
Windows
>> 7, the Jitsi icon can be within several other icons
in a
>> popup-style box.
>>> So the user would have to click once on the
popup arrow
>> and then double-click on the Jitsi icon (3 clicks
and user
>> wasting time identifying the icon).
>>>
>>> I'm looking for a way to "show the hidden Jitsi
app"
>> with a simple key binding (say "F9").
>>> For now I'm using an external AutoIt app to do
this but
>> it's just a hack and it doesn't work very well (ie.
the
>> Jitsi inner frame is black when the window s
restored -
>> unpainted).
>>>
>>> Is there a way to make Jitsi register system
key
>> bindings so that whenever a user presses, say F9,
Jitsi
>> shows up on screen by calling the following
methods?
>>>
>>>
OsDependentActivator.getUIService().setVisible(true);
>>>
OsDependentActivator.getUIService().bringToFront();
>>>
>>> That would make Jitsi usability quicker.
>>>
>>> Thanks,
>>>
>>> Vieri
>>>
>>>
>>

--
Vincent Lucas, Ph.D.
Jitsi developer
chenzo@jitsi.org

 http://jitsi.org