moving pointer make a trail of cross

Bug #1657500 reported by Giorgio
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

In Eeschema when moving pointer a lot of cross appears in the sheet along the pointer path, as you can see in image.
Zooming cancel cross but they suddenly reappears as soon as you move pointer.
This happens in several pc with at least two different hardware (and different graphic cards).
With this bug Kicad become unusable.

KiCad 4.0.5 in OpenMandriva Linux Lx3 64 bit.

Application: kicad
Version: 4.0.5 release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.9.1,wx containers,compatible with 2.8)
Platform: Linux 4.9.1-desktop-4omv x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.60.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Revision history for this message
Giorgio (giorgio-t) wrote :
Revision history for this message
xzcvczx (xzcvczx) wrote :

does it happen in pcbnew if you are using the openGL or cairo canvases? also what distro of linux are you running and can you post any detailed package names for wxwidgets on your system

thanks

Revision history for this message
Jason (smrl) wrote :

I noticed the same thing, just built it.
Boost 1.58
Application: kicad
Version: (2017-01-19 revision ba9576b)-master, release build
Libraries: wxWidgets 3.0.2
           libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Same behavior. Just built on Linux Mint 18.1 Cinnamon 64 bit

Platform: Linux 4.4.0-53-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.58.0
Curl: 7.47.0
KiCad - Compiler: GCC 5.4.0 with C++ ABI 1009
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  USE_WX_OVERLAY=OFF
                  KICAD_SCRIPTING=ON
                  KICAD_SCRIPTING_MODULES=ON
                  KICAD_SCRIPTING_WXPYTHON=ON
                  BUILD_GITHUB_PLUGIN=ON
                  KICAD_USE_SCH_IO_MANAGER=OFF
                  KICAD_USE_OCE=OFF

Did not check pcbnew as it appears something is still broken with my build (libkicad_3dsg.so.2.0.0: cannot open shared object file: No such file or directory) but figured I would report anyway as it seems this issue is quite new.

I built wxwidgets from source, --enable-unicode --with-opengl

Revision history for this message
jean-pierre charras (jp-charras) wrote :

I am thinking you are using wxWidgets built against GTK3.
When built against GTK3, the graphic layer used by Kicad does not exist and is replaced by an other (not fully compatible) layer.

(There are also other issues with GTK3, depending on you WM)

wxWidgets must be built against GTK2

Revision history for this message
Giorgio (giorgio-t) wrote :

Thanks to all for answers.

to Simon Wells

does it happen in pcbnew -> Yes but only when pointer is over pcb, non in whole window

if you are using the openGL or cairo canvases? -> I don't know what I am using, sorry. If you tell me how to check (command line) i'll try.

also what distro of linux are you running -> as you can see in descriprion is OpenMandriva Lx3

and can you post any detailed package names for wxwidgets on your system -> I don't know what I am using, sorry. If you tell me how to check (command line) i'll try.

to jean-pierre charras

I am thinking you are using wxWidgets built against GTK3. -> I opened a bug in Open Mandriva and developers seems having same opinion. See:

https://issues.openmandriva.org/show_bug.cgi?id=2032#c2

to Jason -> strange, in Linux Mint 18, KDE version, KiCad 4.0.5 works normally.

Revision history for this message
xzcvczx (xzcvczx) wrote :

In the view menu in pcbnew you can switch between the canvases

Switch to OpenGL canvas
Switch to Cairo Canvas

these have been renamed in nightlies and an indicator has been added with which canvas you are currently on.

Sorry i am not familiar enough with the mandriva packaging system to work out the right commands. There should be a way to list all the installed packages. grep/filter it for 'wx' and you should get some names. There should also be a way to list all installable packages and filter it for 'wx' that might have a gtk2 version of wxwidgets 3.0

@srml
try running ldconfig and if that doesn't work you will need to add the path of the prefix where you installed kicad to /etc/ld.so.conf If you have not installed you can use LD_LIBRARY_PATH to override, but this would have to be exported from each terminal that you want to run kicad from or you would need to add it to your ~/.bashrc or similar

Revision history for this message
Jason (smrl) wrote :

Ok so rebuilding wxwidgets --with-gtk=2 did not solve the problem. I still have python-wxgtk3.0-dev which may be the culprit instead, will recompile when I have Internet access again and report

Revision history for this message
Jason (smrl) wrote :

Giorgio-- are you referring to the packaged build in the package manager? Because I built it myself from the source

Revision history for this message
Jason (smrl) wrote :

Ok, got it working simply needed to re-run cmake before making,I am not super experienced with building from source, just eager to try the simulator! So it looks probable to me that it was building wxwidgets against gtk3 that was the culprit, as noted.

Thanks for the help!

Giorgio (giorgio-t)
Changed in kicad:
status: New → Fix Released
Revision history for this message
Giorgio (giorgio-t) wrote :

I see my comment disappear.
Open Mandriva developer solved my bug, here's his comment:

"fixed in 4.0.5-4, now built against the gtk version of wx3.0".

I see that Jason solved too then I closed bug.

Thanks to all for help.

Revision history for this message
Alexander Vasiliev (alexandervasiliev) wrote :

I see the same behaviour.

KiCad 4.0.7+dfsg1-1ubuntu2,release build
wxWidgets 3.0.4 Unicode and Boost 1.65.1
Platform: Linux 4.15.0-30-generic x86_64,64 bit.
OS Ubuntu 18.04
Video card: Nvidia
KiCad had been installed from Ubuntu's repository.

Revision history for this message
Giorgio (giorgio-t) wrote :

I would suggest to switch to version 5 issued on july.
See http://kicad-pcb.org/download/ubuntu/

Revision history for this message
frednet (andrew-walker27) wrote :

I've got exactly the same in version 5 so upgrading probably won't help.
I'm using Ubuntu 10.04 and still get the cursor error.

Revision history for this message
Seth Hillbrand (sethh) wrote :

@frednet- Ubuntu 10.04 was EOL'd in 2015. Please let us know if you experience this issue with one of the supported releases from https://wiki.ubuntu.com/Releases (Oldest is 14.04 which will cease support in April of next year)

Revision history for this message
Jean Gobin (jeanfgobin) wrote :

Just got the same issue on Linux Mint 19.1 (fresh install) -

Package: kicad
Version: 4.0.7+dfsg1-1ubuntu2
Priority: optional
Section: universe/electronics
Origin: Ubuntu

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

@jean, you need to upgrade to at least 5.1.

Revision history for this message
Eric Fossum (fossum-eric) wrote :

@nick is right. Use the PPA linked and you should be all set.

https://launchpad.net/~js-reynaud/+archive/ubuntu/kicad-5.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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