Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
4.6.2, 4.6.3, 4.7.0
-
None
-
Mac OS X
Description
Here is an example show the bug.
class MyLineEdit: public QLineEdit { Q_OBJECT public: MyLineEdit(const QString & title, QWidget * parent = 0); public slots: void onTextChanged() { QToolTip::showText(QPoint(100,100), "test tooltip...., this is the example of tooltip dismissed immediately"); } }; MyLineEdit::MyLineEdit(const QString & title, QWidget * parent): QLineEdit(title, parent) { QObject::connect(this, SIGNAL(textChanged(const QString&)), this, SLOT(onTextChanged())); } int main (int argc, char * argv[]) { QApplication app(argc, argv); MyLineEdit* le = new MyLineEdit("test LineEdit"); le->show(); return app.exec(); }
The same code works on Windows.
Attachments
Issue Links
- relates to
-
QTBUG-85762 Tooltip hides immediatley on MAC if key is released
- Reported