WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
Bug 24411
[GTK] Text manipulation undo not working
https://bugs.webkit.org/show_bug.cgi?id=24411
Summary
[GTK] Text manipulation undo not working
jasneet
Reported
2009-03-05 15:54:37 PST
I Steps: 1.Go to
http://www.networkedmediatank.com/showthread.php?tid=13161&page=last
2.Create an account 3.Go to quick reply section 4.Add some text, select a part of text 5.Press CTRL-X 6.Press CTRL-Z II Issue: Selected part doesn't appear after Ctrl + Z III Other Browsers: FF3: OK IE7: OK IV Nightly tested: 41443 Bug in Chromium :
http://code.google.com/p/chromium/issues/detail?id=7148
Attachments
Patch
(11.09 KB, patch)
2013-02-07 16:21 PST
,
Seulgi Kim
no flags
Details
Formatted Diff
Diff
Patch
(6.39 KB, patch)
2013-02-07 19:43 PST
,
Seulgi Kim
no flags
Details
Formatted Diff
Diff
Patch
(4.26 KB, patch)
2013-02-07 20:07 PST
,
Seulgi Kim
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Pacho Ramos
Comment 1
2009-07-30 10:17:07 PDT
The same occurs with webkit-gtk-1.1.11 under linux
Seulgi Kim
Comment 2
2013-02-07 15:58:16 PST
I confirmed Gtk WebKit2 on
r142157
don't save undoStack since this uses EmptyEditorClient. Must using EditorClient in WebKit1 or creating new EditorClient for WebKit2.
Seulgi Kim
Comment 3
2013-02-07 16:21:56 PST
Created
attachment 187194
[details]
Patch
WebKit Review Bot
Comment 4
2013-02-07 16:26:39 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
WebKit Review Bot
Comment 5
2013-02-07 16:26:57 PST
Attachment 187194
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp', u'Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h', u'Source/WebKit2/UIProcess/WebPageProxy.cpp', u'Source/WebKit2/UIProcess/WebPageProxy.h', u'Source/WebKit2/WebProcess/WebPage/WebPage.h', u'Source/WebKit2/WebProcess/WebPage/WebPage.messages.in', u'Source/WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp']" exit_code: 1 Source/WebKit2/ChangeLog:13: Line contains tab character. [whitespace/tab] [5] WARNING: File exempt from style guide. Skipping: "Source/WebKit2/UIProcess/API/gtk/WebKitWebView.h" Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Seulgi Kim
Comment 6
2013-02-07 16:34:51 PST
Now I just implement CoreIPC messages to send command. I'll do remains soon. If there is something wrong, please comment.
Martin Robinson
Comment 7
2013-02-07 16:49:56 PST
So we already have webkit_web_view_can_execute_editing_command, which looks like it encompasses all of these. Or am I mistaken?
Seulgi Kim
Comment 8
2013-02-07 19:43:55 PST
Created
attachment 187222
[details]
Patch
Seulgi Kim
Comment 9
2013-02-07 19:49:14 PST
(In reply to
comment #7
)
> So we already have webkit_web_view_can_execute_editing_command, which looks like it encompasses all of these. Or am I mistaken?
You're right. There already exists function to do. But I think the function name is webkit_web_view_execute_editing_command, instead of webkit_web_view_can_execute_editing_command
Seulgi Kim
Comment 10
2013-02-07 20:07:20 PST
Created
attachment 187224
[details]
Patch
Seulgi Kim
Comment 11
2013-02-07 20:10:35 PST
(In reply to
comment #10
)
> Created an attachment (id=187224) [details] > Patch
I confirmed that clipboard command messages are sent properly. Fix to bind only undo and redo signals.
Martin Robinson
Comment 12
2013-02-07 21:13:05 PST
Comment on
attachment 187224
[details]
Patch Hrm. So is the issue that Ctrl+Z isn't causing undo to happen? I wonder if this should be hooked in at a different place. Check out webkit_web_view_real_undo from WebKit1. Do we need something like that?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug