Bug 397090 - Application menu in titlebar doesnt pick up the first item from appmenu in gtk3-demo-application
Summary: Application menu in titlebar doesnt pick up the first item from appmenu in gt...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (other bugs)
Version First Reported In: 5.13.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-02 13:33 UTC by Lucia Mrenica
Modified: 2021-08-29 23:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucia Mrenica 2018-08-02 13:33:53 UTC
So I can't hide the appmenu from apps if not all options are 'copied' into titlebar menu.
Comment 1 Kai Uwe Broulik 2018-08-02 13:37:44 UTC
I can confirm.

However, the window has both an application menu and a menu bar, something that we don't support right now. All applications I have tried before had either a proper menu bar with a "File" menu or a bare-bones application menu with Help, About, Quit.
Comment 2 Lucia Mrenica 2018-08-02 13:42:08 UTC
(In reply to Kai Uwe Broulik from comment #1)
> I can confirm.
> 
> However, the window has both an application menu and a menu bar, something
> that we don't support right now. All applications I have tried before had
> either a proper menu bar with a "File" menu or a bare-bones application menu
> with Help, About, Quit.

Do you plan to support it? Do you know any other packages that are affected by this?
Comment 3 Kai Uwe Broulik 2018-08-02 13:44:11 UTC
> Do you plan to support it?

I originally tried but was more difficult than expected as mapping GTK menu items (that don't have a unique ID) to DBus Menu entries (that must have one) is hard enough, let alone if you have two completely independent menus that you try to merge into one..

> Do you know any other packages that are affected by this?

No, I see this for the first time here, which explains why I never bothered to implement it given the above.