[upstream] Wrong alignment while typing RTL text in Calc cell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LibreOffice |
Confirmed
|
High
|
|||
libreoffice (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Calc normally aligns text cells to the right or to the left based on the directionality of the first character of the cell (left-alignment with English and right-alignment with Arabic). Unfortunately, this assignment happens only when the user has finished typing and pressed Enter. While typing, all text cells are aligned to the left, while for example numbers are automatically aligned to the right even in the typing phase. The same thing happens even when I’m modifying a text cell which was already automatically aligned to the right: as soon as I double-click on the cell, the text jumps to the left edge of the cell, and then I need to visually relocate the exact place I wanted to modify.
As a user, I would expect cells with an RTL character in the beginning to get aligned to the right already while the user is typing. This is what happens with many other programs, too, such as Firefox when filling out an HTML form. See the attached screenshot from Calc for an example.
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Installed: 1:6.0.3-0ubuntu1
Candidate: 1:6.0.3-0ubuntu1
Version table:
*** 1:6.0.3-0ubuntu1 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libreoffice-calc 1:6.0.3-0ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 18 11:44:23 2018
InstallationDate: Installed on 2017-02-13 (582 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C
SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: Upgraded to bionic on 2018-05-31 (109 days ago)
Changed in df-libreoffice: | |
importance: | Unknown → High |
status: | Unknown → Confirmed |
summary: |
- Wrong alignment while typing RTL text in Calc cell + [upstream] Wrong alignment while typing RTL text in Calc cell |
All the Arabic text with Right To Left layout appears in Left To Right layout during input process then back to the right layout after finishing editing process.
PS
I'm not sure if bug appears on Windows machines