Summary:
Using of dbus menu causes a weird exception that looks
like this (for example in function elm_win_main_menu_get(Evas_Object *win)):
> EINA: Data at address 0x0 is invalid. Replacing with zero page.
> mmap: Operation not permitted
> ERR<22270>:eina_mmap lib/eina/eina_mmap.c:110 _eina_mmap_safe_sigbus()
> Failed to mmap() /dev/zero in place of page. SIGBUS!!!
> Aborted (core dumped)
This issue appears because there is a lot of places where Elm_Object_Item is
used, but it should be Elm_Menu_Item_Data.
This issue could be reproduced with elementary_test:
1. run elementary test with dbus enabled.
2. find "Systray Item" button and click on it.
3. get SIGSEV in your console.
@fix
Reviewers: cedric, raster, seoz, Hermet
Reviewed By: Hermet
Subscribers: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1681
Summary:
Menu items in dbus-mode (in Ubunut/Unity) were not updated on
disabled/enabled state changes. They were applied only after
adding/removing an item.
Reviewers: cedric, seoz, raster
Reviewed By: raster
CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D333
The code path that gets compiled if we don't have eldbus was not
updated. This should fix build problems with older efl versions.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
With this patch, the main menu now keeps listening for the app menu
registrar all the time. Whenever it's available, it tries to register
itself. If the registrar exits, the menu switches back to local mode.
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 83098
If Elementary is compiled with Efreet support, D-Bus menu will
export freedesktop icon names.
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 81809
Do some extra effort to find out a name for the menu item to send via D-Bus
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 81808
The D-Bus menu interface description requests that properties with
default values should be optimized out.
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 81807