Zoom issue in wayland

Bug #1725920 reported by Eldar Khayrullin
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KiCad
Invalid
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

Tags: wayland zoom
Eldar Khayrullin (eldar)
tags: added: gnome wayland zoom
Revision history for this message
Nick Østergaard (nickoe) wrote :

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

tags: removed: gnome
Revision history for this message
Nick Østergaard (nickoe) wrote :

Also ubuntu 17.10 uses wayland by default now.

Revision history for this message
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?

Revision history for this message
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
Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

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

Tom

Revision history for this message
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.

Revision history for this message
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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.