pcbnew: slow starting in OpenGL mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Start pcbnew without board ~56 sec in OpenGL mode.
Start pcbnew with simple board ~30 sec (less than without board. Why?) in OpenGL mode.
Application: kicad
Version: no-vcs-
Libraries: wxWidgets 3.0.2
Platform: Linux 4.10.0-19-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.62.0
Curl: 7.52.1
KiCad - Compiler: GCC 6.3.0 with C++ ABI 1010
Settings: USE_WX_
tags: | added: ati |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
git bisect gave: 2fef4e9ffd5f57b 2f61cfa8ff is the first bad commit
88eb648cbb5d555
$ git bisect log cff6c3b9c6f50ea 65dd4f2846b] Simulator dialogs: Fix incorrect handling of Validate(), which was called for all widgets by the default wxID_OK button handler. It is now called only for the active page of these dialogs (as wanted in code), therefore only for used widgets. Note: strangely, this issue was noticed only on Windows, not on Linux. ff6c3b9c6f50ea6 5dd4f2846b 0f94bf118956222 9079e4fd2a6] Fix a compil issue due to incorrect conversion. f94bf1189562229 079e4fd2a6 c15d6e3624d6e30 06431aa73c0] dialog_ export_ step_base: cosmetic enhancements, add tool tips and better messages. 15d6e3624d6e300 6431aa73c0 568a524dd78f8c8 28e6761233a] Add Antialiasing option to dialog_ display_ options (Thank you Simon Richter) 68a524dd78f8c82 8e6761233a 218ecaa1bf6782b 6f77aefb759] CONTEXT_ TRACK_WIDTH_ MENU EventHandler: better filtering of received events ID. This is mandatory because currently, on Windows, this handler is also called when clicking on an other menu with submenus like the grid menu. 18ecaa1bf6782b6 f77aefb759 2db0c5ccd06c2e2 d1c49a9ad66] Update complex hierarchy demo to use current kicad libraries. db0c5ccd06c2e2d 1c49a9ad66 023246e29ce6278 2de09140f74] Fixed a VIEW_ITEM memory leak 23246e29ce62782 de09140f74 7dc549701d4a401 65db12f4ef4] Restored cursor in OpenGL canvas (still an issue with subpixel AA) dc549701d4a4016 5db12f4ef4 1b0a473c71ef4fd 415340cd0d6] Initialize fields in COMPOSITOR b0a473c71ef4fd4 15340cd0d6 fd0eb4b2c02b01d d29c640b3e3] Change exception message time from wxString to std::string d0eb4b2c02b01dd 29c640b3e3 52fef4e9ffd5f57 b2f61cfa8ff] Alternative way of handling OpenGL initialization & errors 2fef4e9ffd5f57b 2f61cfa8ff 52fef4e9ffd5f57 b2f61cfa8ff] Alternative way of handling OpenGL initialization & errors
git bisect start
# good: [f3d4f7322b9ea9
git bisect good f3d4f7322b9ea9c
# bad: [70b39d27ae61e6
git bisect bad 70b39d27ae61e60
# good: [6d7f0b45f4767f
git bisect good 6d7f0b45f4767fc
# good: [d04b3bdc27b25d
git bisect good d04b3bdc27b25d5
# bad: [d51d53c6b9a42d
git bisect bad d51d53c6b9a42d2
# bad: [9c49dea7417f33
git bisect bad 9c49dea7417f332
# good: [9bc2bb26513dae
git bisect good 9bc2bb26513dae0
# bad: [7eacd1b15dc9f5
git bisect bad 7eacd1b15dc9f57
# good: [ca085de6aa15f8
git bisect good ca085de6aa15f81
# bad: [7cf1cfedb37248
git bisect bad 7cf1cfedb37248f
# bad: [88eb648cbb5d55
git bisect bad 88eb648cbb5d555
# first bad commit: [88eb648cbb5d55