How to reproduce:
1. Create a new project
2. Go to Menu > Window > Search > New Window
3. Add any text in the search field
4. Open Package Manager and install or uninstall any package
5. Observe the Console window
Expected result: No errors
Actual result: “Unable to use a named GUIStyle without a current skin” error appears
Reproducible with: 2022.2.2f1, 2022.2.21f1, 2022.3.21f1, 2023.2.13f1, 2023.3.0b10
Not reproducible with: 2021.3.36f1, 2022.2.1f1
Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested
Note: not reproducible without text in the search field