qt: Broken QApplication::widgetAt() on Ubuntu Focal 20.04 #19186

issue hebasto openend this issue on June 6, 2020
  1. hebasto commented at 11:15 am on June 6, 2020: member

    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?

  2. hebasto added the label Bug on Jun 6, 2020
  3. hebasto commented at 11:16 am on June 6, 2020: member
  4. fanquake added the label GUI on Jun 6, 2020
  5. MarcoFalke commented at 11:49 am on June 6, 2020: member

    This upstream bug

    Is there a link?

  6. hebasto commented at 11:53 am on June 6, 2020: member

    This upstream bug

    Is there a link?

    Did not find yet.

  7. promag commented at 9:29 pm on August 2, 2020: member

    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.

    In what case? Always? When the widget is minimized?

  8. hebasto commented at 11:01 pm on August 2, 2020: member

    @promag

    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.

    In what case? Always? When the widget is minimized?

    When the main window is visible. The “Hide” command from the systray icon menu does not work.

  9. fanquake commented at 6:52 am on August 10, 2020: member
    If this is still something you want to follow up with, can you reopen this in the gui repo.
  10. fanquake closed this on Aug 10, 2020

  11. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-24 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me