Issue 43030 - "Text anchor point" does sometimes not work correctly.
Summary: "Text anchor point" does sometimes not work correctly.
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: 680m79
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2005-02-17 20:17 UTC by Matthias Basler
Modified: 2013-02-07 22:40 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Matthias Basler 2005-02-17 20:17:24 UTC
With newly inserted objects, the "Text anchor point" function in the "Text"
dialog does (a) not not always show the current alignment correctly and (b) does
not always respond correctly.

Try following in Draw:
1. Insert a block arrow from the draw toolbar.
2. Double click and enter "Text" or some other text. It should by default be
aligned top left.
3. Right click and select "Text" to open the "Text" dialog. It will show that
the text is aligned at top center - which is false.
4. Select text to be aligned at bottom center and close dialog. The text will be
repositioned to be bottom left (not center as selected).
5. Reopen the dialog and this time select bottom RIGHT. Now it will do so
correctly. Why not so in the first place?

Cause of this problem might be that the "writer" left/center/right alignment
options seem to interfere with the nine "Draw" text alignment options.

Tested on OOo 1.9.79 with WinXP.
Comment 1 wolframgarten 2005-02-18 08:18:36 UTC
Comment 2 wolframgarten 2005-02-18 08:24:41 UTC
Reassigned to Sven.
@matthiasbasler: the "writer" left/center/right alignment
options are only for the paragraph, not for the complete textblock. Please have
a text with two or more lines and test. Here it works like expected. The
textblock can be anchored left/top but within the textblock the text can be left
aligned, centered, right aligned or justified.
Comment 3 Matthias Basler 2005-02-18 09:36:16 UTC
@wq: Just as a remark: I personally know the difference, but it took some time
to figure that out. I believe that many "new" users might need a hint what the
difference is. My idea is to integrate alignment and anchor point into one
shared tab of a dialog and then have a preview that shows anchoring AND
alignment with a multi-line example. Maybe I should open a seperate issue for
Comment 4 sven.jacobi 2005-02-21 12:00:05 UTC
sj->wg: I don't see the problem. There is no difference between Writer and Draw,
both applications are having the same alignment options for text paragraphs and
text anchor. So can you please be more precise and explain the error you think
that is reproducible, In my opionion everything is working as desired.

With following two issues we will solve some minor problems, but this is only
for information and does not directly relate with this issue:

After fixing issue 42992 newly created documents will be centered by default.

The Writer is having a wrong default text anchor point when importing Word
documents, this will be fixed with issue 42783.
Comment 5 wolframgarten 2005-02-21 12:12:45 UTC
The problem is described under point 3. Insert Block arrow, enter text, right
click, text, text anchor is top center. Now set the anchor to top left, nothing
happens. Setting it to top center again moves the text to center. The same
settings as in the beginning but different text position.
Comment 6 sven.jacobi 2005-02-21 12:24:15 UTC
sj->wg: Take care of the full width option which is changed the second time, so
I don't see a bug further more.
Comment 7 wolframgarten 2005-02-21 12:32:35 UTC
Why are there options changed without me even touching them? If they are
deselected automatically then they should be selected automatically again whe
resetting. This is user confusion ad its best.
Comment 8 Matthias Basler 2005-02-21 12:54:14 UTC
@sj: One point for you: I never noticed the "full width options". So this is not
really a bug, but seems to be one.

@wq: Two points for you: This REALLY IS user confusion.

Let me resume that there are currently tree different options needed to define
where and how a paragraph is aligned/positions and there is currently NO preview
that tells a user which option (text alignment, achor point and "full width" to
use to achieve which effect. Let me further emphasize that as pointed out above,
for short texts (that fit into the draw shape) there is NO visible difference
a)Text anchor point top left and "full width" off and
b)Text anchor point top center and "full width" on

I am certainly not one of the dumb users and I even read the manual quite often,
but imho this complexity goes beyond the horizon of most standard users.
Pless see this as an urgent request for improvement towards an intuitive
solution. Thanks.

Changed from defect to enhancement.
Comment 9 sven.jacobi 2005-02-21 13:08:56 UTC
sj: For OOo 2.0 we were activating the FullWidth setting by default, because not
using FullWidth in a shape might lead to problems if storing to a Microsoft
format (for centered text they are only supporting FullWidth properly). And
being compatible is very important.

The fact that FullWidth is deselected when changing the text anchor is true
since StarOffice 4.0. But in my opinion it is no bug deselecting such a option,
because you are in the same tab page and you see what is happening.
If this issue should be fixed for OOo 2.0 should be discussed with the project
owner. And since this is a general drawing issue, please provide this issue to
the project owner afterwards.
Comment 10 Matthias Basler 2005-02-21 13:21:27 UTC
PS: Since I prefer constructive critics myself, some suggestions:

A) Reduce the number of involved options to two.
My idea is to rebuild the anchor point control to look like the following:

         Left       Center       Right    | Full width
Top       [ ]         [ ]         [ ]     |    [ ]
Center    [ ]         [ ]         [ ]     |    [ ]
Bottom    [ ]         [ ]         [ ]     |    [ ]
Then the current ambiguous "full width" option below could be removed.

B) Combine text alignment and anchor point into one dialog
Currently text alignment is in he toolbar and in the Format->Paragraph dialog,
whereas the anchor point is in the Format->Text dialog.
This would also solve the strange effect that there exist both a
"Format"->"Paragraph" and a "Format"->"Text" dialog in the menu, which both
sound like they would be the very same ... but are not.

C) Install a preview similar to the one for image/object anchoring (or do a live
preview in the document!!!)
Comment 11 wolframgarten 2005-02-22 12:33:40 UTC
Comment 12 bobharvey 2005-02-26 16:29:16 UTC
 matthiasbasler: I like your suggestions, and I think the idea of a preview in
the dialogue is an excellent one.

 sj: I understand wjy you say "not a bug", but the 'principle of least
astonishment' also applies...
Comment 13 thorsten.ziehm 2005-04-11 16:43:06 UTC
Because of limited resources we have to re-target this issue to the next
release. => set to OOo2.0.1
Comment 14 bettina.haberer 2005-08-15 10:38:36 UTC
We should implement a solution at least for OOo 2.0.2.
Comment 15 bettina.haberer 2005-12-02 15:19:18 UTC
Currently there are no resources to change the behaviour in this dialog for OOo
2.0.2, so this issue is flagged for office later.
Comment 16 bobharvey 2010-07-04 22:27:31 UTC