Taapeli / isotammi-addons

Gramps addons for Isotammi project / Isotammen Gramps-lisäosia
8 stars 3 forks source link

Warning dialog dismissal does not restore dimming #19

Open emyoulation opened 7 months ago

emyoulation commented 7 months ago

When the "Warning : Limit of 000 rows reached" modal dialog is spawned, the main Gramps window (and the supertool dialog) is dimmed/darkened. After clicking the Close button, the Gramps window remains dimmed until SuperTool is closed.

The Execution progress bar dialog spawns and this dims the SuperTool parent window. When progress completes, the dialog automatically dismisses and the SuperTool parent window becomes undimmed.

Note: it APPEARS that the warning dialog is a child of the Main window instead of the Progress bar dialog (or as a grandchild of the SuperTool dialog). It seems like the dialog has the wrong parent. However, when the SuperTool window is closed, the Gramps main window dimming is restored to normal.

In this test, I was using the Example.gramps tree in People. (which contains 2159 people)
the expressions to display was "death" and the "All objects" radio button was selected.

(tested on Fedora with Gramps 5.1.6 and SuperTool 1.3.3 and the experimental supertool.py with the expanded helptext.txt support.)