Re: [Gtk-osx-users] weird menu problem



On Feb 7, 2011, at 3:47 AM, Antoine Martin wrote:

> Hi Olivier,
> 
> I have the same problem! Until you mentioned it here I thought that I
> had broken something (or that my code was causing problems by constantly
> rebuilding the menus). I've been igoring the issue since the menus are
> not essential for using my application.
> 
> Cheers
> Antoine
> 
> On 02/07/2011 05:44 AM, Olivier Sessink wrote:
>> I removed the complete gtk directory today, downloaded the latest
>> gtk-osx-build-setup.sh, etc., so it's all the latest versions.
>> 
>> The menu is not visible at all if I remove the widget_hide(), which
>> looks weird to me.
>> 
>> Olivier
>> 
>> 2011/2/6 John Ralls <jralls ceridwen us>:
>>> 
>>> On Feb 6, 2011, at 12:30 PM, Olivier Sessink wrote:
>>> 
>>>> no difference at all. If I remove the call
>>>> ige_mac_menu_set_menu_bar(GTK_MENU_SHELL(bfwin->menubar));
>>>> the menu (now a regular gtk menu) works.
>>>> 
>>>> the application seems correctly linked:
>>>> /Users/olivier/gtk/inst/lib/libigemacintegration.0.dylib
>>>> (compatibility version 1.0.0, current version 1.0.0)
>>>> 
>>>> Olivier
>>>> 
>>>> 2011/2/6 John Ralls <jralls ceridwen us>:
>>>>> 
>>>>> On Feb 6, 2011, at 7:49 AM, Olivier Sessink wrote:
>>>>> 
>>>>>> Hi all,
>>>>>> 
>>>>>> I've rebuild my complete gtk environment for osx 10.5/i386 and now I
>>>>>> have a weird problem: the menu's are created but I cannot activate
>>>>>> them (no submenu pops down). I'm still using the ige-mac-integration
>>>>>> library. Any hints where to look for the cause?
>>>>> 
>>>>> If you don't hide the gtk menubar, do the gtk menus work?
>>>>> 
>>> 
>>> When you say "no difference at all", does that mean that the gtk menus are displayed on the window but don't work either? Or that no gtk menus are displayed on the window?
>>> 
>>> Does the test application (you'll need to change the defines at the top so that IGE_MAC_INTEGRATION is defined and the other two are commented out, then rebuild it) work?
>>> 
>>> What version of ige-mac-integration do you have? When did you rebuild, and did you start from scratch (i.e, blow everything away, retrieve the latest gtk-osx-build-setup.sh, run that, run jhbuild bootstrap and jhbuild build)?


Interesting, and I'm puzzled. I tested this on ige-mac-integration's src/test-integration and it appears to work as it should. 

Would each of you please do the same?

If you can get it to fail, try debugging to see why it fails.

Regards,
John Ralls





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]