-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Loading dialog takes over mouse position on Windows with Auto Move option on #2383
Comments
I believe the dialog is a 'please wait while data is being loaded' alert. I believe it may have a cancel button, which may be throwing off your mouse 'ping to a button' feature... |
Thanks for the response! In WinForm/WPF, we could set the button as non-primary (i.e not default button). The mouse cursor wouldn't be moved if it is so. Is it possible for Qt? Or can I disable the whole feature? |
We are using QProgressDialog. I've tried to set a cancel button without the default and autoDefault properties but I've seen no difference in Linux. It still looks as a default button and pressing Space bar cancels the progress, so maybe the dialog is forcing the property. Should I commit it nevertheless to try it in Windows? |
Might as well try it. 😄 |
Remove the default and auto-default properties of the cancel button in the "Fetching data..." dialog. See issue #2383
Remove the default and auto-default properties of the cancel button in the "Fetching data..." dialog. See issue #2383
Confirmed as working in PR #2386. |
Remove the default and auto-default properties of the cancel button in the "Fetching data..." dialog. See issue #2383
Details for the issue
What did you do?
On Windows, we have this useful option that move the mouse to a dialog button:
However, with (not too) recent update, whenever I browse a column with a foreign key, DB would try to load the data of that table to make it into a select combo-box. That's fine by me although I am not using that feature but during the loading, a dialog box is shown and so my mouse is moved there, which is quite disruptive.
What did you expect to see?
The dialog should not show up, or should not have any button. I think there should be an option to either disable the loading dialog, or at least disable the feature completely if I do not need it.
What did you see instead?
My mouse is moved to an invisible button (maybe because I can never see it, it's too quickly).
Useful extra information
The info below often helps, please fill it out if you're able to. :)
What operating system are you using?
What is your DB4S version?
Did you also
The text was updated successfully, but these errors were encountered: