| Summary: | In-window menubars inappropriately disappear for windows on a screen without a Global Menu widget on it, if any other screens do have a Global Menu widget | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kxmlgui | Reporter: | jan.claussen10 |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | mihailovb, nate |
| Priority: | NOR | Keywords: | usability |
| Version First Reported In: | 5.95.0 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
jan.claussen10
2020-05-31 14:36:47 UTC
Whether windows show an in-window menubar is global, not per-screen. There isn't a sane way to make it per-screen either, I'm afraid. It filters by screen. Probably just needs a checkbox in its settings to set this on or off. https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/appmenu/plugin/appmenumodel.cpp#L46 Answer from the author of it. For now I'm using an applet that has the desired behavior. I know that the Global Menu filters by screen (obviously, since you can move it around from one screen to another!), but kxmlgui does not. in kxmlgui whether to show the in-window menubar due to the presence of a global menu is a yes or a no; it can't know what screen the global menu is on because that would require knowledge of Plasma's internals and would make Plasma a dependency of kxmlgui. Maybe there's a way to change that though I don't know how. If you're the author of some of this code, maybe you can help? |