Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
Plasma Workspace
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 63
    • Merge Requests 63
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Plasma
  • Plasma Workspace
  • Merge Requests
  • !507

Merged
Opened Dec 08, 2020 by Fabian Vogt@fvogtDeveloper

Fix global menu for Xwayland windows

  • Overview 7
  • Commits 1
  • Changes 3

Someone in IRC reported that some X11 applications don't have a global menu in a Plasma Wayland session, but they appear in an X11 session just fine. (Is there a report on bugs.kde.org for that?)

I was able to reproduce that and found that kded5 -platform xcb --replace helped and came up with this code.

I'm wondering why the xprops are even used by anything, is the GetMenuForWindow method not enough?

PoC because the KWindowInfo part won't work, so window type and class are unknown.

Edited Dec 09, 2020 by Fabian Vogt
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: plasma/plasma-workspace!507
Source branch: work/xwlappmenupoc