Text properties window opens with delay

Description

The Text Properties and Edit Text & Graphic Properties windows open with 1sec. delay. I have not measured the exact time delay. These are the windows I know with this behaviour. There may be more, but it seems related to a text function. It does not matter whether the Text Properties window is startet to add text or to edit text. This issue is related to pcbnew and schematic.

I would expect to open these windows immediatly, like other windows, for example the Change symbols window from the menu Edit (schematic).

Steps to reproduce

  1. Menu: Place -> Add Text
  2. Press Key T
  3. Editing text: Double Click already existing text of a schematic page.

KiCad Version

Application: KiCad Schematic Editor x86_64 on x86_64

Version: 7.99.0-unknown-fd07f50c44~170~ubuntu22.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.11.1
	HarfBuzz 2.7.4
	FontConfig 2.13.1
	libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14

Platform: Ubuntu 22.04.2 LTS, 64 bit, Little endian, wxGTK, cinnamon, x11

Build Info:
	Date: Apr  3 2023 08:33:42
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.5.2
	Curl: 7.81.0
	ngspice: 38
	Compiler: GCC 11.3.0 with C++ ABI 1016

Build settings: