Footprint Editor: Invisible texts can be clicked
Description
Text items, when tagged invisible (in Text field properties, "Visible" check box is unchecked), AND, in "Objects" tab under "Appearance" panel, "Hidden Text" filter is activated, Text items can still be selected by left-click, even if they are not visible.
This is confusing because, you expect to be able to select only visible items.
In Footprint Editor V5, when a text was tagged invisible (in Text field properties, "Visible" check box unchecked), it was impossible to click on it and select it.
See attached video. 2022-03-11_15-20-32.mkv
Steps to reproduce
- Open any footprint in Footprint editor
- Select any (or add) Text item
- Select (left-click) the Text item
- Open Text item Properties by typing either E or Right-click "Properties..."
- Uncheck checkbox "Visible" and close the window by "Validating"
- In "Appearance" panel on the right side of the screen, open (left-click) tab "Objects"
- Activate "Hidden Text" filter (left-click on the eye symbol, the eye symbol is then greyed out) -> the Text item should be now invisible
- Now left-click on the invisible text. Even if not visible, it should now be selected.
- To confirm the text has been selected, the mouse cursor has changed to the "Move" cursor (arrow with 4 direction arrows)
- Press M to move the Text item or press E to enter Text item Properties...
- Deactivate "Hidden Text" filter (left-click on the eye symbol, the eye symbol is no more greyed out), the Text item is now visible again, and if you moved it with M command, it is now at a new location.
KiCad Version
Application: KiCad Footprint Editor
Version: 6.0.2-378541a8eb~116~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 5.4.0-99-generic x86_64, 64 bit, Little endian, wxGTK, xubuntu, x11
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.81.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by David Haillant