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
Fix overlay #671
Fix overlay #671
Conversation
In general problem is that system role selection clears overlay before creating dialog, but it does it when going back and also when going forward. So result is that when going back it is properly cleared and then when going forward when different extensions is chosen, it is again cleared, but with invalid backup. So this change in the end apply backup only when going back.
I'm missing a test case |
"No description provided." please provide context for the PR. WHY are we calling ClearOverlay a second time without an intervening SetOverlay? That is not supposed to happen. |
So we are at SelectSystemRole (where ClearOverlay is called) and we go Next Back Back Next, right? |
@mvidner yes, see mentioned bug. In fact problematic workflow is:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice that we have a test for the new exception
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
quoting first commit message:
Fix applying too old backup for overlays (bsc#1070726)
In general problem is that system role selection clears overlay before
creating dialog, but it does it when going back and also when going
forward. So result is that when going back it is properly cleared and
then when going forward when different extensions is chosen, it is again
cleared, but with invalid backup. So this change in the end apply backup
only when going back.