Issue 98525 - Notes disappear in RTL UI (Arabic localized Office)
Summary: Notes disappear in RTL UI (Arabic localized Office)
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOo 3.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-01-27 13:59 UTC by omlx
Modified: 2013-08-07 14:43 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test_notes_rtl (9.71 KB, application/vnd.oasis.opendocument.text)
2009-01-27 16:58 UTC, omlx
no flags Details
english interface right (121.83 KB, image/png)
2009-01-27 16:59 UTC, omlx
no flags Details
arabic interface wrong (122.04 KB, image/png)
2009-01-27 16:59 UTC, omlx
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description omlx 2009-01-27 13:59:58 UTC
In DEV300_m39 enter some text and insert a note to this page. Now switch the
open office to RTL interface (Arabic - Hebrew) => the note has disappeared.
Comment 1 eric.savary 2009-01-27 16:33:34 UTC
Please add a detailed step by step description of what you do, get and expect.
- Do you write something in the note?
- do you save the document?
- What do you mean "switch the interface"? Do you really use the SAL_RTL_ENABLED
variable to switch the GUI or do you simply change the writing direction in the
document?
Comment 2 omlx 2009-01-27 16:57:04 UTC
I am sorry if I was not clear. ok I will attach test file contain a note. if you
open it in English interface no problem. But if you open it in Arabic version
you will not see the note.

see the screenshots 
Comment 3 omlx 2009-01-27 16:58:03 UTC
Created attachment 59709 [details]
test_notes_rtl
Comment 4 omlx 2009-01-27 16:59:15 UTC
Created attachment 59710 [details]
english interface right
Comment 5 omlx 2009-01-27 16:59:55 UTC
Created attachment 59711 [details]
arabic interface wrong
Comment 6 Joost Andrae 2009-02-10 10:24:38 UTC
ja->sba: please take a look at this
Comment 7 stefan.baltzer 2009-02-10 16:42:23 UTC
 - With the given bugdoc, I could reproduce this.
=> Confirming issue, removed keyword "needmoreinfo".
 - Occurs on Linux (not Mac, not Win) and only in office with "native" RTL UI
(i.e. Arabic).
 - By using a "mirrored" Office with English UI (set environment variable
SAL_RTL_ENABLED=1 before starting office from same terminal) this does not occur.
 - Inserting another note or changing the text direction from RTL to LTR and
back again makes the notes visible again, (but they vanish after saving and
reloading the file).

Set target "OOo 3.x" until effort and risk are estimated, can not decide this
being a 3.1 showstopper just yet. However, in concert with the effort to solve
RTL/Arabic issues for 3.1, a fast clean easy fix could still make it.

SBA->MOD: Please proceed, thx.
Comment 8 max.odendahl 2009-02-10 16:47:34 UTC
mod->sba: how do I get a "native" RTL UI? Install certain language packs or
switch operating system language?
Comment 9 stefan.baltzer 2009-02-11 13:06:52 UTC
SBA->MOD: I used "EN+AR" installation from inhouse. But it should be the same
with an EN Office + Arabic language pack.
You can find arabic language packs here: 
http://download.openoffice.org/300/
Comment 10 philipp.lohmann 2009-02-11 15:03:34 UTC
myth 1: "only reproducable on Linux" - busted, can be seen on mac as well
myth 2: "only with ar language pack, not with SAL_RTL_ENABLED" - busted, works
just the same

Whether the notes window is visible or not seems to depend on the document
window size somehow; if the whole document fits into the window, the note is
visible. Scrolling horizontally shows strange paint issues however.
Comment 11 philipp.lohmann 2009-02-11 17:00:46 UTC
adjusting version as this happens already in 3.0
Comment 12 philipp.lohmann 2009-02-12 17:41:43 UTC
I think I found the reason for the first appearance and scrolling problems in
vcl's Window::Scroll (actually the first appearance issue happens when the
document gets scrolled to make the note visible; the note window is not
correctly scrolled then in RTL UI case).
That leaves two more problems:
- the strange menu popup issue from the dropdown button and context menu inside
the note, which seems to be mac only. However that is also likely to be located
inside vcl. I'll fix that.
- the shadow thingie (the note shadow jumps to the left side if you press enter
often enough to enlarge the note). No idea about that yet, would seem to be
drawing layer related ?

@sba,es: Is this not a 3.1 showstopper ? Considering our RTL focus for that
version ?
Comment 13 max.odendahl 2009-02-12 17:56:17 UTC
mod->pl: I created issue 99166 in regards to the shadow issue
Comment 14 philipp.lohmann 2009-02-13 10:01:20 UTC
Then I'll take this one and declare it a showstopper.
Comment 15 philipp.lohmann 2009-02-13 10:05:01 UTC
add blocker
Comment 16 stefan.baltzer 2009-02-13 10:43:41 UTC
SBA->PL: (1) When NOT seeing the problem in several cases (on Mac or with EN UI
with SAL_RTL variable set), maybe I ran into the window size dependencies you
described. Thanks for sorting this out, your findings show that the symptom
takes place even more often.
(2) Quoting myself: "...in concert with the effort to solve RTL/Arabic issues
for 3.1, a fast clean easy fix could still make it..." 
-> This seems to be the case. Thus I support a fix for 3.1, too.
Comment 17 philipp.lohmann 2009-02-13 15:28:58 UTC
fixed in CWS ooo31gsl2 (the shadow issue is now handled in issue 99166)
Comment 18 philipp.lohmann 2009-02-18 17:09:02 UTC
please verify in CWS ooo31gsl2
Comment 19 stefan.baltzer 2009-02-20 11:05:43 UTC
Verified in CWS ooo31gsl2.
Comment 20 nataliamhitekschool 2009-04-01 07:10:52 UTC
Verified in OOO310m7 master version on Windows Vista - Fixed. Can be closed.
Comment 21 nataliamhitekschool 2009-04-01 08:06:36 UTC
Verified in OOO310m7 master version on Windows Vista - Fixed. Can be closed.
Comment 22 max.odendahl 2009-04-01 11:22:47 UTC
closing