Skip to content

[Bug] OpenLogi GUI 启动后立即崩溃(RefCell already borrowed) #368

Description

@uknowy

Pre-flight checklist

  • I searched existing issues and this is not a duplicate.
  • I am on the latest release or a recent master build.
  • I quit Logi Options+ before running OpenLogi (the two apps fight over HID++ access and only one can own a receiver at a time).

Which part of OpenLogi?

GUI (desktop app)

OpenLogi version

openlogi-v0.6.19-linux-amd64

Operating system

Linux

OS version & architecture

Kali Linux 2026.3 (内核 7.0.12+kali-amd64)

Device model

G502 HERO

How is the device connected?

Wired (USB cable)

Affected area(s)

  • Device discovery / detection
  • Button remapping
  • DPI control
  • SmartShift
  • Per-application profiles
  • Battery status
  • Settings / configuration (TOML)
  • Auto-update
  • Menu bar / tray
  • Other

What happened?

OpenLogi GUI (v0.6.19) 在启动时窗口一闪而过,无法正常使用。
后台服务 openlogi-agent 运行正常,鼠标(Logitech G502 HERO)能被识别,但图形界面程序 openlogi-gui 在加载过程中崩溃。
2026-07-10T15:44:00.388155Z INFO ...
...
2026-07-10T15:44:01.085087Z INFO gpui_linux::linux::x11::window: Creating colormap 83886100

thread 'main' panicked at /home/runner/.cargo/git/checkouts/zed-.../crates/gpui_linux/src/linux/x11/client.rs:1529:23:
RefCell already borrowed
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Steps to reproduce

复现步骤:

1确认后台服务已启动:
bash

systemctl --user status openlogi-agent.service

2在终端运行:
bash

openlogi-gui

3GUI 窗口短暂出现后立即消失,终端输出上述错误信息。

Diagnostics report

操作系统	Kali Linux 2026.3 (内核 7.0.12+kali-amd64)
桌面环境	Xfce 4.18 (X11)
OpenLogi 版本	v0.6.19 (通过 .deb 包安装)
鼠标型号	Logitech G502 HERO
显卡	NVIDIA GeForce RTX 2070 Mobile (驱动 595.84)
GPU 上下文	双屏配置:外接显示器由独显驱动,内屏由核显驱动

openlogi list output


Logs

macOS permissions (if applicable)

  • OpenLogi has Accessibility permission (needed to remap buttons via the event tap).
  • OpenLogi has Input Monitoring permission (needed for Bluetooth-direct devices and capture).

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: triageNeeds maintainer triagetype: bugSomething is broken or behaves incorrectly

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions