kicad/common
Seth Hillbrand 4c8f556b80 Prevent UI updates from changing zoom selection
The zoom selection should only change when requested by the user, not in
response to UI updates.  This can cause unexpected zoom shifts when the
calculated zoom is within a range of one of the presets.  It also adds
unneeded calls during the UI update cycle

Fixes https://gitlab.com/kicad/code/kicad/issues/10498

(cherry picked from commit 6810479a19)
2022-01-20 10:10:06 -08:00
..
dialog_about Update contributor name 2022-01-09 09:22:41 +01:00
dialogs KiCad Manager doesn't implement Kiface(). 2022-01-03 22:24:44 +00:00
drawing_sheet DRAWING_SHEET_PARSER: fix missing parse of "T_comment" case for DS_DATA_ITEM_BITMAP. 2022-01-17 18:02:44 +01:00
font Run font/laguage checks only on Mac. 2022-01-18 14:19:57 +00:00
gal Some more EDA_ANGLE cleanup. 2022-01-16 19:16:18 +00:00
kicad_curl Code cleaning un kicad_curl_easy 2021-12-31 11:00:31 +00:00
libeval Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
libeval_compiler Add field access to custom DRC rules. 2021-12-24 18:13:00 +00:00
plotters Finish with EDA_ANGLE. 2022-01-16 21:15:40 +00:00
plugins altium: First prototype to parse tracks of a footprint 2022-01-17 19:54:28 +01:00
preview_items Excise deci-degrees from UNIT_BINDER. 2022-01-19 00:10:32 +00:00
project Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
settings Cross-probing/selection for multiple items (SCH->PCB) 2022-01-16 20:29:03 +00:00
swig fix python QA tests to run with latest changes in eda_angle.h 2022-01-18 13:49:50 +01:00
tool Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
view Some more EDA_ANGLE cleanup. 2022-01-16 19:16:18 +00:00
widgets Excise deci-degrees from UNIT_BINDER. 2022-01-19 00:10:32 +00:00
CMakeLists.txt Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
advanced_config.cpp prepare teardrops, round 2 2022-01-08 16:56:41 +01:00
array_axis.cpp Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.cpp More EDA_ANGLE changes. 2022-01-14 16:08:19 +00:00
asset_archive.cpp Cleanup memory in the asset archive reader 2021-03-19 21:23:35 +00:00
base64.cpp Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.cpp Remove unused m_crossHairPosition 2021-06-15 21:25:27 -04:00
base_units.cpp Excise deci-degrees from UNIT_BINDER. 2022-01-19 00:10:32 +00:00
bin_mod.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap.cpp Add a quantized scaling mode for bitmaps. 2021-09-11 23:40:31 +01:00
bitmap_base.cpp BITMAP_BASE::DrawBitmap(): fix position of the clipping area when using matrix transform. 2022-01-20 16:15:39 +01:00
bitmap_store.cpp Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
board_printout.cpp Yeet wxPoint/wxSize out of PLOTTER 2021-12-29 19:02:50 +00:00
build_version.cpp Remove last vestiges of the KICAD_USE_OCE build flag 2021-12-01 15:53:00 +00:00
callback_gal.cpp Plot fonts in outline mode, not triangulated 2022-01-13 17:04:14 -08:00
commit.cpp Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
common.cpp Remove tilde expansion 2021-09-27 16:10:36 +00:00
config_params.cpp Kick wx.h mostly out of common 2021-06-07 18:38:52 -04:00
confirm.cpp Lock the windows when we ask about unsaved changes 2021-09-29 23:01:06 -04:00
dialog_shim.cpp Make sure standard OK/Cancel buttons respond to current language. 2021-12-24 18:13:11 +00:00
draw_panel_gal.cpp Prevent unneeded fallback 2022-01-05 13:47:43 -08:00
drc_rules.keywords ADDED assertion constraints for user-defined DRC checks. 2021-12-24 16:13:18 +00:00
dsnlexer.cpp pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.cpp Reduce duplication of settings. 2021-12-24 21:10:28 +00:00
eda_dde.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
eda_doc.cpp Trim some (probably) excess includes. 2021-09-26 15:28:17 +01:00
eda_draw_frame.cpp Prevent UI updates from changing zoom selection 2022-01-20 10:10:06 -08:00
eda_item.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
eda_pattern_match.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
eda_rect.cpp Move rotation angle increments to UNIT_BINDER and EDA_ANGLE. 2022-01-19 15:15:33 +00:00
eda_shape.cpp Maybe, just maybe, fix LibEdit arc parsing. 2022-01-19 22:22:18 +00:00
eda_text.cpp Move EDA_ANGLE from int to double. 2022-01-17 20:57:54 +00:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
env_vars.cpp Add KICAD6_3RD_PARTY env variable 2021-08-27 21:11:47 +00:00
exceptions.cpp Refuse to load schematics from the future. 2021-06-30 18:32:07 +01:00
executable_names.cpp Clean up some TODOs. 2021-12-24 21:10:28 +00:00
filehistory.cpp File history (recent opened files): fix incorrect behavior when a filename 2020-08-05 15:48:03 +02:00
filename_resolver.cpp More changes to file resolvers. 2021-09-22 11:28:45 +01:00
filter_reader.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
footprint_filter.cpp In footprint filter, check pin count mismatch first 2021-05-06 22:00:06 +00:00
footprint_info.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
fp_lib_table.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
gbr_metadata.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gestfich.cpp Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
getrunningmicrosecs.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
gl_context_mgr.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gr_basic.cpp Remove dead code. 2022-01-18 01:40:03 +00:00
gr_text.cpp Print fonts as polygons, not triangles 2022-01-14 09:18:42 -08:00
grid_tricks.cpp Handle Unicode clipboard data in pcbnew and symbol editor 2022-01-12 17:15:47 +00:00
hash_eda.cpp Move EDA_ANGLE from int to double. 2022-01-17 20:57:54 +00:00
hotkey_store.cpp Fix issue with hotkeys getting overridden by non-running Kifaces. 2022-01-10 23:41:56 +00:00
hotkeys_basic.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
html_window.cpp Formatting. 2021-10-15 12:45:43 +01:00
kiface_base.cpp Update default paths for symbols/footprints 2021-10-17 16:07:46 -07:00
kiid.cpp Don't generate duplicate IDs in line/wire/bus tool. 2021-11-24 13:20:44 +00:00
kiway.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
kiway_express.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.cpp Code cleaning. 2021-07-14 15:47:32 -04:00
languages_menu.cpp Cleanup some pgm_base.h includes 2021-06-08 21:56:00 -04:00
launch_ext.cpp Fix opening files with spaces on Linux 2021-11-07 14:31:14 +00:00
layer_id.cpp Add show/hide controls for ERC markers. 2021-12-24 17:38:50 +00:00
lib_id.cpp Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table.keywords
lib_table_base.cpp Fix a crash bug when changing footprint name 2021-12-09 10:46:43 -08:00
lib_tree_model.cpp Fix lib tree searches to handle searching on library names. 2021-12-14 15:18:48 +00:00
lib_tree_model_adapter.cpp Fix lib tree searches to handle searching on library names. 2021-12-14 15:18:48 +00:00
locale_io.cpp Looks like clang (or OSX?) needs an extra include.... 2021-09-23 20:14:03 +01:00
lockfile.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
lset.cpp LSET::SeqStackupBottom2Top(): add missing user layers to list of layers 2022-01-17 10:54:19 +01:00
marker_base.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
markup_parser.cpp PEGTL 2.x->3.x 2022-01-10 23:22:23 +00:00
netclass.cpp Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
netlist.keywords Transmit pin electrical types through to pads. 2021-01-23 00:10:01 +00:00
newstroke_font.cpp Revert accidental tilde change 2021-12-15 19:28:12 -08:00
observable.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
origin_viewitem.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
page_info.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
painter.cpp Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
paths.cpp fixe paths 2021-12-02 20:23:00 +00:00
pcb.keywords Text glyph caches and bug fixes. 2022-01-08 16:47:45 +00:00
pcb_plot_params.keywords Line styles for PCBNew shapes. 2021-12-24 12:36:59 +00:00
pgm_base.cpp Add upated UI event throttling to advanced configuration. 2021-12-28 18:17:53 -05:00
printout.cpp Implement a new settings framework across all of KiCad 2020-02-19 23:44:56 -05:00
project.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
properties.cpp
property_mgr.cpp Hook libeval compiler up to rule parser 2020-07-20 22:11:53 +01:00
ptree.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
rc_item.cpp Fix a pair of dereference-freed-pointers in DRC. 2022-01-10 21:06:03 +00:00
refdes_utils.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
render_settings.cpp Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
reporter.cpp Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.cpp Clean up unused variable usage 2021-10-05 10:00:30 -07:00
scintilla_tricks.cpp Common: Corrects Mac OS text navigation shortcuts in Scintilla 2022-01-17 14:31:06 +00:00
search_stack.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
searchhelpfilefullpath.cpp Respect KICAD_DOCS when searching for help files 2021-04-21 19:19:25 +00:00
single_top.cpp Avoid loading python stuff when starting applications that do not use it. 2021-08-17 19:48:55 +02:00
status_popup.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
streamwrapper.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
string_utils.cpp Cross-probing/selection for multiple items (SCH->PCB) 2022-01-16 20:29:03 +00:00
stroke_params.cpp Finish with EDA_ANGLE. 2022-01-16 21:15:40 +00:00
stroke_params.keywords Shapes for schematic. 2021-12-23 20:36:07 +00:00
strtok_r.c
systemdirsappend.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
template_fieldnames.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
template_fieldnames.keywords Variable substitution framework. 2020-03-30 14:15:59 +01:00
textentry_tricks.cpp Evict the last bits of wx.h 2021-06-07 20:23:27 -04:00
title_block.cpp Import more Alitum parameters. 2021-07-08 00:19:31 +01:00
trace_helpers.cpp Trace logging for fonts. 2022-01-18 14:08:47 +00:00
undo_redo_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
utf8.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
wildcards_and_files_ext.cpp altium: Allow extraction of names of footprints stored in *.PcbLib file 2022-01-17 19:51:51 +01:00
wx_filename.cpp Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wx_stl_compat.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
wxdataviewctrl_helpers.cpp fix crash in wxDataViewItem GetNextItem() when there are no item. 2021-11-07 08:53:56 +01:00
xnode.cpp Escape slashes in labels and netnames. 2019-04-07 00:24:10 +01:00