#4192

Confined pointer gets stuck on the floating surface boundary

Openbczhcopened 4mo ago

When a window confines the cursor and there's another floating window above but inside, the cursor gets stuck on the upper window's boundary.

See demonstration video:

niri

https://github.com/user-attachments/assets/d580ad1d-6413-4136-8d40-ff37de221581

mutter (expected result)

https://github.com/user-attachments/assets/8a78285a-18bb-4334-a54b-3973c51408a7

kwin and hyprland if you want to see them.

Tests

The issue is present in niri, cosmic, sway; not exists in hyprland, kwin_wayland, mutter, and i3wm (yea this is X11 tho).

System Information

  • niri version: niri 26.04 (v26.04-73-gad13dec4-modified)

Activity

19
HigherOrderLogic4mo ago

Seems like the Niri video doesnt load for me.

HigherOrderLogic4mo ago

Seems like the Niri video doesnt load for me.

HigherOrderLogic4mo ago

Seems like the Niri video doesnt load for me.

bczhc4mo ago

There's no way. I processed these four videos using the same ffmpeg parameters.

bczhc4mo ago

There's no way. I processed these four videos using the same ffmpeg parameters.

bczhc4mo ago

There's no way. I processed these four videos using the same ffmpeg parameters.

bczhc4mo ago

There's no way. I processed these four videos using the same ffmpeg parameters.

Oops sorry. The niri video is yuv444p10le i'll fix it...

bczhc4mo ago

There's no way. I processed these four videos using the same ffmpeg parameters.

Oops sorry. The niri video is yuv444p10le i'll fix it...

bczhc4mo ago

There's no way. I processed these four videos using the same ffmpeg parameters.

Oops sorry. The niri video is yuv444p10le i'll fix it...

HigherOrderLogic4mo ago

The Hyprland video also doesnt load, so maybe you need to fix that one too.

HigherOrderLogic4mo ago

The Hyprland video also doesnt load, so maybe you need to fix that one too.

HigherOrderLogic4mo ago

The Hyprland video also doesnt load, so maybe you need to fix that one too.

Gwenodai4mo ago

Both All four videos work perfectly fine on both mobile and PC for me.

I can also confirm this undesirable behaviour has existed for a long time in Niri, and isn't new.

Gwenodai4mo ago

Both All four videos work perfectly fine on both mobile and PC for me.

I can also confirm this undesirable behaviour has existed for a long time in Niri, and isn't new.

Gwenodai4mo ago

Both All four videos work perfectly fine on both mobile and PC for me.

I can also confirm this undesirable behaviour has existed for a long time in Niri, and isn't new.

YaLTeR4mo ago

Interesting but also need to look what exactly is going on there and decide the behavior that makes sense

YaLTeR4mo ago

Interesting but also need to look what exactly is going on there and decide the behavior that makes sense

avivbintangaringga4mo ago

I think I also have similar problem whenever I play game then DMS notification popped up, the game's cursor cannot go below or above the notification, so I can't close the notification either. It just stuck on the edge of the notification.

Gwenodai4mo ago

I think I also have similar problem whenever I play game then DMS notification popped up, the game's cursor cannot go below or above the notification, so I can't close the notification either. It just stuck on the edge of the notification.

Yes this also happens with popup layers from other shells like noctalia. I didn't realise the post mentioned windows specifically, but this behaviour is present with both windows and layers.