Zoom issue in wayland

Bug #1725920 reported by Eldar Khayrullin on 2017-10-22
This bug affects 4 people
Affects Status Importance Assigned to Milestone

Bug Description


Has kicad been tested in wayland?, I'm running debian testing and recently they set wayland by default for gnome.

Now kicad is unable to control the cursor position and this causes annoying behavior when changing options using right click while drawing a wire or track.
The "pan while moving object" and the "center and warp cursor on zoom" doesn't work very well on wayland.

I can switch back to X11 but seems like wayland is the future.

Fedora has shipped wayland for some time, do these problems also exists in fedora?

Application: kicad
Version: no-vcs-found-0b1eb56~60~ubuntu17.04.1, release build
    wxWidgets 3.0.3
    libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
Platform: Linux 4.13.0-16-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

Build settings:

Eldar Khayrullin (eldar) on 2017-10-22
tags: added: gnome wayland zoom
Nick Østergaard (nickoe) wrote :

This is a general problem with kicad under wayland, both stable and master.

tags: removed: gnome
Nick Østergaard (nickoe) wrote :

Also ubuntu 17.10 uses wayland by default now.

Nick Østergaard (nickoe) wrote :

I don't have wayland configured on my machine, but what I don't quite get a clear message about it is this is only an issue in the opengl and cairo canvas. What about the legacy canvas?

Eldar Khayrullin (eldar) wrote :

All canvases and all apps in kicad are affected

Changed in kicad:
importance: Undecided → High
importance: High → Undecided
status: New → Confirmed
Tomasz Wlostowski (twlostow) wrote :

Does anyone know if Wayland permits an application to warp the cursor at all?


Wayne Stambaugh (stambaughw) wrote :

Before we point the finger at the wxWidgets project, please keep in mind that none of these issues existed using xorg. Perhaps it is wayland that is the issue.

Frank Severinsen (shack) wrote :

seems like its a Wayland issue
apparently alot of games have this issue

Tomasz Wlostowski (twlostow) wrote :

That's why the GAL canvas didn't warp cursor from the beginning (warping was added later because some people fiercely demanded it). Apple has been disallowing cursor warping in their UX design guidelines for ages. It seems that modern Linuxes are also going in this direction.


Changed in kicad:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions