This report is separated from #18419.
On Ubuntu Focal 20.04 (both Qt 5.9.8 and system Qt 5.12.8) the QApplication::widgetAt()
returns nullptr
when it shouldn’t. This upstream bug breaks our GUIUtil::isObscured()
, and, as consequences, the BitcoinGUI::toggleHidden()
and the “Show / Hide” menu item in the system tray icon menu.
Here are some possible answers for this Focal/Qt bug:
- drop the “Show / Hide” menu item
- replace the “Show / Hide” menu item with “Minimize / Restore” one
- another approach
What do you think?