-
-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portable window example error #321
Comments
@Filipp-Druan It seems a platform-dependant issue, it works as expected on Windows and Linux with X-Window system, afaik. What platform are you trying it? |
Manjaro Linux XFCE. |
I'm afraid this issue could be related to XFCE desktop environment. There is not much I can do. |
I noticed the same issue in Pop!_OS Gnome. So it is not only related to xfce. |
I noticed the same issue with Debian 11, running with XFCE. I'll check at the code. portable_window.c:
Just clicking on the windows and make a light move, will make the windows sliding while the mouse is pressed:
I tried to investigate on
My attempt:
The sliding effect is gone but flickering effect is present since the windows seems moving slower than the mouse which finally escape. I guess this issue comes from the mouse position is "reseted" when the windows has moved because relative and never < 0. @raysan5 I think the are some remaining issues on the mouse management. |
@Lecrapouille If the problem is on mouse, why does is work as expected on Windows? |
@raysan5 I should try on Windows, but I'm noob with Windows. I do not know why on Windows it works, it should not work. When I tried to make my 1st example, I got issue with scrolling the list widget (I forget the name) it was the single widget I add: the scroll was also erratic (while with your example full of widget the scroll worked). |
Hi @raysan5 , I meet the same issue.
Is this the intended behavior? Perhaps we need a mechanism to ensure the mouse position is updated. |
When I run the portable window example and try to drag the window, it start to twitching and flay away from under cursor.
I would by happy to add a gif record, but I can't.
The text was updated successfully, but these errors were encountered: