linuxmobile / linuxmobile/hibiki

Draggable Overlay not working as intended on Hyprland

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
122
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I'm using Hyperland on NixOS and am running this through the `nix run` command. When "Draggable Overlay" is checked, I can move the widget with the mouse, but it sort of "lags" behind the mouse, see below:

https://github.com/user-attachments/assets/2c806dce-6b7e-422a-89d4-ca09635d10e6

Sample Log

```
(hibiki:689824): Gtk-WARNING **: 11:10:38.030: Broken accounting of active state for widget 0x55d142eb3280(GtkApplicationWindow)
2026-03-28T15:10:39.017357Z DEBUG Drag ended with offset (0, 0)
2026-03-28T15:10:39.271704Z DEBUG Drag started at margin (544, 430)
2026-03-28T15:10:39.378026Z DEBUG Drag ended with offset (16.42578125, 22.84375)
2026-03-28T15:10:40.405001Z DEBUG Drag started at margin (560, 452)
2026-03-28T15:10:40.570765Z DEBUG Drag ended with offset (3.21484375, -29.43359375)
2026-03-28T15:10:42.077632Z DEBUG Drag started at margin (563, 423)
2026-03-28T15:10:42.168360Z DEBUG Drag ended with offset (30.7734375, -22.02734375)
2026-03-28T15:10:49.360231Z DEBUG Drag started at margin (593, 401)
2026-03-28T15:10:49.488149Z DEBUG Drag ended with offset (44.90625, 20.75390625)
2026-03-28T15:10:51.647233Z DEBUG Drag started at margin (637, 421)

(hibiki:689824): Gtk-WARNING **: 11:10:53.459: Broken accounting of active state for widget 0x55d142eb3280(GtkApplicationWindow)
2026-03-28T15:10:58.203496Z DEBUG Drag ended with offset (310.73828125, 101.45703125)
2026-03-28T15:10:58.555884Z DEBUG Drag started at margin (947, 522)

(hibiki:689824): Gtk-WARNING **: 11:11:00.063: Broken accounting of active state for widget 0x55d142eb3280(GtkApplicationWindow)
2026-03-28T15:11:01.308503Z DEBUG Drag ended with offset (-430.39453125, -273.87890625)
2026-03-28T15:11:01.713629Z DEBUG Drag started at margin (517, 249)
2026-03-28T15:11:02.680980Z DEBUG Drag ended with offset (-239.8203125, -107.05859375)
2026-03-28T15:11:03.723685Z DEBUG Drag started at margin (278, 142)
2026-03-28T15:11:05.260794Z DEBUG Drag ended with offset (730.28125, -33.84375)
2026-03-28T15:11:29.989425Z DEBUG Drag started at margin (1008, 109)
2026-03-28T15:11:30.334615Z DEBUG Drag ended with offset (-166.04296875, 51.890625)
2026-03-28T15:11:46.474960Z DEBUG Drag started at margin (842, 160)

(hibiki:689824): Gtk-WARNING **: 11:11:47.761: Broken accounting of active state for widget 0x55d142eb3280(GtkApplicationWindow)
2026-03-28T15:11:49.332061Z DEBUG Drag ended with offset (-457.15234375, 85.84375)
2026-03-28T15:11:49.782238Z DEBUG Drag started at margin (385, 245)

(hibiki:689824): Gtk-WARNING **: 11:11:51.069: Broken accounting of active state for widget 0x55d142eb3280(GtkApplicationWindow)
2026-03-28T15:11:52.669479Z DEBUG Drag ended with offset (570.90625, 391.421875)
2026-03-28T15:11:53.225216Z DEBUG Drag started at margin (955, 636)

(hibiki:689824): Gtk-WARNING **: 11:11:54.272: Broken accounting of active state for widget 0x55d142eb3280(GtkApplicationWindow)
```

I don't think this is a bug, but it would be nice if the widget stayed visible while I was dragging it. Not sure if its supposed to do that and it just isn't working.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Draggable Overlay behavior with `nix run` on Hyprland, using the attached video and sample log as the baseline. Then trace the drag behavior and compare the widget’s position during pointer movement; done means the widget remains visible and follows the mouse without the reported lag.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.