-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with sub windows - modal not working #108
Comments
There's an issue in the above code, in that it doesn't call However, I see two things to investigate here:
I'll keep this issue open as an investigation into modal, and will raise a new issue to consider how to best implement a sequence of windows being used, and how to specify showing a subWindow first, rather than the main app... |
The work around was to take the modal out and to place a transparency on the main window until the user logged in. When that was successful i then hid the subwindow and changed the transparency back to the main window. Ill post the code tomorrow morning when I'm back at work. Work around
|
Next_release will have So, the final three lines of code above can be replaced with:
And, instead of increasing transparency to show the main window, you simply call:
|
@jacobthetechy I've looked into this some more. Setting the popup as When This explains the issues you had with your original code. The changes mentioned above also break when The changes above also don't cater for having the main window launch, with a dialog drawn above it - which may have been your original use case? |
Modal dialogs have a few few function calls available:
If the user is declaring a modal window, they definitely want 1 & 3. 2 & 4 are not necessarily characteristics of modal windows, they should be configurable separately:
|
Final thing to look into is grouping - it's being configured in the SubWindow, and there is a parameter for it, but it's not documented. Also can update testing now, to include some modal windows... |
Also, app.go() with a blocking dialog should fail - with an error message... |
Throw exception if user tries to start appJar with a blocking SubWindow. Slight change to grouping - will raise a new issue for this. Updated testing to include modals.
Grouping raised as a new issue (#144) Closing issue, as all investigation and changes have been made here... |
Above code will not open any window. When you remove
modal=true
it works.python 2.7.12
Windows 7
The text was updated successfully, but these errors were encountered: