Skip to content

fix: render Linux popup after activation #163

Description

@StudentWeis

Summary

On Linux/X11, Ropy creates and maps its popup window but can block the GPUI foreground thread before the first frame is painted. The desktop therefore shows no Ropy UI even though X11 reports the 400x550 window as IsViewable.

Steps to Reproduce

  1. Launch the packaged Linux build under Ubuntu 22.04 with GNOME/X11.
  2. Trigger the configured global hotkey.
  3. Inspect the process and X11 window with wmctrl/xwininfo.
  4. Observe the desktop or capture a screenshot.

Expected Behavior

Ropy remains hidden at startup and renders the clipboard history popup after the global hotkey or tray action activates it.

Actual Behavior

The process remains alive and the main window is mapped, but no Ropy pixels appear. Startup synchronously calls the X11 activation path, whose unbounded _NET_ACTIVE_WINDOW wait can block the GPUI event loop for a NOTIFICATION popup. The activation action also mutates render state without explicitly notifying GPUI.

Ropy Version

0.5.5 / commit 8db4cf3 test artifact

Operating System

Linux (X11)

Logs / Screenshots

AgentBay Ubuntu 22.04 validation observed a live Ropy process and a 400x550 X11 window with Map State: IsViewable, while repeated desktop screenshots contained only the GNOME desktop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions