Bug 72072

Summary: text not rendered fully (cut off) when editing 90deg rotated rectangle
Product: LibreOffice Reporter: ralf.krapf
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: highest CC: barta, jmadero.dev, mst.fdo, qubit
Version: 4.1.2.3 releaseKeywords: bisected, regression
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=67358
https://bugs.freedesktop.org/show_bug.cgi?id=73668
Whiteboard: Confirmed:4.2.0.0.beta2:Ubuntu bibisected
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 75025    
Attachments: Picture of the bug in Writer and Draw
Picture of the bug in Writer and Draw
Bug-confirmed-on-Ubuntu-13-04.png

Description ralf.krapf 2013-11-27 14:36:15 UTC
Created attachment 89900 [details]
Picture of the bug in Writer and Draw

Hi

Steps to reproduce:
1)
- Draw a rectangle and fill some Text in it (The error is in Writer and Draw)
2)
- Turn the rectangle by 90 deg
3)
- Edit the Text -> the Text disapear partwise (see Picture)
4)
- Resize the brogramm window a bit -> the Text will appear as expected

System:
-Windows 7
-Libreoffice 4.2.0.0 beta
and 
-LibreOffice 4.1.3

Thanks
Ralf
Comment 1 ralf.krapf 2013-11-27 14:37:11 UTC
Created attachment 89901 [details]
Picture of the bug in Writer and Draw
Comment 2 Gerry 2013-11-27 23:54:42 UTC
Created attachment 89926 [details]
Bug-confirmed-on-Ubuntu-13-04.png

Tested this bug on Ubuntu 13.04 with LO 4.2Beta1. I can confirm this bug. Please see attached screenshot.
Comment 3 Robinson Tryon (qubit) 2013-12-06 23:04:33 UTC
CONFIRMED on LO 4.2.0.0.beta2 + Ubuntu 12.04.3

(In reply to comment #0)
> Steps to reproduce:

0) Open LibreOffice writer

> 1)
> - Draw a rectangle and fill some Text in it (The error is in Writer and Draw)

(Hint: double-click on the rectangle to add text)

> 2)
> - Turn the rectangle by 90 deg

a) Right-click -> Position and Size -> Rotation
b) Change 'Rotation angle' to 90deg.
c) Click "OK"


> 3)
> - Edit the Text -> the Text disapear partwise (see Picture)

a) Double-click on rectangle
b) Add text that is wider than the dimensions of the text box
c) Hit 'Return' to save

While editing the text I'd often get a white bg behind the text area. I could always repro the problem if I
- did all of the steps above
- Then double-clicked on the text again

Basically: The text needs to be wider than the width of the rectangle at the time when you double-click on it.

> 4)
> - Resize the brogramm window a bit -> the Text will appear as expected
> 

Ayup


Question: is this a regression?
Comment 4 ralf.krapf 2013-12-07 07:23:57 UTC
I think it is a regression.
It worked without problems here on LO 4.0.6.2 / Win7.
Comment 5 Michael Stahl 2014-01-15 13:45:38 UTC
Writer bug:

a40afb3f534ea1c655ac728e55a7e4b96b033869..2f4eeea1730e2931249471eddc203b13a6ac4ed4

regression from:

commit a2c67975c03010b90c706523293f180c1f29e229
Author:     Michael Stahl <mstahl@redhat.com>
AuthorDate: Wed Aug 28 14:28:40 2013 +0200

    fdo#67358: sw: "fix" line painting artifacts when resizing columns
    
    SwEditWin::MouseButtonDown(): for unknown reasons invalidating the
    window here causes the column resizing lines to not be removed after the
    resize is done, so disable it.

... oh noes.

the Draw bug actually has a different cause, the above commit only affects Writer.
Comment 6 Michael Stahl 2014-01-15 16:22:46 UTC
have filed bug 73668 about the Draw problem - which may or may not have the same root cause.

regression in 4.1.2 release.
Comment 7 Björn Michaelsen 2014-01-17 09:40:31 UTC
(This is an automated message.)

Setting priority to highest as this is a 4.2 MAB. This is part of an effort to make the importance of MAB reflected in priority too.
Comment 8 tommy27 2014-10-05 19:16:22 UTC
I'm not reproducing this bug with 4.3.2.2
can anyone retest to see if it's really fixed?
Comment 9 Björn Michaelsen 2014-10-16 14:59:16 UTC
(This is an automated message.)

It seems that the commit that caused this regression was identified. (Or at least a commit is suspected as the offending one.)

Thus setting keyword "bisected".
Comment 10 tommy27 2014-12-08 09:45:06 UTC
gotcha!!! the bug depends on the size of the LibO window while you edit.

I'm not able to reproduce it when LibO is in full window state, however if I modify the window size while editing I see the partial disappearance of the text.

so still present in 4.3.4.1 and 4.5.0.0 alpha
mopving to mab4.3 list since 4.2.x is END OF LIFE

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.