Hello, I have a problem with dialog boxes I was hoping someone could help with. This only happens in Linux. On Windows it is fine (I haven't tried elsewhere). This is the problem.
I have an application that uses QWebView to edit some HTML. It will produce some dialog boxes using the exec() method prompt the user for data. If the user clicks the OK button or the CANCEL button the main thread is resumed and focus is placed back within the main application. Everything works fine. The problem happens if the user presses RETURN or CANCEL. If that happens the QWebView cannot be edited and focus is never returned to it. If I do a Alt-Tab to move focus away from the application & then alt-tab back everything returns to normal. I can click around within the application and it responds, so I know the main thread is still running, but QWebView won't regain editing focus even if the contents are refreshed. I've tried overriding the accept & reject functions, calling done instead of accept and calling done. I've tried to manually reset focus in the main thread, but nothing seems to help. On Windows this works fine and I don't need to go through all the effort. It is only on Linux that I've seen this behavior. I'm sure it is some flag that I'm missing, but I haven't been able to find it. Thanks for any help.
_______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
