-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Modal window jumps #3938
Comments
Can this be reproduced with an xpra client running on X11? My guess is that the application is sending a configure request with the position bits set and we honour it. Wayland clients are prevented from knowing the position of their window, so fixing this type of bug would be hard. This should work with the html5 client but perhaps we're missing a geometry update following the window move. |
|
The dummy driver is very unlikely to make any difference. |
That log file is humongous, please only include the relevant bits. |
Ok this should only be the relvante part:
|
I can only reproduce this in seamless mode.
|
Please try with an xpra client running within an X11 desktop session, not Wayland, not html5. |
I am having the same problem here as well, my xpra client is now running within an X11 desktop session |
At the end of your log:
I have no idea if this is right or wrong, but both the client and server agree on |
Kind of strange, when I add a move and resize event for a modal window, the move event also fires when I resize. Is this the normal behavior of xpra? I would expect only the resize event to fire. |
There is no Move or Resize event in X11, only |
I have tried version 5.0.5 and it does not seem to fix the problem. |
and do call '_update_client_geometry' whenever the hints actually change, which means dealing with potentially uninitialized values: use the current window geometry
So I managed to compile this app with VS on my win10 VM.
Then again
So, most of the no-op updates are skipped, except for the icon. The changes above fix the worst offenders. I'm still going to look at the geometry changes to see if they're legit. Window geometry documentation links: |
I think the changes have fixed the bug a bit as it occurs less frequently now (tested with the master version). However, it is still reproducible if the window size is changed frequently. 2024-02-08.14-35-32.mp4 |
The good news is that I think that I have found the problem. |
Confusing, ICCCM 4.2.3. Window Move states that If the window manager moves a top-level window without changing its size, the client will receive a synthetic ConfigureNotify event following the move that describes the new location in terms of the root coordinate space |
* only send a configure notify when the window as moved but not resized * when only resized, preserve the existing position * when handling configure requests, generate a new event mask which may ignore some unchange values (position and / or size)
A massive thank you to @s-kotte for being so patient with this one. This will have to simmer a bit before I can backport it all to the older branches. Since I am on a roll, I might revisit #3478 There will be builds with this fix in the beta repo soon, but not for Ubuntu Focal... which is only supported in v5 (time to upgrade?) |
* only send a configure notify when the window as moved but not resized * when only resized, preserve the existing position * when handling configure requests, generate a new event mask which may ignore some unchange values (position and / or size)
This will be included in v5.0.6 |
* only send a configure notify when the window as moved but not resized * when only resized, preserve the existing position * when handling configure requests, generate a new event mask which may ignore some unchange values (position and / or size)
Describe the bug
Changing the height of a modal window at runtime sometimes causes window jumps. The window jumps only occur when the xpra window manager is used. With fluxbox or lightdm it works fine.
To Reproduce
Steps to reproduce the behavior:
Xpra server command:
xpra start --start-child-after-connect="wine ./program/WindowsFormsApp2.exe" --bind-tcp=0.0.0.0:8085 --no-daemon -d geometry
System Information (please complete the following information):
Additional context
Log file: xpra.log
2023-07-25.10-42-13.mp4
The text was updated successfully, but these errors were encountered: