Skip to content

[Bug] RemoteApp (seamless) windows broken on Hyprland with HiDPI scale (flickering, wrong mouse coordinates, window resizing) #766

@Cellimann

Description

@Cellimann

What version of WinBoat are you running?

0.9.0

Your Environment

Environment

  • OS: Arch Linux
  • Desktop: Hyprland 0.54.3 (ML4W dotfiles)
  • WinBoat: 0.9.0
  • FreeRDP: xfreerdp3 3.22.0
  • Container Runtime: Docker

Monitor Setup

  • HDMI-A-1: 3840x2160 @ scale 1.6
  • eDP-1: 2560x1600 @ scale 1.6

Steps to Reproduce / Context

Description

RemoteApp (seamless) windows are unusable under Hyprland with HiDPI scaling (scale 1.6).
The full Windows Desktop via RDP works perfectly fine.

Symptoms

  • Seamless windows flicker constantly
  • Window size changes uncontrollably when hovering with mouse
  • Mouse clicks land at wrong coordinates (input offset)
  • Login dialogs/text fields cannot be interacted with

What works

  • Windows Desktop (fullscreen RDP) works perfectly, mouse input correct

What was tried without success

  • xwayland { force_zero_scaling = true } in Hyprland config
  • Hyprland windowrules: float, no_blur, no_shadow, no_anim, border_size 0, max_size
  • Setting HDMI monitor as primary at position 0x0
  • WinBoat Display Scaling set to 140%
  • Manual FreeRDP argument /scale:140 via rdpArgs → black window
  • Manual FreeRDP argument /size:2400x1284 → no window appears

Root cause hypothesis

RemoteApp windows run as XWayland clients. Hyprland with scale 1.6 causes
incorrect coordinate mapping for XWayland windows, making mouse input land
at wrong positions. This is specific to RemoteApp mode - full desktop RDP
is unaffected as it runs as a regular window without XWayland coordinate issues.

Reproducing

  1. Set up Hyprland with monitor scale != 1.0
  2. Install WinBoat and set up Windows
  3. Launch any app in seamless/RemoteApp mode (tested: A custom app, Notepad++)
  4. Observe flickering, wrong window sizes and broken mouse input, moving windows by moving the mouse, login dialogs doesn't work

Logs

Expected Behavior

Expected behavior

  • Seamless startet applications should be shown in a normal window without flickering or changing the size by hovering with mouse
  • Applicationwindows shouldn't jump to other virtual desktops just by moving the mouse
  • Login dialogs should work

Current Behavior

Symptoms

  • Seamless windows flicker constantly
  • Window size changes uncontrollably when hovering with mouse
  • Mouse clicks land at wrong coordinates (input offset)
  • Login dialogs/text fields cannot be interacted with

Possible Solution

No response

Quality Notice

  • I have checked the issue tracker and verified that this bug is a unique case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageAn issue that is to be reviewed and assessed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions