Summary: | regression on completion tab out in khtml input text | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Andrea Iacovitti <aiacovitti> |
Component: | khtml forms | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ag+services, cfeck, kde, kde, kevin.kofler, rakuco, sebastian.radish, voker57 |
Priority: | NOR | ||
Version: | 4.6.5 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.1 | |
Sentry Crash Report: | |||
Attachments: |
possible fix
missing to initialize m_blockElementUpdates |
Description
Andrea Iacovitti
2011-07-10 08:10:33 UTC
Created attachment 61796 [details]
possible fix
Basically re-apply an old Germain's patch (svn r948588) that fixed the same problem. Look render_form.cpp (and klineedit.cpp) revision history for more details.
Created attachment 61812 [details]
missing to initialize m_blockElementUpdates
Failed to apply to master, but I applied manually, and can confirm that it fixes the issue. Wait ... it causes an ugly regression. Whenever I open a bug report page, and close it, it ask me to confirm discarding changes (I did not change anything). I also see a difference between 4.6.5 and 4.7rc2: the return press to select an entry is passed to the form in 4.7rc2. So if I choose one entry by keyboard in 4.7rc2 and press return to select that entry the surrounding form is immediately submitted. This is even worse than 4.6.5 where I at least had a chance to select other fields (and then have to deal with the suddenly disappearing completion). well, master version of kdelineedit contains additional changes (especially ad0be624 and 2ea274cd) that may be (i have not verified) the cause of issue reported in the previous comment... I did further testing. The patch works fine for me in both kde 4.6.5/4.7 (cannot reproduce what's reported in comment #4). I can reproduce what's reported in comment #5 using kde 4.7 (regardless of the patch attached to this bug report), opened separate bug #277943 for this latter issue: it seems a regression introduced by kdelibs commit 2ea274cd Git commit 3c5318801156e18f3b48208a883a8596296f9f22 by Andrea Iacovitti. Committed on 04/08/2011 at 19:25. Pushed by aiacovitti into branch 'KDE/4.6'. Unbreak completion on tab-out in KDE/4.6 branch CCBUG: 277457 M +2 -1 khtml/rendering/render_form.h M +7 -3 khtml/rendering/render_form.cpp http://commits.kde.org/kdelibs/3c5318801156e18f3b48208a883a8596296f9f22 Git commit 2a90109ab5ff7f53b4ed0555eef3e45428619f9b by Andrea Iacovitti. Committed on 05/08/2011 at 21:45. Pushed by aiacovitti into branch 'KDE/4.7'. Unbreak completion on tab-out. KLineEdit no longer emits textEdited signal when scrolling completion list (see commit 8db60a2f) then use textChanged as in the past. BUG: 277457 FIXED-IN: 4.7.1 M +2 -1 khtml/rendering/render_form.h M +7 -3 khtml/rendering/render_form.cpp http://commits.kde.org/kdelibs/2a90109ab5ff7f53b4ed0555eef3e45428619f9b Git commit 79bbca4aea5af9f0a73b8ff92c6a96c0ebc102af by Andrea Iacovitti. Committed on 05/08/2011 at 21:45. Pushed by aiacovitti into branch 'frameworks'. Unbreak completion on tab-out. KLineEdit no longer emits textEdited signal when scrolling completion list (see commit 8db60a2f) then use textChanged as in the past. BUG: 277457 FIXED-IN: 4.7.1 (cherry picked from commit 2a90109ab5ff7f53b4ed0555eef3e45428619f9b) M +2 -1 khtml/rendering/render_form.h M +7 -3 khtml/rendering/render_form.cpp http://commits.kde.org/kdelibs/79bbca4aea5af9f0a73b8ff92c6a96c0ebc102af *** Bug 285358 has been marked as a duplicate of this bug. *** |