Typing into Writer hides Onboard screen keyboard

Bug #1090960 reported by marmuta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Invalid
Medium
ubuntu-nexus7
Triaged
Medium
Unassigned
libreoffice (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Typing into Writer generates an AT-SPI event for lost focus. Onboard hides when that happens and has to be manually shown again to be able to continue typing.

Steps to reproduce:
1. sudo apt-get install libreoffice-gtk libreoffice-writer
2. Start Onboard screen keyboard, auto-show enabled
3. Start Writer with an empty document
   -> keyboard shows, ok
4. Type one character
   -> keyboard hides, when it should stay visible

Ubuntu 13.04
LibreOffice 1:3.6.2~rc2-0ubuntu6

Tags: raring
Revision history for this message
In , marmuta (marmuta) wrote :

Created attachment 71590
At-spi messages onboard sees when starting Writer and typing one character.

Problem description:
Writer does send an AT-SPI focus messages when the window is first activated, which is great, but then it announces loss of focus after typing a single character. The screen keyboard Onboard hides when this happens. Typing is interrupted until the keyboard is manually shown again.

Steps to reproduce:
1. Start Onboard screen keyboard, auto-show enabled
2. Start Writer with an empty document
   -> keyboard shows, ok
3. Type one character
   -> keyboard hides, when it should stay visible

Current behavior:
AT-SPI events for lost focus are generated when no apparent loss of focus has occured.

Expected behavior:
Focus-lost events are not generated while typing text, or if necessary, they are followed by focus-received events.

Operating System: Ubuntu

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Robert Bruce Park (robru) wrote :

I was not able to reproduce this bug on the 16GB Nexus 7 with latest raring images. Typing with onboard into Writer worked exactly as expected.

Can you please update to the latest raring image on your nexus and try again? Thanks!

Changed in ubuntu-nexus7:
status: New → Incomplete
Changed in libreoffice (Ubuntu):
status: New → Incomplete
Revision history for this message
marmuta (marmuta) wrote :

Still happens here on the 16GB Nexus 7 after re-running ubuntu-nexus7-installer. Do I have to install images manually to get the latest?

First thing I did after installation was
$ sudo apt-get install libreoffice-gtk libreoffice-writer
Then I dragged Writer to the launcher and started it.
Onboard showed, I typed "w" and Onboard hid again.

Same thing on a laptop with fully updated raring x86_64.

Revision history for this message
Robert Bruce Park (robru) wrote :

Try doing 'sudo apt-get update; sudo apt-get dist-upgrade' on the nexus and see if you still get the bug after that.

I was using the exact same version of libreoffice-writer that you mentioned, but I think there's been updates to unity and onboard since you filed the bug that may have fixed it.

Revision history for this message
Robert Bruce Park (robru) wrote :

I was able to reproduce this bug now, but only once, and only with libreoffice-gtk package installed. Before I had installed libreoffice-gtk, then Writer used Onboard quite normally, allowing me to type as much as I liked. After installing libreoffice-gtk package, then onboard hid after typing one single letter, but then after I re-summoned onboard, then it stayed up fine for more typing.

Changed in ubuntu-nexus7:
status: Incomplete → Confirmed
Changed in libreoffice (Ubuntu):
status: Incomplete → Confirmed
Changed in ubuntu-nexus7:
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
Changed in libreoffice (Ubuntu):
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
Changed in ubuntu-nexus7:
importance: Undecided → Medium
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
Revision history for this message
marmuta (marmuta) wrote :

Ah, I should have mentioned libreoffice-gtk has to be installed. I'll add that to the summary.
Note that manually showing Onboard pauses auto-show/hide and locks the keyboard visible. It doesn't act on Writer's focus messages then. Manual hiding turns auto-show back on.

description: updated
Changed in libreoffice (Ubuntu):
status: Confirmed → Triaged
Changed in ubuntu-nexus7:
status: Confirmed → Triaged
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

Arent bugs 1090960 and bugs 1089462 dupes?

Revision history for this message
marmuta (marmuta) wrote :

I don't think they are duplicates. As I understand it, bug #1089462 is about the dependency to libreoffice-gtk, which contains libreoffice's bridge to ATK. No libreoffice-gtk, no auto-show.
This bug assumes libreoffice-gtk is installed, i.e. the prerequisite for auto-show is there, but there's a problem with the implementation.

tags: added: raring
Revision history for this message
In , Jmadero-dev (jmadero-dev) wrote :

I am relatively sure this is NOTOURBUG - I have tested on Bodhi with kvkbd as my onscreen keyboard and it works no problem. I suspect this is a Ubuntu issue.

@Bjoern - can you confirm that this isn't LibreOffice doing funky things?

Revision history for this message
In , Qubit (qubit) wrote :

TESTING on Ubuntu 12.04.3 with
LibreOffice Version: 4.2.0.1

(In reply to comment #0)
> Steps to reproduce:
> 1. Start Onboard screen keyboard, auto-show enabled
> 2. Start Writer with an empty document
> -> keyboard shows, ok
> 3. Type one character
> -> keyboard hides, when it should stay visible

NOREPRO - keyboard stays visible during all aspects of entering text.

Status: RESOLVED WORKSFORME

Marmuta - If you can still repro this problem on a modern version of LibreOffice, please leave a comment and change the status of this bug back to 'UNCONFIRMED'.
https://www.libreoffice.org/download/

Thanks!

Changed in df-libreoffice:
status: New → Invalid
Revision history for this message
In , marmuta (marmuta) wrote :

TESTING on Ubuntu 14.04 with
LibreOffice Version: 4.1.3-0ubuntu3

Thanks for testing, I can't reproduce it here anymore either.

Changed in ubuntu-nexus7:
assignee: Björn Michaelsen (bjoern-michaelsen) → nobody
Changed in libreoffice (Ubuntu):
assignee: Björn Michaelsen (bjoern-michaelsen) → nobody
Changed in libreoffice (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.