Zoom issue in wayland

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

Bug Description

Hi,

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
Libraries:
    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:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

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?

Tom

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
https://lists.x.org/archives/xorg-devel/2016-April/049351.html
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.

Tom

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