[Libreoffice-bugs] [Bug 58492] EDITING: TEXT BOX by default do not let modify align options.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 27 01:36:33 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=58492

Phillip <pjones13 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #12 from Phillip <pjones13 at gmail.com> ---
I really think this bug still needs to be addressed. The instructions in the
first post still replicate the bug in version 6.2.2.2.

Steps to reproduce, creates a text box with the bug:
1. Create a new Draw file
2. Click on the "Insert Text Box" button
3. Single-click on the page to create text box
4. Type the word "center"
5. Single-click outside of the text box
6. Using mouse, increase the size of the text box
7. Align-center and Align-right have no apparent effect


Steps to create a text box that does work:
1. Create a new Draw file
2. Click on the "Insert Text Box" button
3. Click-and-drag to create text box
4. Type the word "center"
5. CTRL-E for align-center
6. The text becomes centered within the text box


This bug has been opened and closed several times, so I'm going to include
significant detail here to justify why this is actually a bug. 

In Bug 41084 comment 3, Rainer Bielefeld wrote, "If you increase size of
textbox after you have typed some text using Menu 'Format -> Position and
size', "Full Width" will remain unchecked, you can not use Text Alignment
icons." Unfortunately, this is not correct. 

Both boxes have "Full Width" checked:
1. Create a new Draw file
2. Create a text box that exhibits the bug (use instructions above)
3. Create a text box that works normally (use instructions above)
4. Right-click on the first box, select "Edit style". Note that "Full width" is
checked.
5. Right-click on the second box, select "Edit style". Note that "Full width"
is checked.

After the two boxes have been created, I have yet to find a combination of
settings that will make the text behave in the same way in both boxes. 

In Comment 9 on this page, Regina Henschel describes a way to justify the
current behavior as not a bug. If the user types "This is a very long line" on
the first line, and then types "short" on the second line, then "short" will be
centered underneath the longer line. However, the longer line is *not* centered
in the text box, which is most likely the user intention. 

Steps to replicate:
1. Create a new Draw file
2. Click on the "Insert Text Box" button
3. Single-click on the page to create text box
4. Type "This is a very long long line"
5. Press <enter> to add a line
6. Type "short" on the second line
7. Using mouse, increase the size of the text box
8. Notice that the text in the second line does move when Align-center and
Align-right are selected. However, the longer line remains stationary. 

Left-justified looks like this:
This is a very long long line
short

Right-justified looks like this:
This is a very long long line
                        short

But in both cases, the long line still appears to be left-justified compared to
the entire text box.


Here's another bug I found messing around with this that is probably related.
When changing the "Full width" check box of one text box, it also changes the
status of a different text box. 


1. Click-and-drag to create a text box
2. Type "Number 1"
3. Right-click on the text box and select "Edit Style"
4. Un-check the "Full width" check box.
5. Notice that the text now appears to be centered within the text box
6. Click-and-drag to create another text box 
7. Type "Number 2"
8. Right-click on the second text box and select "Edit Style"
9. Check the "Full width" check box
10. Select "OK"
11. Notice that the text in box1 and box2 now appear left justified

Perhaps this is the intended behavior and "Full width" is meant to be a global
setting rather than a per-text-box setting. If that's the case, then there's
still a bug because a text box created with click-and-type is not affected by
the global setting!

1. Create a text box using click-and-drag and call it "Number 1". 
2. Uncheck "Full width"
3. Select Right-aligned on the first text box
4. Create another text box using click-and-drag and call it "Number 2".
5. Create a third text bux using single-click, then type, call it "Number 3"
6. Now make the text box of Number 3 larger.
7. Check "Full width"
8. Note that Number 1 moves to the right edge of it's text box, Number 2 moves
to the left edge, and nothing happens to number 3.
9. Uncheck "Full width"
10. Note that Number 1 becomes centered in the text box, Number 2 becomes
centered in the text box, and nothing happens to number 3. 

Basically, there are two different behaviors for text boxes depending on how
they are created. That must be a bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190327/8d5b3830/attachment.html>


More information about the Libreoffice-bugs mailing list