Visitar URL original
Results of testing examples · Issue #23 · python-xlib/python-xlib · GitHub
The Wayback Machine - https://web.archive.org/web/20210106130907/https://github.com/python-xlib/python-xlib/issues/23
Skip to content
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

Results of testing examples #23

Open
SvetlanaFilicheva opened this issue May 12, 2016 · 9 comments
Open

Results of testing examples #23

SvetlanaFilicheva opened this issue May 12, 2016 · 9 comments

Comments

@SvetlanaFilicheva
Copy link
Contributor

@SvetlanaFilicheva SvetlanaFilicheva commented May 12, 2016

Examples have been tested on following OS: Ubuntu 14.04.4 LTS and Debian GNU/Linux 8 with KDE 5.

Python 2.7
Following examples run on both systems:
childwin.py,
eventthread.py,
get_selection.py,
put_selection.py,
profilex.py,
security.py,
shapewin.py,
threadtest.py,
xfixes.py,
xinerama.py,
xinput.py,
xlsatoms.py,
xrandr.py.

Following examples fall on both systems:
record_demo.py.

draw-proto.py and draw.py run on both systems, but on Debian changing window size causes such malfunction:
image

Python 3.4
All examples fall on both systems.

@eazar001
Copy link

@eazar001 eazar001 commented Aug 7, 2016 •

Specifically for the record_demo.py, a traceback failure is returned at line 113 with: TypeError: unsupported operand type(s) for &: 'str' and 'int'.

(Python 3.5.2)

(This does work however, on python 2.7.12)

@benoit-pierre
Copy link
Member

@benoit-pierre benoit-pierre commented Aug 8, 2016

@eazar001: OK, so you seem to be using 0.16; as I can reproduce the error with this version, but not with master. Can you confirm?

@eazar001
Copy link

@eazar001 eazar001 commented Aug 8, 2016

Hello, @benoit-pierre, indeed I was running 0.16 at the time I received this error. Also, yes I can confirm that running an installation from HEAD of master does indeed work as expected.

@benoit-pierre
Copy link
Member

@benoit-pierre benoit-pierre commented Aug 8, 2016

Great! @vasily-v-ryabov: maybe we should release a 0.16.1/0.17 version now? The fixes to property handling and the RECORD extension are important enough to warrant it.

@vasily-v-ryabov
Copy link
Collaborator

@vasily-v-ryabov vasily-v-ryabov commented Aug 8, 2016

@benoit-pierre agree about 0.17. But I'd suggest to wait for 1-2 days while PR #47 is finished or not. If there was no reply, we could add this by another PR or ship 0.17 without it.

@eazar001
Copy link

@eazar001 eazar001 commented Aug 8, 2016 •

@benoit-pierre I've also noticed another bug in the test:
ButtonPress is only registered until after ButtonRelease is registered. That does not seem like expected behavior to me, however I could be wrong.

In other words:

ButtonPress 1
ButtonRelease 1

only show up together, "synchronously", if that makes any sense at all.

@benoit-pierre
Copy link
Member

@benoit-pierre benoit-pierre commented Aug 8, 2016

How do you test? Because if you test by clicking on the terminal where the command is run, it might just be the fact that you're entering selection mode, which stops the terminal output. It work fine when clicking on another window, or on the desktop.

@eazar001
Copy link

@eazar001 eazar001 commented Aug 8, 2016

slaps forehead

Yes, you're right. Wow, that was silly of me =P

@vasily-v-ryabov
Copy link
Collaborator

@vasily-v-ryabov vasily-v-ryabov commented Aug 9, 2016

Cool! @benoit-pierre, I think we are ready for 0.17 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.