[Bug 482224] New: Qt4 interview editing facility cannot retrieve the original model data
https://bugzilla.novell.com/show_bug.cgi?id=482224 Summary: Qt4 interview editing facility cannot retrieve the original model data Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: azurvii@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 When I try to edit a cell in QTableView, the delegate's setEditorData() does not do the job, and opens up a blank editor. I've compiled the source code from qtsoftware.com in the same platform, and programs with the same source code linking to that self-compiled one are doing OK, fetch and set the editor fine. Reproducible: Always Steps to Reproduce: 1. Install Qt Development tools in YaST (repositories oss, update and KDE:Qt all have this problem) 2. Run 'qtdemo' from a terminal 3. Select 'Demonstrations' > 'Spreadsheet', and launch it. 4. Double any text cell to edit Actual Results: Open up a QLineEdit widget with blank content. After click other fields, the former content is erased. Expected Results: Open up a QLineEdit widget with content of original cell. After click other fields, the former content remain the same. All parameters I've output using QMessageBox within setEditorData(), and they are all normal. The only thing is the function itself doesn't do the job. I haven't check the source of qt in opensuse, but I guess there is some signal/slot connection missing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=482224 Stephan Binner <binner@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pth@novell.com |dmueller@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=482224 User azurvii@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=482224#c1 Vincent Liu <azurvii@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Platform|i686 |i386 --- Comment #1 from Vincent Liu <azurvii@gmail.com> 2009-03-11 20:29:18 MST --- I found it's not the problem of libqt4-devel. It's the libqt4 shipped with opensuse. My environment: I installed openSUSE 11.1 with KDE4 desktop, from DVD with default software selection, adding zh_CN support. The repositories I have are OSS, Non-OSS, update, and nvidia(download.nvidia.com/opensuse/11.1). everything is updated to date. Symptom: Now in KDE4 a lot of editing functions illy perform. i.e., open dolphin and try to rename a file, the original name is missing. Also, open Kontact, in Address book, dbl click a contact, you'll find the name is missing! A comparison between Firefox (not depend on libqt) and Konqueror: open http://software.opensuse.org/search, input some text in the line edit, double click the text twice will delete the text in Konqueror, while it's normal in Firefox. I've replaced the libQt*.so.4 with self compiled Qt-4.5.0 from qtsoftware.com, and what I describe above are gone. Since with 4.5.0 KDE in general has some other issues, I restored the original Qt 4.4.3 from update repo, and again, the problems appear. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=482224 User dmueller@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=482224#c2 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |azurvii@gmail.com --- Comment #2 from Dirk Mueller <dmueller@novell.com> 2009-03-26 15:14:22 MST --- I believe this is an artifact because replacing the qt library means that the qt build key does no longer match, and therefore qt plugins are not loaded, including possible widget/style plugins or input methods that are likely causing this issue. can you please attach /proc/<pid>/maps of the interview demo app process when you run it and excercised this problem? then we at least know which plugins you have loaded and can bisect which one causes the issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=482224 User azurvii@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=482224#c3 Vincent Liu <azurvii@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|azurvii@gmail.com | --- Comment #3 from Vincent Liu <azurvii@gmail.com> 2009-03-27 08:28:51 MST --- Created an attachment (id=282554) --> (https://bugzilla.novell.com/attachment.cgi?id=282554) /proc/{pid}/map for spreadsheet demo Guided by Dirk, I found it could be the Chinese language related plug-in for Qt that leads to this issue, not the core qt4 libs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com