Issue 95560 - cannot select single language for document
Summary: cannot select single language for document
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 3.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2008-10-28 17:50 UTC by macias
Modified: 2013-12-07 20:13 UTC (History)
3 users (show)

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


Attachments
sample document for your own tests (14.84 KB, application/vnd.oasis.opendocument.text)
2008-10-28 19:52 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description macias 2008-10-28 17:50:05 UTC
I set the language for the whole text
Tools -> Language -> For all text -> English

but my choice is ignored. I can take a look at this menu again and English 
does not have check mark.
Comment 1 Rainer Bielefeld 2008-10-28 19:50:32 UTC
I checked with "Ooo 3.0.0 RC3 Multilingual version English  UI WIN XP: [OOO300m8
(Build9357)]" and can NOT confirm the reported problem.

I tried with attached "mytest.odt" that contains text paragraphs in various
languages.

Steps to reproduce:
1. open "mytest.odt" and activate automatic spell check
2.Check languages in paragraphs clicking into paragraph and menu "Format -> 
  Character" (see pane with pulldown 'Language'
  Language should always be shown in accordance to announcement in text
3. close menu dialogues, if still open.
4. doubliclick into word "français".
5. Tools -> Language -> For all Text -> Italian'
   expected: all text now in Italian language
   actual: as expected, auto spell check will show many new underlined words,
           and text due to step 3 shows  "Italian" for all text.

User Error? (I do not know whether there really a check mark should show the
past operation)
Linux specific?

@macias:
Please contribute your test results following my step by step instruction!
Comment 2 Rainer Bielefeld 2008-10-28 19:52:24 UTC
Created attachment 57531 [details]
sample document for your own tests
Comment 3 macias 2008-10-28 20:12:45 UTC
1. Done.

2. Spanish text is marked as italian. Except this -- test passed.

3. Done.

4. Done (but what for?)

5. Done.

> expected: all text now in Italian language

How can you tell? By checking Format -> Character? Ok, but this is quite 
different menu.

Look at _the same_ menu again -- Tools -> Language -> For all text. No check 
mark there. And it should be. It is really absurd UI if you switch some menu 
item, and result are not shown at this menu item, but in quite another one.

If I would like to ensure what is the global language set for the document, I 
won't check character after character in whole document.
Comment 4 Rainer Bielefeld 2008-10-28 20:40:50 UTC
No results that show that anything works wrong. So INVALID

@macias
You filed an issue concerning a function that does not work, but the funciton
DOES work. It would be helpful if you first answer to questions precisely before
you file own ideas how things should work.

If you want a check mark (as it is shown for "selection", please file an other
Enhancement request for this. But please not a simple "need check mark", but
detailed considerations (what's with OLE objects? Mark shown always if all
document is in same language? Disappear if 1 character is in other language? ...
Comment 5 michael.ruess 2008-10-28 21:09:14 UTC
MRU->SBA: the language will be correctly applied via the menue, but in
Tools.Language it is not represented  the sub menu of "Paragraph" and "Whole
text" as it is done in the "Selection" sub menu. Desired?
Comment 6 macias 2008-10-28 21:12:01 UTC
@Mru, yes! :-)


Tools -> Language -> For selection

There _is_ check mark. And each time you change it, check mark changes. 
In "For all text" your selection is ignored -- there is _no_ check mark. So in 
this sense it does not work -- check mark does not appear.

> If you want a check mark (as it is shown for "selection", please file an
> other Enhancement request for this. 

Exactly. I will reopen this one to save the report space -- no need to have 
bunch of identical reports. As ehnacement as you suggested (but honestly I 
think it is defect).

> But please not a simple "need check mark", but
> detailed considerations (what's with OLE objects? Mark shown always if all
> document is in same language? Disappear if 1 character is in other
> language? ...

It is pretty straightforward really. The checkmark is shown according to user 
choice. This value (language) applies to any element in the document _unless_ 
user changes some elements directly. And if she/he did -- the language "for 
all document" does not change -- it is value which is "default" for document.

Example:
type hello świat
set "for all text" -> english -> check mark is shown 
select "świat" and choose "polish" for selected text
still, "for all text" is english, because it is the main/default language for 
the document as a whole

If you start typing "inside" "hello"
"heAAAAllo" AAA will be english
but if you start typing inside "świat"
"świBBBBBat" BBB will be polish, because local settings have precedence over 
global
Comment 7 macias 2008-10-28 21:14:50 UTC
The same wish applies to "for paragraph" but of course for paragraph scope.

Precence: selection (local) -> paragraph (between local and global) -> "all 
text", i.e. document (global)
Comment 8 Edwin Sharp 2013-12-07 20:13:41 UTC
Check mark is missing at Tools - Language - For all Text - English (USA).

AOO410m1(Build:9750)  -  Rev. 1548193
2013-12-07_04:10:48 - Rev. 1548790
Debian