-
Notifications
You must be signed in to change notification settings - Fork 33
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
erratic behaviour in wtp / wmv / wrs #53
Comments
I just realized that I used the wrong command in the recording. Nevertheless, running |
It's not just those three programs. I've seen erratic behavior with |
okay then, which X version and OS are you guys running? |
I am having the same issues on arch. Arch just upgraded xorg-server to 1.19-1 I think. Libinput also became the new default driver so that could be the problem also. |
I don't run bleeding edge shit, can you confirm whether or not libinput is the problem? I don't see anything that should be a problem in the 1.19.1 release notes. |
dead cat wrote:
I don't run bleeding edge shit, can you confirm whether or not libinput is the problem?
Libinput has nothing to do with wmutils' problem. It might cause issues
with sxhkd/xbindkeys, but it shouldn't affect the tools themselves.
I've been testing on an arch VM, and it seems - in the case of wmv -
that it cannot retrieve the geometry correctly, thus returning from the
"move" function too early (error code: "9"; thanks libxcb...). I suppose
it's the same thing with wrs.
wtp does not have any issue for me, and works all the time.
I tested wtf as well, but it seems like it behaves correctly. I'm still
not sure what's wrong with it.
I don't see anything that should be a problem in the 1.19.1 release notes.
I didn't see anything either, but the API might have changed slightly,
causing libxcb to fail at some point (due to the "asynchronous" state
of it). I wonder how other tools using libxcb behave now (sxhkd seems
to have a problem as well for example)
|
I tried downgrading |
It seems (at least for me) that the problem goes away when you don't disconnect right after flushing. |
The issue seems to lie within the XCB library. Due to the asynchronous I tried rewriting mapw/wtf using xlib, and both of them work as expected I'm not sure what changed in xorg 1.19, but the issue is only present I'll keep investigating. If anyone has an idea, please speak up! |
Can anyone confirm if problem persists after replacing |
Yes, it works for me. I didn't find the binary to link with, so doing
(which is basically the same behavior) worked for me. |
The binary is libxcb-util.so |
Good catch d! As a reference, here is the definition from the libxcb page:
This way, we won't close the connection "too early" as we currently do. |
Closing as per commit dd268ec. Well done dcat! |
These three programs are doing their work at random rates. Sometimes I have to execute
wmv
from 3 to 6 times to move a window.I observed this issue yesterday, 14th of January. I did some investigation and I found that I upgraded
xorg-server
on 13th of January, although the three programs were behaving normally two days ago.Recording of wmv: http://pub.iotek.org/p/2W8nWui (open as mp4 file)
In the recording
wmv
is not moving the window at all.Props to @laserswald for notifying me about this bug.
The text was updated successfully, but these errors were encountered: