-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.4.1
-
None
-
Win7 64bit
The simple test code is
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QGraphicsView *view=new QGraphicsView(); this->setCentralWidget(view); QGraphicsScene *scene=new QGraphicsScene(); view->setScene(scene); QLineEdit *edit=new QLineEdit(); scene->addWidget(edit); }
The problem is that it doesn't show the input method editor. But if I keep the focus on the QLineEdit, and minimize the window then restore it again, the IME just works fine. If I keep the focus on the QMainWindow, minimize it then restore it, the IME does not work, even if I focus on the QLineEdit again.