Skip to content

Mouse context menu does not work in examples #702

Open

Description

@cztomczak

Tried with hello_world.py and tutorial.py examples.

Mouse context menu was enabled by default in cefpython v66. What changed?

Activity

  1. linesight commented on Oct 23, 2026

    @linesight
    Contributor

    mouse context menu works for me (win11 and kubuntu 26/kwin wayland session)
    I suspect it is upstream issue, can you try cefsimple command on your machine to see if cefsimple reproduces the issue?

    maybe relevant report from steam which is built on CEF, on GNOME Xwayland
    ValveSoftware/steam-for-linux#9684
    ValveSoftware/steam-for-linux#13711

  2. cztomczak commented on Oct 23, 2026

    @cztomczak
    OwnerAuthor

    I can reproduce the missing context menu in cefsimple with:

    ./cefsimple --no-sandbox --ozone-platform=x11 --use-native --use-alloy-style

    If I remove --use-native, the context menu appears:

    ./cefsimple --no-sandbox --ozone-platform=x11 --use-alloy-style

    You mentioned that the context menu works in both cases. Could you share the exact commands and CEF version you tested? I cannot reproduce that result on my setup. Please investigate why the behavior differs.

    What is your testing procedure on Linux for when the mouse context menu works for you? Specific instructions please.

  3. linesight commented on Oct 23, 2026

    @linesight
    Contributor

    can you help confirm if context menu works for you at windows OS? If so, i can dive deeper on the linux specific glitch

  4. cztomczak commented on Oct 23, 2026

    @cztomczak
    OwnerAuthor

    I haven't tested on Windows yet.
    This CEF topic may be related: https://magpcss.org/ceforum/viewtopic.php?f=6&t=20303
    It seems to be Linux/Ubuntu related.
    Although currently CEF forum seems to be down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions