Thread: Pgadmin doesn't support menu button

Pgadmin doesn't support menu button

From
Ram Rachum
Date:
I work on Pgadmin 1.14 on Windows XP.

I like using the wonderful menu button on my keyboard. This is the button in the lower-right area of the keyboard which causes a context menu to be shown. For example if focus is on a database and I press that key, it should raise the context menu.

Alas, it doesn't. Shift-F10 works, but not the menu key.

Here's a rule of thumb: Everywhere where you support right-clicking something to raise a context menu, you should support pressing the menu key.


Thanks,
Ram.

Re: Pgadmin doesn't support menu button

From
Raymond O'Donnell
Date:
On 31/05/2012 10:14, Ram Rachum wrote:
> I work on Pgadmin 1.14 on Windows XP.
> 
> I like using the wonderful menu button on my keyboard. This is the
> button in the lower-right area of the keyboard which causes a context
> menu to be shown. For example if focus is on a database and I press that
> key, it should raise the context menu.
> 
> Alas, it doesn't. Shift-F10 works, but not the menu key.
> 
> Here's a rule of thumb: Everywhere where you support right-clicking
> something to raise a context menu, you should support pressing the menu key.

I could be wrong, but I think that that button is Windows-specific;
PgAdmin is a cross-platform tool.

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


Re: Pgadmin doesn't support menu button

From
Ram Rachum
Date:
I believe that this button works in Linux too. And in any case even if it doesn't, so what? Will it hurt anyone who uses Mac and Linux?

On Thu, May 31, 2012 at 1:01 PM, Raymond O'Donnell <rod@iol.ie> wrote:
On 31/05/2012 10:14, Ram Rachum wrote:
> I work on Pgadmin 1.14 on Windows XP.
>
> I like using the wonderful menu button on my keyboard. This is the
> button in the lower-right area of the keyboard which causes a context
> menu to be shown. For example if focus is on a database and I press that
> key, it should raise the context menu.
>
> Alas, it doesn't. Shift-F10 works, but not the menu key.
>
> Here's a rule of thumb: Everywhere where you support right-clicking
> something to raise a context menu, you should support pressing the menu key.

I could be wrong, but I think that that button is Windows-specific;
PgAdmin is a cross-platform tool.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

Re: Pgadmin doesn't support menu button

From
Guillaume Lelarge
Date:
On Thu, 2012-05-31 at 13:16 +0300, Ram Rachum wrote:
> I believe that this button works in Linux too.

It depends on the window manager. On Gnome 3, the windows key doesn't
trigger anything, and the Alt-F10 combo makes the window maximize on the
selected screen. On KDE, it seems to be the same than Gnome 3.

>  And in any case even if it
> doesn't, so what? Will it hurt anyone who uses Mac and Linux?

Well, it's important to know so that we don't change the behaviour on
Mac and Linux.

So, to conclude, yeah, it would be interesting to handle these keys.
Kinda weird that wxWidgets doesn't respect that already. Will check.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com