Blank Black Canvas When Enabling Crosshairs In Eeschema

Bug #1821840 reported by Matt Rohloff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

This report is similar to #1797238 which was marked as corrected back in 2018.

Initial settings in eeschema:
- Modern Toolset (Accelerated): Selected
- Graphics (Accelerated): Subpixel Antialiasing (Ultra Quality)
- Always show crosshairs: Unchecked

To recreate the issue (with the initial settings above already in place):
- Open the Preferences window
- Check "Always show crosshairs"
- Click OK

The result is a black/blank screen. I can pan/zoom/refresh, but nothing is shown. Panning/zooming occurs because I can see the result if I disable the crosshairs.

To get the crosshairs working in accelerated mode (once the above fault is in place):
- Change to the Fallback toolset
- Change back to the Accelerated toolset

Application: kicad
Version: 5.1.0, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.1.1 libpsl/0.20.2 (+libidn2/2.1.1) libssh2/1.8.1 nghttp2/1.36.0
Platform: Linux 5.0.4-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.69.0
    OpenCASCADE Technology: 7.3.0
    Curl: 7.64.0
    Compiler: GCC 8.2.1 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=ON
    KICAD_SPICE=ON

Revision history for this message
Matt Rohloff (mrohloff) wrote :

Additional info:

This appears to be dependent on Subpixel Antialiasing being enabled. Both High and Ultra settings work for replication. Supersampling modes do not.

I've been able to replicate this on desktop, laptop, and a VM - all running Arch Linux.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I cannot duplicate this on my Debian testing box. My build does use gtk3 so that may have something to do with it but it could also be video driver related.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Matt Rohloff (mrohloff) wrote :

I couldn't say if it is video driver related. However, I have tried it in three systems.

Desktop - nouveau
Laptop - intel
Oracle VirtualBox VM - vboxvideo

I know I can't replicate it under Win7x64.

Any devs run Arch Linux? (my platform)

Revision history for this message
Matt Rohloff (mrohloff) wrote :

I tried the latest (5.1.2) on the three machines listed above. I can no-longer replicate the problem. Feel free to clear this report.

Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Thanks for reporting back!

Changed in kicad:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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