mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Improve quasimodal comment.
This commit is contained in:
parent
a0e768dd0e
commit
c85e5c08e4
@ -739,14 +739,17 @@ int DIALOG_SHIM::ShowModal()
|
||||
}
|
||||
|
||||
/*
|
||||
Quasi-Modal Mode Explained:
|
||||
QuasiModal Mode Explained:
|
||||
|
||||
The gtk calls in wxDialog::ShowModal() cause event routing problems if that
|
||||
modal dialog then tries to use KIWAY_PLAYER::ShowModal(). The latter shows up
|
||||
and mostly works but does not respond to the window decoration close button.
|
||||
There is no way to get around this without reversing the gtk calls temporarily.
|
||||
|
||||
Quasi-Modal mode is our own almost modal mode which disables only the parent
|
||||
There are also issues with the Scintilla text editor putting up autocomplete
|
||||
popups, which appear behind the dialog window if QuasiModal is not used.
|
||||
|
||||
QuasiModal mode is our own almost modal mode which disables only the parent
|
||||
of the DIALOG_SHIM, leaving other frames operable and while staying captured in the
|
||||
nested event loop. This avoids the gtk calls and leaves event routing pure
|
||||
and sufficient to operate the KIWAY_PLAYER::ShowModal() properly. When using
|
||||
|
Loading…
x
Reference in New Issue
Block a user