[Gambas-user] No Global Menu in Ubuntu

Patrik Karlsson pata.karlsson at ...626...
Mon Oct 27 20:25:19 CET 2014


Thank you!

I did a quick test in Ubuntu 14.10 as a virtual machine and installed
Gambas from the daily ppa.

The IDE and a simple app works as expected.

Looking forward to the fix in my production environment.

2014-10-25 14:15 GMT+02:00 Benoît Minisini <gambas at ...1...>:

> Le 25/10/2014 07:31, Patrik Karlsson a écrit :
> > 2014-10-21 18:02 GMT+02:00 Benoît Minisini <gambas at ...1...
> >:
> >
> >> Le 21/10/2014 17:47, Patrik Karlsson a écrit :
> >>> 2014-10-17 19:41 GMT+02:00 Patrik Karlsson <pata.karlsson at ...626...>:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have just updated to Gambas 3.6 from the gambas-team ppa and
> >> discovered
> >>>> that Gambas does not longer support Global Menu in Ubuntu when using
> >>>> GB_GUI=gb.qt4.
> >>>>
> >>>> I can not make the IDE export the menus and my own apps only exports
> the
> >>>> menu with gb.gtk and gb.gtk3.
> >>
> >> Maybe Qt4 does not support exporting its menu bar through the Unity
> >> protocol? I don't know actually, as I use KDE...
> >>
> >> Hi Benoît,
> >
> > I have just tested this in Ubuntu 14.10 and the problem is still there. I
> > have also tested in KDE and Gambas does not export the menu in KDE.
> >
> > Is it possible to take a look at this?
>
> Apparently the Ubuntu patch that make Qt application export their menu
> is not very clever. It works with most applications, but not with the
> Gambas IDE.
>
> I found a workaround in revision #6573. It is enabled only if you
> explicitely hide the menus, and then restart the IDE.
>
> Otherwise, you can explicitely set the 'APPMENU_DISPLAY_BOTH'
> environment variable to '1' before starting the IDE.
>
> Tell me if it works for you.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list