Bug 134337 - Piled Up Arabic Text with Shortcut (kf5)
Summary: Piled Up Arabic Text with Shortcut (kf5)
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KDE, KF5 RTL-UI
  Show dependency treegraph
 
Reported: 2020-06-27 11:14 UTC by Rizal Muttaqin
Modified: 2020-07-14 07:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Text and shortcut overlaped (53.26 KB, image/png)
2020-06-27 11:14 UTC, Rizal Muttaqin
Details
With GTK3 backend (100.35 KB, image/png)
2020-07-13 23:31 UTC, Rizal Muttaqin
Details
Screenshot with master on current Debian testing (138.03 KB, image/png)
2020-07-14 05:31 UTC, Michael Weghorn
Details
SAL_RTL_ENABLED=1 libreofficedev7.1 (102.92 KB, image/png)
2020-07-14 05:49 UTC, Rizal Muttaqin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rizal Muttaqin 2020-06-27 11:14:10 UTC
Created attachment 162449 [details]
Text and shortcut overlaped

Let the image and bug title describe theirself

Version: 7.1.0.0.alpha0+
Build ID: 3ba009e0c2b7800305103f8ec86df58625fed955
خيوط المعالج: 4; نظام التَّشغيل: Linux 4.20; مصيّر الواجهة: المبدئيّ; VCL: kf5
Locale: id-ID (id_ID.UTF-8); UI: ar-SA
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-06-25_05:32:26
Calc: threaded
Comment 1 Rizal Muttaqin 2020-06-27 11:20:07 UTC
Not repro with gen and gtk3 from same 7.1 version
Comment 2 Michael Weghorn 2020-07-13 14:29:26 UTC
(In reply to Rizal Muttaqin from comment #0)
> Let the image and bug title describe theirself

Can you please add a step-by-step description on how to reproduce, it's not apparent for me how to open this menu (which one it is...).

Also, can you add a screenshot of how it looks when you start with environment variable SAL_USE_VCLPLUGIN=gtk3 set?
Comment 3 Rizal Muttaqin 2020-07-13 23:26:58 UTC
(In reply to Michael Weghorn from comment #2)
> (In reply to Rizal Muttaqin from comment #0)
> > Let the image and bug title describe theirself
> 
> Can you please add a step-by-step description on how to reproduce, it's not
> apparent for me how to open this menu (which one it is...).
> 


Just change the UI into Arabic (Tools > Options... > Language Settings > User Interface : Arabic (Saudi Arabia). Then open up a menu bar. I assume this affects also other RTL UI (Hebrew, Urdu, Persian).
Comment 4 Rizal Muttaqin 2020-07-13 23:31:58 UTC
Created attachment 162991 [details]
With GTK3 backend

(In reply to Michael Weghorn from comment #2)

> Also, can you add a screenshot of how it looks when you start with
> environment variable SAL_USE_VCLPLUGIN=gtk3 set?

Here the screenshot
Comment 5 QA Administrators 2020-07-14 04:04:27 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2020-07-14 05:09:08 UTC
Not seeing this in the Writer Tools menu, if I launch with SAL_RTL_ENABLED=1

Rizal: do you see this if you launch with SAL_RTL_ENABLED=1 libreoffice also with an English UI? Or is it specific to Arabic?

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: 57fedb272cfcad3436142dbe9eac2870e3c3e3d2
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 9 July 2020
Comment 7 Michael Weghorn 2020-07-14 05:31:47 UTC
Created attachment 162995 [details]
Screenshot with master on current Debian testing

Looks fine here on current Debian testing, s. attached screenshot.

The menu is a native Qt menu, so I assume that this is probably a problem in either Qt or KF5 and you have a different version.

What are your kf5 and Qt versions? (I have KF5 libs at version 5.70.0 and Qt 5.14.2)

Version: 7.1.0.0.alpha0+
Build ID: 4a4fc98e5908db1e027c8438fbbcabefe6b0de8a
خيوط المعالج: 4; نظام التَّشغيل: Linux 5.7; مصيّر الواجهة: المبدئيّ; VCL: kf5
Locale: en-GB (en_GB.UTF-8); UI: ar-SA
Calc: threaded
Comment 8 Rizal Muttaqin 2020-07-14 05:49:36 UTC
Created attachment 162996 [details]
SAL_RTL_ENABLED=1 libreofficedev7.1

(In reply to Buovjaga from comment #6)
> Not seeing this in the Writer Tools menu, if I launch with SAL_RTL_ENABLED=1
> 
> Rizal: do you see this if you launch with SAL_RTL_ENABLED=1 libreoffice also
> with an English UI? Or is it specific to Arabic?
Comment 9 Rizal Muttaqin 2020-07-14 05:50:13 UTC
(In reply to Rizal Muttaqin from comment #8)
> Created attachment 162996 [details]
> SAL_RTL_ENABLED=1 libreofficedev7.1
> 
> (In reply to Buovjaga from comment #6)
> > Not seeing this in the Writer Tools menu, if I launch with SAL_RTL_ENABLED=1
> > 
> > Rizal: do you see this if you launch with SAL_RTL_ENABLED=1 libreoffice also
> > with an English UI? Or is it specific to Arabic?

Version: 7.1.0.0.alpha0+
Build ID: c5b985bc9bd8d56fb012260cb1685a617261e7fc
Thread CPU: 4; OS: Linux 4.20; Render UI: baku; VCL: kf5
Locale: id-ID (id_ID.UTF-8); UI: id-ID
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-07-10_04:57:31
Calc: threaded
Comment 10 Rizal Muttaqin 2020-07-14 05:55:01 UTC
(In reply to Michael Weghorn from comment #7)
either Qt or KF5 and you have a different version.
> 
> What are your kf5 and Qt versions? (I have KF5 libs at version 5.70.0 and Qt
> 5.14.2)

$ kf5-config -v
Qt: 5.14.2
KDE Frameworks: 5.71.0
kf5-config: 1.0
Comment 11 Rizal Muttaqin 2020-07-14 05:57:21 UTC
cat /etc/os-release 
NAME="KDE neon"
VERSION="5.19"
ID=neon
ID_LIKE="ubuntu debian"
PRETTY_NAME="KDE neon User Edition 5.19"
VARIANT="User Edition"
VERSION_ID="18.04"
HOME_URL="http://neon.kde.org/"
SUPPORT_URL="http://neon.kde.org/"
BUG_REPORT_URL="http://bugs.kde.org/"
LOGO=start-here-kde-neon
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Comment 12 Michael Weghorn 2020-07-14 05:58:37 UTC
Does it work in other Qt/KDE applications, like Kate or Okular?
Comment 13 Rizal Muttaqin 2020-07-14 06:08:02 UTC
(In reply to Michael Weghorn from comment #12)
> Does it work in other Qt/KDE applications, like Kate or Okular?

Let me install Arabic UI first in my KDE Neon.
Comment 14 Rizal Muttaqin 2020-07-14 06:31:32 UTC
(In reply to Michael Weghorn from comment #12)
> Does it work in other Qt/KDE applications, like Kate or Okular?

I have switched over to another OS user (I know I can use Safe Mode actually but I want to switch to completely full Arabic environment in OS level), likely the issue appeared ONLY if I use Oxygen theme. 

But I can not figure out how this issue appears only in LibreOffice, not in Kate with same Oxygen theme.

So, we can set this NOTOUTBUG or keep it OPEN?

With Oxygen theme, affected also in:

إصدارة: 6.4.3.2
معرّف البناء: 1:6.4.3-0ubuntu0.18.04.1
خيوط المعالج: 4; نظام التَّشغيل: Linux 4.20; مصيّر الواجهة: المبدئيّ; VCL: kf5; 
المحليّة: id-ID (id_ID.UTF-8); لغة الواجهة الرسومية: ar-SA
Calc: threaded
Comment 15 Michael Weghorn 2020-07-14 06:51:52 UTC
(In reply to Rizal Muttaqin from comment #14)
> likely the issue appeared ONLY if I use Oxygen theme. 
> 
> But I can not figure out how this issue appears only in LibreOffice, not in
> Kate with same Oxygen theme.

That sounds indeed surprising, but from all information present, I think this is a bug outside LO (probably Oxygen theme or Qt; if I remember correctly, the Oxygen theme is doing quite some "interesting" stuff at various places).

> 
> So, we can set this NOTOUTBUG or keep it OPEN?

I'll close as NOTOURBUG for now, please shout or reopen if you disagree. ;-)
Comment 16 Rizal Muttaqin 2020-07-14 07:56:53 UTC
(In reply to Michael Weghorn from comment #15)

> That sounds indeed surprising, but from all information present, I think
> this is a bug outside LO (probably Oxygen theme or Qt; if I remember
> correctly, the Oxygen theme is doing quite some "interesting" stuff at
> various places).
> 
> > 
> > So, we can set this NOTOUTBUG or keep it OPEN?
> 
> I'll close as NOTOURBUG for now, please shout or reopen if you disagree. ;-)

As KDE Plasma 5 use Breeze, Oxygen theme can be considered irrelevant now. Better to focus on other thing. I am grateful this is not a regression. Or if it is, not too important to be fixed. Thank you for your follow up.