various graphic glitches in nightly

Bug #1695897 reported by Thomas Pointhuber
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Unassigned

Bug Description

I noticed some various graphic glitches in the current nightly when resizing the canvas. I made some videos to show what I exactly mean:

https://owncloud.oe5tpo.com/index.php/s/BC0BuzMlT7Mkzqa

## System

$ uname -a
Linux thomas-antergos 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 10:40:17 CEST 2017 x86_64 GNU/Linux

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.1.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 17.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

description: updated
Changed in kicad:
importance: Undecided → Low
Revision history for this message
Thomas Pointhuber (pointhi) wrote :

I created a patch for the 3d-viewer issue. The other glitches are not resolved yet.

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

Is this patch still relevant?

Revision history for this message
Thomas Pointhuber (pointhi) wrote :

I think yes, the bug is still not resolved

Revision history for this message
Thomas Pointhuber (pointhi) wrote :

For the Library Browser, it seems like the wxAuiManager is redrawing the canvas, but does not pan the lists in to the new location. I tried enabling wxAUI_MGR_LIVE_RESIZE, but it didn't worked.

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

For the record, the patch has been committed. If I understand correctly, it solves the 3D viewer issue, but the other windows still are still affected.
Honestly, I doubt we can do something about it. My impression is that it is done intentionally to redraw window contents only after resizing has been finished, otherwise it could be very slow.

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

Attached is a patch to resolve this issue.

wxAUI live resizing induces the glitch and seems to only have marginal benefit. On the MAC, live resize is always enabled so this will have zero impact there. Windows7 appears to have the same flicker as linux.

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

@Seth, I tested your patch on linux and I didn't notice any legacy canvas rendering glitches so I merged your patch. Thanks.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision cc836903bd9b27f8a57ba74fda05ecb5d84ad077
https://git.launchpad.net/kicad/patch/?id=cc836903bd9b27f8a57ba74fda05ecb5d84ad077

Changed in kicad:
status: New → Fix Committed
Changed in kicad:
status: Fix Committed → 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.