Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QMainWindow hides when clicking on QLineEdit with dual monitor setup
anshah last edited by anshah
I am using Ubuntu 18.04 with dual monitor setup.
My application consists of a QMainWindow which shows/hides when clicking on a QSystemTrayIcon.
This works fine in a single monitor/VM setup however when I setup with dual monitors I see that the QMainWindow comes up initially after install but when I click on the QLineEdit to put it into focus the QMainWindow goes away. Ideally the user should be able to re-show the QMainWindow by clicking on the QSystemTrayIcon but that becomes unresponsive.
Not sure what the issue could be...any help would be appreciated.
Did you try to run your application through the debugger ?
anshah last edited by
I did not run it through the debugger. You mean through Qt creator?
Whatever you're more comfortable with.