-
Notifications
You must be signed in to change notification settings - Fork 122
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
Non-modal errors via background painting #689
Conversation
Simplify how error signals are emitted and make more data about errors available to MainWindow.
looks great! You should add "fixes #387" to the description. |
Really smooth and far less code change than #649 (not that the work wasn't great there) |
Let's go! :) Your version works great for me. |
Oops! Thanks for testing and reporting. I know how to fix this, the original implementation in my fork handled this fine in fact, but I made a small modification for this PR that broke it. I'll submit another PR tonight to correct it.
Not sure either as I cannot reproduce (EDIT: I reproduced it later on a different machine), but if it is related, the fix for the first issue would likely correct this as well. |
Can you also verify the text appears on any background color, including the absence of a background color in both dark and light shell settings? |
Yes! That's handled by the If you still have macOS you can even try disabling the custom background color, loading a file that errors, and toggling the OS's dark mode on and off. qView responds instantly to the change redrawing both the background and error message with the appropriate colors. |
Perfect! |
Similar to #649 but overrides
MainWindow::paintEvent
to display the error message. Fixes #387.