WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
133782
[WK2][EFL] Implement text selection range and url's copy and paste through EFL MiniBrowser Context Menu
https://bugs.webkit.org/show_bug.cgi?id=133782
Summary
[WK2][EFL] Implement text selection range and url's copy and paste through EF...
Joonghun Park
Reported
2014-06-11 21:19:51 PDT
By adding dataobjectEfl and ArgumentCodersEfl, text selection range and url data transmission between uiprocess and webprocess is supported. These are the base part for implementation of Drag & Drop in EFL port, also.
Attachments
Patch
(30.01 KB, patch)
2014-06-11 21:36 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Patch
(21.45 KB, patch)
2014-06-13 00:57 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2
(822.68 KB, application/zip)
2014-06-13 03:38 PDT
,
Build Bot
no flags
Details
Patch
(20.36 KB, patch)
2014-06-18 01:13 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2
(592.31 KB, application/zip)
2014-06-18 11:00 PDT
,
Build Bot
no flags
Details
Patch
(20.36 KB, patch)
2014-06-18 22:34 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Patch
(33.03 KB, patch)
2014-07-07 04:27 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
<WIP>
(34.36 KB, patch)
2014-11-02 16:47 PST
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Patch
(34.84 KB, patch)
2014-11-02 23:23 PST
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Patch
(34.61 KB, patch)
2015-10-21 05:06 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Patch
(34.71 KB, patch)
2015-10-21 07:22 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Use PasteboardHelper instead of Efl specific clipboard temporarily
(37.63 KB, patch)
2015-10-22 00:21 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Remove redundant std::unique_ptr<Pasteboard> from Editor.h
(36.80 KB, patch)
2015-10-22 00:34 PDT
,
Joonghun Park
no flags
Details
Formatted Diff
Diff
Use BSD license in added files
(38.55 KB, patch)
2015-10-23 01:24 PDT
,
Joonghun Park
achristensen
: review-
Details
Formatted Diff
Diff
Show Obsolete
(11)
View All
Add attachment
proposed patch, testcase, etc.
Joonghun Park
Comment 1
2014-06-11 21:36:13 PDT
Created
attachment 232929
[details]
Patch
Joonghun Park
Comment 2
2014-06-13 00:57:30 PDT
Created
attachment 233031
[details]
Patch
Build Bot
Comment 3
2014-06-13 03:38:47 PDT
Comment on
attachment 233031
[details]
Patch
Attachment 233031
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5550063291990016
New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html
Build Bot
Comment 4
2014-06-13 03:38:49 PDT
Created
attachment 233038
[details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Joonghun Park
Comment 5
2014-06-18 01:13:48 PDT
Created
attachment 233294
[details]
Patch
Build Bot
Comment 6
2014-06-18 11:00:45 PDT
Comment on
attachment 233294
[details]
Patch
Attachment 233294
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/6100438118039552
New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html
Build Bot
Comment 7
2014-06-18 11:00:48 PDT
Created
attachment 233315
[details]
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Joonghun Park
Comment 8
2014-06-18 22:34:41 PDT
Created
attachment 233351
[details]
Patch
Gyuyoung Kim
Comment 9
2014-06-23 18:41:45 PDT
Comment on
attachment 233351
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=233351&action=review
This patch is almost copied from GTK implementation. So, please consider my suggestion. So, r-
> Source/WebCore/ChangeLog:4 > + Need the bug URL (OOPS!).
Remove this template.
> Source/WebCore/ChangeLog:7 > +
Missing patch description.
> Source/WebCore/platform/efl/DataObjectEfl.cpp:4 > + This library is free software; you can redistribute it and/or
Use BSD instead of LGPL license.
> Source/WebCore/platform/efl/DataObjectEfl.h:20 > +#ifndef DataObjectEfl_h
It looks DataObjectGtk.h/cpp files are almost same with DataObjectGtk.h/cpp. In this case, you have to add *original author* in Licence. Besides I think we can share common functions with GTK port. So, we may make DataObject.h/cpp to be shared by GTK and EFL. Then, we make DataObjectGtk.h/cpp and DataObjectEfl.h/cpp to support port specific implementation.
Joonghun Park
Comment 10
2014-07-07 04:27:47 PDT
Created
attachment 234485
[details]
Patch
Joonghun Park
Comment 11
2014-11-02 16:47:37 PST
Created
attachment 240823
[details]
<WIP>
Chris Dumez
Comment 12
2014-11-02 16:54:52 PST
FYI, the correct way I believe is to remove the review flag, not r- your own patches.
Joonghun Park
Comment 13
2014-11-02 22:17:57 PST
(In reply to
comment #12
)
> FYI, the correct way I believe is to remove the review flag, not r- your own > patches.
I revised review flag according to your advice. Thank you for your kindness~ :)
Joonghun Park
Comment 14
2014-11-02 23:23:11 PST
Created
attachment 240828
[details]
Patch
Gyuyoung Kim
Comment 15
2014-11-03 01:56:05 PST
Comment on
attachment 240828
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=240828&action=review
I think this patch needs to be reviewed further. I add GTK reviewers as well.
> Source/WebCore/editing/Editor.cpp:1312 > + m_pasteboard = Pasteboard::createForCopyAndPaste();
We should not have EFL specific code path as much as possible. In this case, it looks we can use exist code path. Why do we need to have own code path ?
> Source/WebCore/editing/Editor.cpp:1333 > + m_pasteboard = Pasteboard::createForCopyAndPaste();
Why should EFL port take different path ? Can't we implement writeSelectionToPasteboard() in EditorEfl.cpp ? void Editor::writeSelectionToPasteboard(Pasteboard&) { notImplemented(); }
> Source/WebCore/editing/Editor.cpp:1347 > +#if PLATFORM(EFL)
It looks it would be nicer to implement EFL specific function in EditorEfl.cpp. To do that, you need to add EditorEfl.h and declare needed function to virtual.
> Source/WebCore/editing/Editor.h:536 > + OwnPtr<Pasteboard> m_pasteboard; // FIXME: This is temporary. It should be removed by using system clipboard.
Use std::unique_ptr<>
> Source/WebCore/platform/DataObject.h:52 > + bool hasImage() const { return !m_image.isEmpty(); }
bool hasImage() should be declared as virtual. Then own DataObject file should override this function.
> Source/WebCore/platform/DataObject.h:59 > + void clearImage() { m_image = ""; }
ditto.
> Source/WebCore/platform/efl/DataObjectEfl.cpp:23 > +#if PLATFORM(EFL)
Looks unneeded guard.
Joonghun Park
Comment 16
2015-10-21 05:06:15 PDT
Created
attachment 263674
[details]
Patch
Joonghun Park
Comment 17
2015-10-21 07:22:34 PDT
Created
attachment 263678
[details]
Patch
Joonghun Park
Comment 18
2015-10-22 00:21:37 PDT
Created
attachment 263800
[details]
Use PasteboardHelper instead of Efl specific clipboard temporarily
Joonghun Park
Comment 19
2015-10-22 00:34:00 PDT
Created
attachment 263803
[details]
Remove redundant std::unique_ptr<Pasteboard> from Editor.h
Gyuyoung Kim
Comment 20
2015-10-22 23:43:04 PDT
Comment on
attachment 263803
[details]
Remove redundant std::unique_ptr<Pasteboard> from Editor.h View in context:
https://bugs.webkit.org/attachment.cgi?id=263803&action=review
Basically this change should be granted by GTK reviewers. Then we can go ahead to review. Please talk with GTK reviewer first. BTW is there any tests for copy & paste ?
> Source/WebCore/platform/efl/PasteboardHelper.h:4 > + This library is free software; you can redistribute it and/or
Use BSD license.
Joonghun Park
Comment 21
2015-10-22 23:56:17 PDT
(In reply to
comment #20
)
> Comment on
attachment 263803
[details]
> Remove redundant std::unique_ptr<Pasteboard> from Editor.h > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=263803&action=review
> > Basically this change should be granted by GTK reviewers. Then we can go > ahead to review. Please talk with GTK reviewer first. BTW is there any tests > for copy & paste ? > > > Source/WebCore/platform/efl/PasteboardHelper.h:4 > > + This library is free software; you can redistribute it and/or > > Use BSD license.
Ok, I got it. Regarding the tests, let me check for it. For now, I will change the license as you commented.
Joonghun Park
Comment 22
2015-10-23 01:24:17 PDT
Created
attachment 263913
[details]
Use BSD license in added files
Alex Christensen
Comment 23
2017-03-03 08:36:01 PST
Comment on
attachment 263913
[details]
Use BSD license in added files EFL port was removed. If this refactoring is still helpful for maintaining a downstream port, please upload a patch that does the refactoring without adding EFL code.
Michael Catanzaro
Comment 24
2017-03-11 10:41:49 PST
Closing this bug because the EFL port has been removed from trunk. If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.
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