'Translucent window' plugin results in increasingly laggy window drag movements as mouse polling frequency increases

Steps to reproduce

  1. Open Obsidian.
  2. Enable the ‘Translucent window’ plugin.
  3. Set your mouse polling frequency to any value above 100 Hz (100 Hz may still introduce lag, but it isn’t perceptible to my eye on a 144 Hz display).
  4. Drag the window around the screen.

Expected result

After carrying out the steps listed above, I expect to be able to move, or drag the window around the display area without any lag, however this is currently not the case.

Actual result

Instead of being able to move the window around the display surface without any lag, the translucent window moves very slowly along a path defined by the drag event.

Once a drag event has been started, the window will follow the position of the mouse from the origin of the drag event (the position where the left mouse button was first clicked) to the end of the event (the position where the left mouse button was let up). During this time, the mouse becomes free to use normally as the window completes the drag event, meaning other areas of the screen can be selected. Text input is also available while the drag event completes, meaning it’s possible to continue editing a note within Obsidian while the Obsidian window moves around the screen.

Decreasing the mouse polling frequency seems to remedy the issue in a linear fashion. When the mouse polling frequency is set to 100 Hz, the lag is imperceptible, and drag events appear as they do with an opaque window. As the frequency is increased, so does the lag.

The issue isn’t apparent with other applications that feature a similar translucency effect, such as Windows Terminal.


  • Operating system: Windows 10 Pro 2004 19041.508
  • Obsidian version: 0.9.2

Additional information

A video of the laggy dragging:


Thank you. This is probably a problem with upstream electron.