[GRASS-git] [OSGeo/grass] 527588: wxGUI: Skip size event in MapPanelBase.OnSize to l...

Anna Petrasova noreply at github.com
Wed Sep 23 09:00:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 527588b047edd0aed41d4da775a84b66f823665c
      https://github.com/OSGeo/grass/commit/527588b047edd0aed41d4da775a84b66f823665c
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M gui/wxpython/gui_core/mapdisp.py

  Log Message:
  -----------
  wxGUI: Skip size event in MapPanelBase.OnSize to let AUI lay out panes (#7941)

wxWidgets 3.3 (wxPython 4.3) changed wxAuiManager to bind its size
handler to the managed window instead of pushing itself as an event
handler. Bound handlers run newest first and stop at the first one
that does not skip the event, so the map panel's own size handler,
bound after the manager was created, swallowed the event. The manager
never laid out its panes and the map window kept its initial size.

Diagnosed with the help of Claude Code.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list