On Windows, while cycling through the "Number" column in the Configure Page Labels dialog, when the Set Number / Enter Page Number dialog is triggered, the parent Configure Page Labels dialog closes prematurely.
This leads to a situation where the user enters a custom page number, clicks Ok, and ends up needing to re-open the Configure Page Labels dialog again.
This bug happens even if the user clicks Cancel on the Set Number dialog (parent Configure Page Labels closes first prematurely), and does not happen on macOS.
I am not 100% sure if is the correct fix, but I managed to solve this in my tests by modifying L1535 of src/guiguts/widgets.py, originally self.transient(root()), to point towards the widget's parent window instead:
On Windows, while cycling through the "Number" column in the
Configure Page Labelsdialog, when theSet Number / Enter Page Numberdialog is triggered, the parentConfigure Page Labelsdialog closes prematurely.This leads to a situation where the user enters a custom page number, clicks Ok, and ends up needing to re-open the
Configure Page Labelsdialog again.This bug happens even if the user clicks Cancel on the
Set Numberdialog (parentConfigure Page Labelscloses first prematurely), and does not happen on macOS.I am not 100% sure if is the correct fix, but I managed to solve this in my tests by modifying L1535 of
src/guiguts/widgets.py, originallyself.transient(root()), to point towards the widget's parent window instead: