← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 1931554] Re: Japanese hiragana input fails after first keypress in anki

 

mozc_engine.cc:207 appears to be source of an exception in a C++ string, so surrounding_text.end - selection_end_it < 0...
(gdb) list
202	  const size_t selection_length = abs(info->relative_selected_length);
203	  const auto &selection_start_it = surrounding_text.begin() + selection_start;
204	  const auto &selection_end_it = selection_start_it + selection_length;
205	  info->preceding_text.assign(surrounding_text.begin(), selection_start_it);
206	  info->selection_text.assign(selection_start_it, selection_end_it);
207	  info->following_text.assign(selection_end_it, surrounding_text.end());
208	  return true;
209	}
210	
211	std::unique_ptr<client::ClientInterface> CreateAndConfigureClient() {

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to anki in Ubuntu.
https://bugs.launchpad.net/bugs/1931554

Title:
  Japanese hiragana input fails after first keypress in anki

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1931554/+subscriptions


References