By the logs, the plugin sends commands using the old dispatch format, which is not valid lua syntax, hence the error.
The dispatch commands just don't work so I guess the issue is pretty clear. The opened windows stays tiling, and they couldn't resize or move in floating mode.
[Info : Unity Log] SaveWindowState() (1536 x 864)
new_window(title: Rhythm Doctor, x: 10, y: 10, w: 100, h: 100, frameless: false, opaque: false, allowFullscreen: false)
"error: [string \"return hl.dispatch(setprop initialtitle:53757...\"]:1: ')' expected near 'initialtitle'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
create_icon(72 width)
set_window_icon(0x7f385c003b40, 0x4044a860)
set_window_size(0x7f385c003b40, 100, 100)
set_window_texture(0x7f385c003b40, 1f8)
enable_input(0x7f385c003b40)
set_window_sampler_config(0x7f385c003b40)
"error: [string \"return hl.dispatch(setprop initialtitle:53757...\"]:1: ')' expected near 'initialtitle'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
[Info : Unity Log] Found 2 monitors
[Info : Unity Log] Window Dance Resolution: (2048, 1152)
move_window(0x12345, 416, -774, 704, 396)
"error: [string \"return hl.dispatch(setprop initialtitle:Rhyth...\"]:1: ')' expected near 'initialtitle'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
"error: [string \"return hl.dispatch(movewindowpixel exact 416 ...\"]:1: ')' expected near 'exact'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
"error: [string \"return hl.dispatch(setprop initialtitle:53757...\"]:1: ')' expected near 'initialtitle'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
[Info :Linux Window dance] Window choreographer was set up
focus_window(0x12345)
hide_window(0x7f385c003b40)
move_window(0x12345, 416, -774, 704, 396)
"error: [string \"return hl.dispatch(setprop initialtitle:Rhyth...\"]:1: ')' expected near 'initialtitle'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
"error: [string \"return hl.dispatch(setprop initialtitle:53757...\"]:1: ')' expected near 'initialtitle'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
"error: [string \"return hl.dispatch(movewindowpixel exact 416 ...\"]:1: ')' expected near 'exact'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
focus_window(0x12345)
"error: [string \"return hl.dispatch(setprop initialtitle:53757...\"]:1: ')' expected near 'initialtitle'\n\n \xE2\x86\x92 Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated."
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
focus_window(0x12345)
Before you continue...
Describe the bug
On Hyprland setups with the new Lua config format, the content passed to
hyprctl dispatchis expected to be Lua expressions that get wrapped by the Lua APIhl.dispatch(...).By the logs, the plugin sends commands using the old dispatch format, which is not valid lua syntax, hence the error.
The dispatch commands just don't work so I guess the issue is pretty clear. The opened windows stays tiling, and they couldn't resize or move in floating mode.
Information:
Rhythm Doctor version: v1.1.1
Using Wine or Native Linux: Native
Desktop Environment (and version): Hyprland 0.55.4
Distro: Arch
X11 or Wayland: Wayland
Screenshot of the "window dance" option in the Rhythm Doctor settings: Full. I closed the game writing this so I'm lazy to reopen. I'll add it back if it's necessary
Logs (follow instructions above): this is part of the logs that shows the error message.