Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1148897
| From | Olly Betts <olly@survex.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1037164: libwxgtk3.0-gtk3-0v5: wxwidgets not built with XTest support (libxtst6) |
| Date | 2023-06-06 22:40 +0200 |
| Message-ID | <GDLDb-e7W5-5@gated-at.bofh.it> (permalink) |
| References | <GDJUJ-e6Td-1@gated-at.bofh.it> <GDJUJ-e6Td-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 06, 2023 at 02:12:50PM -0400, Maxim Cournoyer wrote:
> I researched the problem and found that the feature I wanted was implemented
> using XTest, which is detected at wxWidgets' build time [1]. Looking at the Debian
> package dependencies, I found it did *not* depend on the libxtst6 package.
>
> [1] https://github.com/wxWidgets/wxWidgets/issues/17530
Have you actually tested a wx build with this enabled?
Comments in that ticket suggest that XTest doesn't work on Wayland and
"Wayland is used by default in Debian 10 and newer" (10 is buster, the
current stable release right now which is about to become oldstable):
https://wiki.debian.org/Wayland
It looks like there isn't a Wayland-specific implementation in the
source and src/unix/uiactionx11.cpp uses X11-specific functions so
building with --with-xtest may not really solve your problem.
Forcing use of X11 for the app may help, e.g.:
GDK_BACKEND=x11 ./myapp
(The debian wx packages currently effectively do the above automatically
if wxGLCanvas is used as the current support for wxGLCanvas on Wayland
has some problems - hopefully we can eliminate that soon, but it seemed
the least risky fix for the bullseye release.)
> * What was the outcome of this action?
>
> This bug/wishlist report.
Hilarious, but more useful answers to these questions would be a
short python script to allow us to easily check if wx.UIActionSimulator
is working as you expect or not (e.g. currently this script produces
no output, with working support it should output "...").
> wx.UIActionSimulator from wxPython/wxWidgets should produce key inputs
> instead of nothing. It should work like it does on Guix System.
I notice that configure --help describes this feature as "experimental":
--enable-uiactionsim use wxUIActionSimulator (experimental)
That might be an outdated status though.
Cheers,
Olly
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1037164: libwxgtk3.0-gtk3-0v5: wxwidgets not built with XTest support (libxtst6) Maxim Cournoyer <maxim.cournoyer@gmail.com> - 2023-06-06 20:50 +0200
Bug#1037164: libwxgtk3.0-gtk3-0v5: wxwidgets not built with XTest support (libxtst6) Olly Betts <olly@survex.com> - 2023-06-06 22:40 +0200
Bug#1037164: libwxgtk3.0-gtk3-0v5: wxwidgets not built with XTest support (libxtst6) Maxim Cournoyer <maxim.cournoyer@gmail.com> - 2023-06-07 05:40 +0200
Bug#1037164: libwxgtk3.0-gtk3-0v5: wxwidgets not built with XTest support (libxtst6) Scott Talbert <swt@techie.net> - 2023-06-07 16:10 +0200
Bug#1037164: libwxgtk3.0-gtk3-0v5: wxwidgets not built with XTest support (libxtst6) Olly Betts <olly@survex.com> - 2023-06-07 22:40 +0200
Bug#1037164: libwxgtk3.0-gtk3-0v5: wxwidgets not built with XTest support (libxtst6) Olly Betts <olly@survex.com> - 2023-06-08 06:40 +0200
csiph-web