[Ubuntu Phone] The first characters are always in uppercase in webapps
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
David Barth | ||
| | Oxide |
High
|
Santosh | ||
| | Ubuntu UX |
Undecided
|
Unassigned | ||
| | ubuntu-keyboard |
Confirmed
|
High
|
Michael Sheldon | |
| | webapps-sprint |
High
|
Santosh | ||
| | ubuntu-keyboard (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Hi!
In the BQ Ubuntu Edition, when I write anything in any webapp (it works fine in native apps), the first 2 letters are auto uppercase. It should be uppercase just the first letter.
Steps: 1. Open Twitter webapp
2. Write a tweet
3. Press "hello" > BUG: You'll see HEllo. It should be Hello.
Thanks in advance!
Related branches
- system-apps-ci-bot: Approve (continuous-integration) on 2016-06-14
- PS Jenkins bot: Pending (continuous-integration) requested 2016-06-10
- Ubuntu Phablet Team: Pending requested 2016-06-10
-
Diff: 84 lines (+52/-5)2 files modifiedsrc/view/abstracttexteditor.cpp (+3/-5)
tests/autopilot/ubuntu_keyboard/tests/test_keyboard.py (+49/-0)
| Alexandre Abreu (abreu-alexandre) wrote : | #1 |
| tags: | added: webapps |
| Changed in ubuntu-ux: | |
| status: | New → Invalid |
| Changed in webbrowser-app: | |
| status: | New → Incomplete |
| Olivier Tilloy (osomon) wrote : | #2 |
I’m not seeing that either. Marcos, what are your keyboard settings?
| costales (costales) wrote : | #3 |
@Alexandre, @Oliver: In settings:
Display language = English (United States).
Keyboard layouts = Spanish & English. Choosed Spanish as default.
This is happen from 1/2 months ago with an update.
Best regards!
| description: | updated |
| costales (costales) wrote : | #4 |
FYI: The keyboard has an small & fast flip. Then I'm thinking that the keyboard is working like this:
1. Press h: Show H and change to lowercase and to uppercase again (bug).
2. Press e: Show E and change to lowercase
3. Press l: Show l and persist the lowercase
etc.
| Olivier Tilloy (osomon) wrote : | #5 |
OK, I can reproduce if I disable spellchecking, automatic word correction and word suggestions. I would venture this is a bug in the keyboard itself.
| Changed in webbrowser-app: | |
| status: | Incomplete → Invalid |
| affects: | webbrowser-app → ubuntu-keyboard |
| Changed in ubuntu-keyboard: | |
| status: | Invalid → New |
| Alexandre Abreu (abreu-alexandre) wrote : | #6 |
OK managed to get it w/ "Auto capitalization" enabled only ... all the rest of the "Language & Text" settings being turned off
| Changed in ubuntu-keyboard: | |
| status: | New → Confirmed |
| assignee: | nobody → Michael Sheldon (michael-sheldon) |
| importance: | Undecided → High |
| SB (emehntehtt) wrote : | #7 |
I can confirm this bug on my BQ, UK English and Croatian keyboard, updated to r21.
| John Doe (shadowofdoe) wrote : | #8 |
I have this problem too, so i reported bug here https:/
| Changed in oxide: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| assignee: | nobody → Michael Sheldon (michael-sheldon) |
| Michael Sheldon (michael-sheldon) wrote : | #9 |
This appears to be an issue with Oxide reporting the wrong surrounding text offset; it's always out by one when entering new text, so as far as the keyboard's concerned it's still at the beginning of the text field after the first character has been typed. This seems to be due to a synchronisation issue between when Oxide updates the surrounding text data internally and when it reports it to the keyboard.
The reason this doesn't happen with spell check/prediction enabled is that the text is then still in pre-edit and so dealt with internally by the keyboard instead of relying on Oxide's reporting of the surrounding text.
| tags: | added: osk |
| tags: | removed: osk |
| tags: | added: osk |
| Jamie Strandboge (jdstrand) wrote : | #10 |
What is the status of this bug?
| costales (costales) wrote : [Bug 1448145] Re: [Ubuntu Phone] The first characters are always in uppercase in webapps | #11 |
Hi Alexandre,
The bug persist after OTA6.
A hug.
On Thu, Sep 3, 2015 at 5:20 PM, Jamie Strandboge <email address hidden> wrote:
>
> What is the status of this bug?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> [Ubuntu Phone] The first characters are always in uppercase in webapps
>
> To manage notifications about this bug go to:
> https:/
| Jason Robinson (jaywink) wrote : | #12 |
This bug went away for me for a while, maybe after OTA-8. However, it has now come back, I think after the updates on Friday 4th December, on the rc-proposed channel.
BQ Aquaris E4.5 rc-proposed device. English and Finnish keyboard layouts, Finnish used. Auto-capitalization is on and auto-punctuation - other "helpers" off.
Heh, tried "ubuntu-bug ubuntu-keyboard" and:
> The problem cannot be reported:
> This is not an official Ubuntu package. Please remove any third party package and try again.
;)
| Michael Zanetti (mzanetti) wrote : | #13 |
THis is still the case with current rc-proposed. QUite an embarrasing issue IMO. IS there really no way to fix this? Can we raise priority on this?
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Bill Filler (bfiller) |
| importance: | Undecided → High |
| milestone: | none → 11 |
| status: | New → Confirmed |
| Launchpad Janitor (janitor) wrote : | #14 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in ubuntu-keyboard (Ubuntu): | |
| status: | New → Confirmed |
| tags: | added: system-apps-11 |
| Michael Sheldon (michael-sheldon) wrote : | #15 |
To test on a desktop system you can install the ubuntu keyboard by running
sudo apt-get install ubuntu-keyboard ubuntu-
Then to run with extra debugging info from the keyboard run:
MALIIT_DEBUG=true maliit-server
And start the webbrowser via the command:
QT_IM_MODULE=
| Michael Sheldon (michael-sheldon) wrote : | #16 |
core/browser/
| David Barth (dbarth) wrote : | #17 |
Note: you need to have all input helpers off, ie spell checker OFF, auto-correct OFF, etc.
| Olivier Tilloy (osomon) wrote : | #18 |
"Auto capitalization" needs to be enabled.
| Changed in canonical-devices-system-image: | |
| milestone: | 11 → 12 |
| assignee: | Bill Filler (bfiller) → David Barth (dbarth) |
| Changed in oxide: | |
| assignee: | Michael Sheldon (michael-sheldon) → Santosh (santoshbit2007) |
| Changed in webapps-sprint: | |
| milestone: | none → sprint-22 |
| assignee: | nobody → Santosh (santoshbit2007) |
| Santosh (santoshbit2007) wrote : | #19 |
Cause of bug : The issue happens when preedit_string == commit_string, In this case, on commit string we dont't receive updateSelection
I couldn't find direct elegant solution of this so trying to tweak some cases and check for side effect.May be forcing updateSelection
| Changed in webapps-sprint: | |
| status: | New → In Progress |
| importance: | Undecided → High |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → In Progress |
| Changed in oxide: | |
| status: | Confirmed → In Progress |
| Changed in webapps-sprint: | |
| milestone: | sprint-22 → sprint-23 |
| Santosh (santoshbit2007) wrote : | #20 |
It is possible to fix this if :
-- when word suggestion is disabled keyboard should send only single event with commit_string to be committed. this means preedit is diabled and we are inserting char directly. As of now current behaviour is it sends two event for every character pressed, once containing preedit_char and another containing commit_char. having same value. There is not point in these two event.
--- somehow oxide has knowledge of keyboard setting, like if word suggestion is disabled, In this case oxide can stop composing preedittext and directly commit the string.
| Launchpad Janitor (janitor) wrote : | #21 |
This bug was fixed in the package ubuntu-keyboard - 0.99.trunk.
---------------
ubuntu-keyboard (0.99.trunk.
[ Michael Sheldon ]
* Add support for Latvian keyboard layout (LP: #1539121)
* Don't send preedit events when preedit is disabled (LP: #1448145)
* Support all types of space character when checking for autocaps and
double space full-stop insertion
* Add icon to keyboard autopilot test application to avoid bug
#1591192
* Ensure wide characters (e.g. Chinese) fit on 'Next' key (LP:
#1588635)
* Fix emoji autopilot tests
[ Timo Jyrinki ]
* Stop depending on transitional packages. (LP: #1583079)
-- Michael Sheldon <email address hidden> Wed, 15 Jun 2016 12:45:56 +0000
| Changed in ubuntu-keyboard (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Committed |
| Changed in oxide: | |
| status: | In Progress → Fix Committed |
| Changed in webapps-sprint: | |
| status: | In Progress → Fix Released |
| Changed in oxide: | |
| status: | Fix Committed → In Progress |
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Fix Released |

I couldn't reproduce it. Which build version are you running?