[Libreoffice-bugs] [Bug 124905] iPad Hardware-Keyboard in iOS App

2019-05-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=124905

--- Comment #3 from Tor Lillqvist  ---
At least part of the problem seems to be that loleaflet uses a HTML text input
field that it gives the focus to enable the on-screen keyboard, even of there
iOS a hardware keyboard (and no on-screen keyboard will pop up). The cursor
keys are then handled inside that text input field (even if the field does not
have any contents) and not passed on as JavaScript events. If the text input
field does not have focus, the cursor keys arrive as keyboard events with key
property "ArrowDown", "ArrowLeft" etc.

Here is a useful tiny test HTML page I use to experiment with:

> 
>   
> 
>   Title
> 
> 
> 
>   var keyeventhandler = function(e) {
> console.log(e.type + ' "' + e.key + '" ' + e.keyCode + ' ' + 
> e.charCode);
> if (e.type === 'keydown' && e.key === 'f')
> window['inputfield'].focus();
> else if (e.type === 'keydown' && e.key === 'b')
> window['inputfield'].blur();
>   }
> 
>   var textinputeventhandler = function(e) {
> console.log('textInput: "' + e.data + '"');
>   }
> 
>   var inputeventhandler = function(e) {
> console.log(e.inputType);
>   }
> 
>   var compeventhandler = function(e) {
> console.log(e.type + ' "' + e.data + '"');
>   }
> 
>   var clipboardeventhandler = function(e) {
> console.log(e.type);
>   }
> 
>   window.addEventListener('keydown', keyeventhandler);
>   window.addEventListener('keypress', keyeventhandler);
>   window.addEventListener('keyup', keyeventhandler);
> 
>   window.addEventListener('textInput', textinputeventhandler);
> 
>   window.addEventListener('input', inputeventhandler);
> 
>   window.addEventListener('compositionstart', compeventhandler);
>   window.addEventListener('compositionupdate', compeventhandler);
>   window.addEventListener('compositionend', compeventhandler);
> 
>   window.addEventListener('copy', clipboardeventhandler);
>   window.addEventListener('paste', clipboardeventhandler);
> 
> 
> 
>   
>   
> Body.
> 
>   
> 

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 124905] iPad Hardware-Keyboard in iOS App

2019-05-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=124905

--- Comment #2 from Tor Lillqvist  ---
Note that some of the keys mentioned in the list do work. Caps Lock works, and
Cmd+V does work now since a week or so, commit
10ff9c1a65a7e333d3aa6f2811d1480fa53fe75e on May 21.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 124905] iPad Hardware-Keyboard in iOS App

2019-05-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=124905

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|QA:needsComment |

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 124905] iPad Hardware-Keyboard in iOS App

2019-05-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=124905

Andras Timar  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Andras Timar  ---
I'm afraid it's not our bug. It seems to be a bug in WebKit on iOS, those
keypresses don't generate events. See also:
https://bugs.webkit.org/show_bug.cgi?id=149054

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 124905] iPad Hardware-Keyboard in iOS App

2019-05-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=124905

QA Administrators  changed:

   What|Removed |Added

 Whiteboard||QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs