RESOLVED FIXED 50049
[Qt] Add SelectAll option to the context menu for the editor
https://bugs.webkit.org/show_bug.cgi?id=50049
Summary [Qt] Add SelectAll option to the context menu for the editor
Yi Shen
Reported Thursday, November 25, 2010 4:25:52 AM UTC
When context menu pops up on the editor like textarea, user can use the selectall option to select all the text in the editor
Attachments
proposal fix (9.36 KB, patch)
2010-11-24 20:32 PST, Yi Shen
no flags
fix webkit2 build (11.94 KB, patch)
2010-11-25 10:23 PST, Yi Shen
kenneth: review+
commit-queue: commit-queue-
fix the commit bot issue casued by folder name change (11.95 KB, patch)
2011-01-03 12:10 PST, Yi Shen
no flags
Yi Shen
Comment 1 Thursday, November 25, 2010 4:32:23 AM UTC
Created attachment 74828 [details] proposal fix
Early Warning System Bot
Comment 2 Thursday, November 25, 2010 4:50:46 AM UTC
Yi Shen
Comment 3 Thursday, November 25, 2010 6:23:46 PM UTC
Created attachment 74890 [details] fix webkit2 build
Eric Seidel (no email)
Comment 4 Friday, December 10, 2010 7:38:28 AM UTC
Is this a standard Qt context menu option?
Yi Shen
Comment 5 Friday, December 10, 2010 2:36:24 PM UTC
(In reply to comment #4) > Is this a standard Qt context menu option? I think so. I tried some applications in the qtdemo on linux, and I can see the select all option in the context menu for all the editable component.
Kenneth Rohde Christiansen
Comment 6 Friday, December 24, 2010 10:26:59 AM UTC
Comment on attachment 74890 [details] fix webkit2 build View in context: https://bugs.webkit.org/attachment.cgi?id=74890&action=review mac also seems to have this for TextArea and input fields, so r=me > WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:302 > + notImplemented(); > + return "Select All"; Why does this have notImplemented???
WebKit Commit Bot
Comment 7 Friday, December 24, 2010 10:40:50 AM UTC
Comment on attachment 74890 [details] fix webkit2 build Rejecting attachment 74890 [details] from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=cr-jail-3', 'apply-attachment', '--no-update', '--non-interactive', 74890]" exit_code: 2 Last 500 characters of output: ------------------------- |Index: WebKitTools/QtTestBrowser/mainwindow.cpp |=================================================================== |--- WebKitTools/QtTestBrowser/mainwindow.cpp (revision 72736) |+++ WebKitTools/QtTestBrowser/mainwindow.cpp (working copy) -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--reviewer', u'Kenneth Rohde Christiansen', u'--force']" exit_code: 1 Full output: http://queues.webkit.org/results/7272148
Eric Seidel (no email)
Comment 8 Friday, December 24, 2010 4:34:19 PM UTC
Sorry, WebKitTools recently got renamed to Tools. There has been some discussion of modifying svn-apply to be able to fix patches during apply, but until that happens we need to fix this patch manually to apply to Tools instead of WebKitTools.
Yi Shen
Comment 9 Thursday, December 30, 2010 5:01:53 PM UTC
(In reply to comment #8) > Sorry, WebKitTools recently got renamed to Tools. There has been some discussion of modifying svn-apply to be able to fix patches during apply, but until that happens we need to fix this patch manually to apply to Tools instead of WebKitTools. Eric, thanks for your explanation :)
Yi Shen
Comment 10 Monday, January 3, 2011 8:10:02 PM UTC
Created attachment 77835 [details] fix the commit bot issue casued by folder name change
WebKit Commit Bot
Comment 11 Monday, January 3, 2011 11:42:45 PM UTC
Comment on attachment 77835 [details] fix the commit bot issue casued by folder name change Clearing flags on attachment: 77835 Committed r74941: <http://trac.webkit.org/changeset/74941>
WebKit Commit Bot
Comment 12 Monday, January 3, 2011 11:42:53 PM UTC
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 13 Tuesday, January 4, 2011 12:18:42 AM UTC
http://trac.webkit.org/changeset/74941 might have broken Windows Release (Build) and Windows Debug (Build)
Benjamin Poulain
Comment 14 Wednesday, January 5, 2011 1:41:32 PM UTC
I have mixed feeling about this patch. I am affraid that will cause existing apps to have the item "select all" two times in their menu. Yi, would you mind checking the code of Konqueror, Rekonq and Arora regarding this?
Yi Shen
Comment 15 Friday, January 7, 2011 4:38:25 PM UTC
(In reply to comment #14) > I have mixed feeling about this patch. I am affraid that will cause existing apps to have the item "select all" two times in their menu. > > Yi, would you mind checking the code of Konqueror, Rekonq and Arora regarding this? Hi Benjamin Poulain, I will check it and let you know.
Yi Shen
Comment 16 Thursday, January 13, 2011 3:45:56 PM UTC
(In reply to comment #14) > I have mixed feeling about this patch. I am affraid that will cause existing apps to have the item "select all" two times in their menu. > > Yi, would you mind checking the code of Konqueror, Rekonq and Arora regarding this? Sorry for late reply. I tested Arora and didn't see any problem. (Sorry, I don't have KDE env to run Konqueror,Rekonq). Benjamin Poulain, let me know if you think it is still necessary to test Konqueror and Rekonq as well.
Benjamin Poulain
Comment 17 Friday, January 14, 2011 1:04:32 PM UTC
(In reply to comment #16) > Sorry for late reply. I tested Arora and didn't see any problem. (Sorry, I don't have KDE env to run Konqueror,Rekonq). Benjamin Poulain, let me know if you think it is still necessary to test Konqueror and Rekonq as well. I mentioned the problem to the devs of Rekonq. That should be ok. Lets hope no other big projects rely on this kind of specific behavior so the patch does not cause too many problems.
Note You need to log in before you can comment on or make changes to this bug.