Re: Gdk BadMatch with menus

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andreas Pflug" <Andreas(dot)Pflug(at)web(dot)de>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Gdk BadMatch with menus
Date: 2003-05-26 20:37:21
Message-ID: 03AF4E498C591348A42FC93DEA9661B825A222@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: Andreas Pflug [mailto:Andreas(dot)Pflug(at)web(dot)de]
> Sent: 26 May 2003 09:59
> To: Dave Page; pgadmin-hackers(at)postgresql(dot)org
> Subject: Re: [pgadmin-hackers] Gdk BadMatch with menus
>
>
> Hi Dave,
>
> in general, I agree that options should be enabled/disabled
> rather than
> inserted/removed from the menu. In this case, I think it is
> reasonable
> to deviate from this rule. The menu item "New Object" will always be
> there, only the contents of it will change. The reason for
> this is quite
> obvious: not possible to create it in this context.
> The number of object types (well should we call it classes
> :-) is quite
> big (total 26 at the moment), leaving only few submenu items
> selectable. Maybe the menu should be changed to "New Object
> unter this", because
> creating a similar object is already performed by "Create". I
> don't like
> that nonselectable submenu in pgadmin2. It gets the user to
> believe that
> there is possibly a moment where those objects could be created under
> e.g. "Databases", though this will never happen.

Not sure I agree with that last statement, but I agree that maybe this
one menu should be context-sensitive (it is a context menu after all).

> In the meantime, I was able to narrow the problem, still leaving me
> clueless.
> The problem has nothing to do with the menu modification; I verified
> this by creating a brand new menu on right click. There seems to be a
> GTK problem with submenus in popup menus. If the "New Object" item is
> touched with mouse over, the app will exit as soon as another
> item that
> is not in the submenu (refresh, drop, ...) is touched.

Hmm, perhaps a post to the wx mailing list? I don't know how friendly
they are there though...

Regards, Dave.

Browse pgadmin-hackers by date

  From Date Subject
Next Message Renney Thomas 2003-05-27 02:53:04 Load Times
Previous Message Dave Page 2003-05-26 20:33:44 Re: Column property / Drop constraint