-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Labels
Description
Describe the bug
This problem occurs in Single-Window GUI. The error is raised when a user drag Map Notebook page (for example a user works with several map displays (several tabs) and wants to move the first map display tab to the position of the second tab (change positioning).
To Reproduce
Steps to reproduce the behavior:
- Create more map displays
- Click on the first map notebook tab and try to drag it somewhere else
- The positioning of map display tabs is correctly changed
- However, in the Console, you see this error:
C++ assertion ""win && m_cr"" failed at /home/wxpy/wxPython-
4.2.0/ext/wxWidgets/src/gtk/overlay.cpp(98) in Init():
invalid dc for wxOverlay
Traceback (most recent call last):
File "/home/linduska/.local/lib/python3.10/site-
packages/wx/lib/agw/aui/auibook.py", line 2451, in OnMotion
self._drag_image.Move(pos)
wx._core
.
wxAssertionError
:
C++ assertion ""win && m_cr"" failed at /home/wxpy/wxPython-
4.2.0/ext/wxWidgets/src/gtk/overlay.cpp(98) in Init():
invalid dc for wxOverlay
Expected behavior
An error should not be raised.
System description (please complete the following information):
- Operating System: [Ubuntu 22.04.1 LTS]
- GRASS GIS version [8.3 (main)]
- wxPython: 4.2.0
Reactions are currently unavailable
