On 12/9/2013, 2:58 AM, Jan Jongboom wrote:
I think this shows that it would be very useful to have a Keyboard /
InputMethod bug component under platform so I'd have spotted this bug
there...
(Note that the clipboard is used for more than just copying and pasting
text when using the keyboard to edit a textbox. I commented on your
patch on the bug.)
On Mon, Dec 9, 2013 at 6:55 AM, Shih-Chiang Chien <sch...@mozilla.com
<mailto:sch...@mozilla.com>> wrote:
My original plan is let @StevenLee implement nsClipboard on Firefox
OS (bug 938040). Since @janjongboom already submit a nice patch on
bug 946646, we can move @StevenLee's engineer resource to other topic.
Best Regards,
Shih-Chiang Chien
Mozilla Taiwan
On Dec 7, 2013, at 1:48 AM, Ehsan Akhgari <ehsan.akhg...@gmail.com
<mailto:ehsan.akhg...@gmail.com>> wrote:
FWIW we briefly discussed adding this gonk support at the summit.
Shih-Chiang, Rudy, do you guys know if anything has happened for
clipboard support since then?
Once the gonk part is implemented and hooked up to the widget
clipboard APIs, then all clipboard support should magically work.
Cheers,
Ehsan
On 12/6/2013, 1:55 AM, janjongb...@gmail.com
<mailto:janjongb...@gmail.com> wrote:
Yeah I wrote the gonk part yesterday after I realized that :p
On Dec 5, 2013 11:31 PM, Ehsan Akhgari <ehsan.akhg...@gmail.com
<mailto:ehsan.akhg...@gmail.com>> wrote:
On 12/4/2013, 3:58 PM, Fabrice Desré wrote:
On 12/04/2013 08:50 AM, Jan Jongboom wrote:
I'm trying to copy some stuff from a frame script, so I do:
let clipboard =
Components.classes["@mozilla.org/widget/clipboardhelper;1
<http://mozilla.org/widget/clipboardhelper;1>"]
.getService(Components.interfaces.nsIClipboardHelper);
But it throws
TypeError:
Components.classes['@mozilla.org/widget/clipboardhelper;1']
<http://mozilla.org/widget/clipboardhelper;1'%5D> is undefined
So I think something is not loaded, anyone any idea what?
It looks like we don't have clipboard code in b2g widgetry at
all. Look
at Android:
https://mxr.mozilla.org/mozilla-central/source/widget/android/nsWidgetFactory.cpp#93
and gonk:
https://mxr.mozilla.org/mozilla-central/source/widget/gonk/nsWidgetFactory.cpp#93
It looks simple enough to add it since clipboard code lives in
xpwidgets:
https://mxr.mozilla.org/mozilla-central/ident?i=nsClipboardHelper
Well, we also need to have some kind of clipboard support in
gonk, right?
Ehsan
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g