← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1375900] Re: gmail crashes composing a message

 

If I type the following in a contenteditable div: "hey \nH" then press space, I see  RenderWidgetHostView::SelectionChanged() being called with text = "hey ", offset = 0 and range = {5,5}.
At this point the range is invalid because text.length() is 4, and trying to get a substring of it at index 5 throws a std::out_of_range exception.

I’m wondering whether the input method may be incorrectly eating the linefeed (\n) character.
By the way the behaviour of the OSK looks incorrect to me in this case: when pressing space, shouldn’t the current word suggestion be validated? Instead, it’s entirely deleted. I’m not seeing that happen in e.g. the messaging app, so it might be an issue in oxide (adding an ubuntu-keyboard task just in case).

** Also affects: ubuntu-keyboard
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to webbrowser-app.
https://bugs.launchpad.net/bugs/1375900

Title:
  gmail crashes composing a message

Status in Oxide Webview:
  New
Status in Ubuntu Keyboard:
  New
Status in Web Browser App:
  Triaged

Bug description:
  In an effort to test and fix lp:1374562 and lp:1375889 I've tested
  with this UA string used by Chrome for Android:

  Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B)
  AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile
  Safari/535.19

  Those issue are fixed with this string, but am seeing a crash when
  composing a new message:

  1) compose a new message
  2) in the body type:
  Hi Joe,
  How are you?

  For me the webapp crashes after typing "How"

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1375900/+subscriptions


References