You are not logged in.

#26 2013-11-05 18:17:20

flying sheep
Member
Registered: 2012-02-29
Posts: 90

Re: The state of global menus

Offline

#27 2013-12-12 10:41:27

flying sheep
Member
Registered: 2012-02-29
Posts: 90

Re: The state of global menus

also there’s this now: https://launchpad.net/qmenumodel

Offline

#28 2013-12-12 17:50:56

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: The state of global menus

why is there now need for extra bindings? the old modul required no changes or a like, why this?


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#29 2013-12-13 12:02:45

flying sheep
Member
Registered: 2012-02-29
Posts: 90

Re: The state of global menus

Thaodan wrote:

why is there now need for extra bindings? the old modul required no changes or a like, why this?

i didn’t exactly parse your sentence, but i assume you asked why the old way of doing global menus (i.e. the canonical-created dbusmenu protocol) isn’t sufficient anymore?

that’s because people from Canonical and GNOME met up and decided to create GMenuModel, which is easier for GTK developers but bound to GTK (it still uses DBUS internally, but the protocol isn’t fixed and an “implementation detail”, so it’s a moving target that can become different and incompatible at any time)

Offline

#30 2013-12-13 12:16:30

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: The state of global menus

Thaodan wrote:

why is there now need for extra bindings? the old modul required no changes or a like, why this?

Because Canonical folks decided to drop the current implementation of exporting the menus via DBus in favour of the GMenuModel API approach + a Gtk+ module that export old-style menus through GMenuModel (unity-gtk-module).
For Qt you now need bindings to Gtk+ and its GMenuModel API in order to interact with the menu stuff.

gnumdk could give a more detailed explanation on the Qt side of things, I guess.

The dbusmenu/appmenu stuff still works fine for Qt applications and most Gtk+2 stuff (with gtk2-appmenu from AUR), for Gtk+3 stuff you would need to use an outdated Gtk+3 (still on AUR, but I do not recommend to use it).

Offline

#31 2013-12-13 15:31:00

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: The state of global menus

This is retarted,its the usual GTK centered think model.
A glib thing with a qt binding (so that it works like today )would be ok but pulling GTK for a Qt application is laughable.


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#32 2013-12-13 19:47:44

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: The state of global menus

Thaodan wrote:

This is retarted,its the usual GTK centered think model.
A glib thing with a qt binding (so that it works like today )would be ok but pulling GTK for a Qt application is laughable.

GMenuModel is a glib thing, the Gtk plugin part is only required for old Gtk apps that do not yet make use of GMenuModel and maybe never will.

But I agree that it's weird to depend on glib for getting global menus in Qt. Qt has appmenu support since 4.8, I don't see why changing kded-appmenu to use GMenuModel would make sense, extending it to support it sounds good though.

Last edited by teekay (2013-12-13 19:59:59)

Offline

#33 2015-01-25 05:25:41

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: The state of global menus

I know this is old but are they any news on this topic?


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#34 2015-02-12 04:29:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: The state of global menus

https://wiki.archlinux.org/index.php/Fo … bumping.22

I am sorry, this thread was dead the last time it was kicked.  Closing.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB