Skip to content

Context menu issues in Linux #574

@salvadordf

Description

@salvadordf

There are several issues with context menus in Linux at this moment :

  • Black box around the context menu.
  • Context menu displaced.
  • Context menu not working in OSR mode.

The black box issue seems to be caused by a missing or incomplete GTK compositor.

The menu displacement is a new issue caused by a CEF patch and there seems to be a workaround if you set GlobalCEFApp.OzonePlatform to TCefOzonePlatform.ozpWayland.

The issue in OSR mode seems to be the same that CEF has in GTK3 when it creates the browser. The debug logs show the same X11 error message.

A generic workaround for all these issues would be to clear the context menu in TChromiumCore.OnBeforeContextMenu and perhaps show a custom context menu using a TPopupmenu component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions