[Bug 10850] New: Bug when selecting text in Qt 3 QLineEdit
http://bugs.winehq.org/show_bug.cgi?id=10850 Summary: Bug when selecting text in Qt 3 QLineEdit Product: Wine Version: 0.9.46. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: test AssignedTo: wine-bugs(a)winehq.org ReportedBy: m.gritsch(a)gmail.com Hi, The attached minimalistic example application demonstrates a WINE bug when using a QLineEdit widget from Qt 3: * Enter some text in the line edit. * Select some text using the mouse. * Click into the line edit Native Windows: -> The selected text simply gets unselected. Using WINE: -> The selected text gets deleted. Kind regards, Markus -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 --- Comment #1 from Markus Gritsch <m.gritsch(a)gmail.com> 2007-12-21 13:31:49 --- Since the example application is 2.5 MB in size I cannot attach it. Instead it can be downloaded from http://xile.org/le/LineEditBug.zip -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://xile.org/le/LineEditB | |ug.zip Status|UNCONFIRMED |NEW Component|test |wine-comctl32 Ever Confirmed|0 |1 Keywords| |download --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2007-12-21 13:37:31 --- Confirming in current git. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 --- Comment #3 from Markus Gritsch <m.gritsch(a)gmail.com> 2007-12-22 14:53:15 --- Beside the QLineEdit.exe the ZIP file now also contains a second executable QTextEdit.exe. The QTextEdit selection also behaves wrong in WINE: * Type some lines of text. -> Under WINE it is not possible to select some text, neither with the mouse nor with the keyboard by holding down the shift key and moving the cursor around. -> When moving the cursor from one line to another by using the UP and DOWN arrow keys, a stray vertical line is left behind. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 --- Comment #4 from Markus Gritsch <m.gritsch(a)gmail.com> 2007-12-23 04:38:16 --- I added a third application to the .zip file (QLineEditSelectionChanged.exe) which shows a bug which is probably caused by the same WINE bug. The test application has a QLineEdit and a QCheckBox. Every time the text in the lineedit is changed, the checkbox gets toggled. The source code is displayed at the end of this comment. -> Except for the first time, every time one clicks with the mouse into the lineedit, the textChanged() signal gets emitted (and thus the checkbox gets toggled). This is only observed under WINE, not on native Windows. -> When switching to another window when the lineedit has the focus, an additional textChanged signal is emitted. This is also not the case on native Windows. #include <qapplication.h> #include <qwidget.h> #include <qlineedit.h> #include <qcheckbox.h> #include <qlayout.h> #include <qobject.h> int main(int argc, char ** argv) { QApplication app = QApplication(argc, argv); QWidget * widget = new QWidget(); QLineEdit * lineEdit = new QLineEdit(widget); QCheckBox * checkBox = new QCheckBox(widget); checkBox->setEnabled(false); QHBoxLayout * layout = new QHBoxLayout(widget, 1, 0, "layout"); layout->addWidget(lineEdit); layout->addWidget(checkBox); QObject::connect(lineEdit, SIGNAL(textChanged(const QString &)), checkBox, SLOT(toggle())); app.setMainWidget(widget); widget->show(); return app.exec(); } -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 Philipp Sadleder <philipp(a)sadleder.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |philipp(a)sadleder.de -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 Andre Wisplinghoff <andre.wisplinghoff(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andre.wisplinghoff(a)gmail.com --- Comment #5 from Andre Wisplinghoff <andre.wisplinghoff(a)gmail.com> 2008-01-30 18:09:38 --- This seems to be fixed by now, I tried all sample applications and everything seems to work like it's supposed to be. I tried with 0.9.53 and current GIT. Can you confirm? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 Markus Gritsch <m.gritsch(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Markus Gritsch <m.gritsch(a)gmail.com> 2008-01-31 06:16:22 --- Yes all things mentioned work as expected now. Tested with wine-0.9.54 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 Markus Gritsch <m.gritsch(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #7 from Markus Gritsch <m.gritsch(a)gmail.com> 2008-01-31 06:17:03 --- #verified -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10850 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |CLOSED --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2008-01-31 11:19:03 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org