This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
one gtk_test::click leads to two clicked events #21
Comments
Further information: that bug appears on my LinuxMint in conjunction with focus change of the active window. What I just see:
|
You're not supposed to do anything while running those tests otherwise interactions might end in the wrong window. Otherwise, I was completely unable to get your error... :-/ |
Yes I am aware that the test ist focus-sensitive and works when not disturbed. I confirm so far: in the console i type "cargo run" then i do nothing until the program has finished. How did you try to replay the issue ? On your local machine ? What distro/gtk/windowmanager are you using ? Or a VM with a common linux ? Any hint how to get a better ability to make that replayable ? maybe Docker ? |
No VM and Linux mint 19. That's pretty much it... |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I took the basic example https://github.com/gtk-rs/gtk-test/blob/master/tests/basic.rs and expanded it with an atomic counter and a loop with 10 executions. As we see later in the output, we get two closure evaluations, invoked by connect_clicked().
src/main.rs:
Cargo.toml :
As result I get on my LinuxMint-19 VM:
On my gentoo host I get this result:
Additional Hint:
On my gentoo host, i see a behaviour in 90% of the trials: {
For the remaining 10% of the trials I saw it either working continually, or not working.
Host System information:
Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.27-r6, 4.17.8-gentoo x86_64)
System uname: Linux-4.17.8-gentoo-x86_64-AMD_A10-7870K
# rustup show
Default host: x86_64-unknown-linux-gnu
installed toolchains
stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
installed targets for active toolchain
i686-pc-windows-gnu
x86_64-pc-windows-gnu
x86_64-unknown-linux-gnu
active toolchain
stable-x86_64-unknown-linux-gnu (default)
rustc 1.32.0 (9fda7c223 2019-01-16)
VM System information:
Linux Mint 19 Cinnamon, Kernel 4.15
Installed package via console: libgtk-3-dev
# rustup show
Default host: x86_64-unknown-linux-gnu
rustc 1.32.0 (9fda7c223 2019-01-16)
The text was updated successfully, but these errors were encountered: