Skip to content

cef_server_params.txt doesn't support multiple users #36

@renlei-leon

Description

@renlei-leon

Describe the bug
The file cef_server_params.txt is consistently generated at /tmp/cef_server_params.txt. When multiple users are using IntelliJ IDEA on the same machine, the first user creates the file, but when the second user launches the application, the JCEF interface fails to initialize properly. Log analysis revealed that the issue stems from the second user not having permission to write to this file.

To Reproduce
Steps to reproduce the behavior:

  1. User A start IDEA, and install plugin 'continue'
  2. User B start IDEA on the same machine, and install plugin 'continue', too
  3. Then continue UI in user B is none, nothing.

Expected behavior
Both A and B can use continue plugin in IDEA on the same machine.

Screenshots

Version and environment:

  • OS: CentOS 7.9
  • JetBrains Runtime version: 21.0.7+6-b1038.58 aarch64
  • CPU: [put here CPU architecture like arm64, M1, M2, x86, etc.]
  • JCEF Version: 122.1.9
  • CEF Version: -
  • Is OSR enabled: -

Additional context
The file is created at: java/com/jetbrains/cef/remote/NativeServerManager.java:73

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions