Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685498 - kde-plasma/plasma-workspace has optional runtime support for appmenu-gtk to provide globalmenu integration for x11-libs/gtk+ based applications
Summary: kde-plasma/plasma-workspace has optional runtime support for appmenu-gtk to p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 341757
Blocks:
  Show dependency tree
 
Reported: 2019-05-09 22:27 UTC by Gino McCarty
Modified: 2019-05-16 12:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gino McCarty 2019-05-09 22:27:34 UTC
Well, unfortunately plasma now wants appmenu-gtk installed in order to support global menus within gtk applications.
I first noticed this because /usr/bin/gmenudbusmenuproxy modifies .gtkrc-2.0 and settings.ini for gtk3 and adds 

'gtk-modules=appmenu-gtk-module'

It also does not allow you to remove the edit (which is very annoying)


So hopefully KDE and Gnome team can figure out what to do about 341757 or maybe plasma-worksapce can be altered to not force changes to .gtkrc

Reference: https://github.com/search?q=org%3AKDE+appmenu-gtk&type=Commits
Comment 1 Andreas Sturmlechner gentoo-dev 2019-05-10 19:11:58 UTC
I'm neither personally invested in the globalmenu topic nor am I aware of the implications of these modifications to gtk+ related settings. Thus adding Gnome team.

Certainly not stopping anyone from doing the packaging, we could then add an informational pkg_postinst message to plasma-workspace and/or pull in appmenu-gtk from plasma-meta[gtk].
Comment 2 Mart Raudsepp gentoo-dev 2019-05-10 19:43:41 UTC
What are we supposed to do here?
GTK+ will not get any such patches that aren't in upstream. And we don't want to maintain appmenu-gtk just because it has gtk in its name.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-05-10 19:47:30 UTC
You may or may not be exposed to appmenu-gtk related bug reports if it messes with user gtk+ settings on systems using Gnome as well?
Comment 4 Gino McCarty 2019-05-10 19:53:25 UTC
(In reply to Mart Raudsepp from comment #2)
> What are we supposed to do here?
> GTK+ will not get any such patches that aren't in upstream. And we don't
> want to maintain appmenu-gtk just because it has gtk in its name.

 I filed this bug mainly to make KDE team (and others) aware that the runtime dependency exists and it is needed for the functionality of gmenudbusmenuproxy, which is enabled by default in plasma-workspace

I could see a scenario where this runtime dependency is just disabled in future builds of plasma-workspace

I filed a PR for the package with me a proxy-maintainer, while I don't mind being maintainer, I'm not thrilled about it.

the module is already buggy on some apps for me.
Comment 5 Andreas Sturmlechner gentoo-dev 2019-05-10 19:56:23 UTC
(In reply to Gino McCarty from comment #4)
> I could see a scenario where this runtime dependency is just disabled in
> future builds of plasma-workspace
I was aware of that, but its non-existence is by no means fatal.
Comment 6 Gino McCarty 2019-05-10 20:01:07 UTC
(In reply to Andreas Sturmlechner from comment #5)
> (In reply to Gino McCarty from comment #4)
> > I could see a scenario where this runtime dependency is just disabled in
> > future builds of plasma-workspace
> I was aware of that, but its non-existence is by no means fatal.

true enough.

Well, no dependency sounds best then
I'll leave the PR so that the package will exist in tree for those interested in global menu support in gtk
Comment 7 Marco Genasci 2019-05-16 12:45:17 UTC
(In reply to Gino McCarty from comment #4)
> I filed a PR for the package with me a proxy-maintainer, while I don't mind
> being maintainer, I'm not thrilled about it.
I use global menu in plasma and if you want I can take this package as proxy-maintainer. I have a newer version in my overlay [1].
There is also jayatana for gobal menu with java application but is very unstable and cause program crash (e.g. netbeans)

[1] https://github.com/fedeliallalinea/gallifrey/tree/master/x11-misc/appmenu-gtk
[2] https://github.com/fedeliallalinea/gallifrey/tree/master/x11-misc/jayatana