Bug 131087 - Crash on changing text attributes in text box (or other draw objects)
Summary: Crash on changing text attributes in text box (or other draw objects)
Status: RESOLVED DUPLICATE of bug 130286
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks:
 
Reported: 2020-03-03 10:31 UTC by Brian
Modified: 2020-03-05 20:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian 2020-03-03 10:31:23 UTC
Description:
LibreOffice crashes when I try to change the alignment of text in a text box or other drawing object that can have text attached to it. I can change other attributes of the text like font/bold/color. It seems specific to Writer as there is no crash with Impress, Draw, or Calc modules. It is further specific on the changing of the alignment attribute. I can create a text box (or other draw object) with center aligned text in Impress, successfully change the alignment, and copy/paste it into Writer. I can change other properties but if I try to set it back to the default 'Left Align' it crashes.

I also noticed that applying sub- or super-script crashes Writer (and not the others). As does the 'Increase/Decrees Font Size' buttons. However, I can change the font with the drop down selector and 'Set Character Spacing' works. Changing line spacing also causes a crash. It crashes with or without text in the box selected vs. having the type bar at the end of the word or without having typed in anything at all (just the box being open for editing).

Also, the other alignment option are deactivated in the 'Format->Align' menu and selecting even the checked one, default left for something created in Writer or one of the other options for an object create in another module triggers a crash.

Steps to Reproduce:
1. New Writer file
2. Add a text box (or other draw object) to the page
3. Type/select some text in the object (optional)
4. Click the toolbar or side bar button to 'Align Left', 'Center', Align Right', or 'Justify' Also crashes with 'Increase/Decrees Font Size' and "Superscript/Subscript'

Actual Results:
Instant crash on the click of the toolbar/sidebar button. Document recovery is successful.

Expected Results:
Correctly applying the text attribute.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.0.3
Build ID: libreoffice-6.4.0.3-snap1
CPU threads: 12; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 ian 2020-03-03 10:53:14 UTC
Thank you for reporting the bug.

If you can, could you please provide a backtrace involving the bug? 

Don't feel obligated if you cannot do it. If you wish to obtain one, please follow the steps outlined on this page:
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information
Comment 2 Xisco Faulí 2020-03-03 11:07:31 UTC
Thanks for reporting this issue.
This is a duplicate of bug 130286.
Please update to LibreOffice 6.4.1.2

*** This bug has been marked as a duplicate of bug 130286 ***
Comment 3 Brian 2020-03-05 10:52:58 UTC
Confirmed fix in LibreOffice_6.4.2.1_Linux_x86-64_deb from the per-release branch. All the toolbar buttons work, although the Format->Align->[Left, Center, Right, Justified] menu options are still disabled. Clicking on them has no effect. (The currently applied alignment setting is selected).

As a precaution I reopened the bug since I'm not sure if it's related and I wasn't sure if this additional comment would be surfaced to those who would know since it was closed.
Comment 4 Xisco Faulí 2020-03-05 10:58:00 UTC
(In reply to Brian from comment #3)
> Confirmed fix in LibreOffice_6.4.2.1_Linux_x86-64_deb from the per-release
> branch. All the toolbar buttons work, although the Format->Align->[Left,
> Center, Right, Justified] menu options are still disabled. Clicking on them
> has no effect. (The currently applied alignment setting is selected).
> 
> As a precaution I reopened the bug since I'm not sure if it's related and I
> wasn't sure if this additional comment would be surfaced to those who would
> know since it was closed.

Hi Brian,
Yes I can reproduce that. Let me investigate it. I'll create a follow-up bug instead, since this one is about the crash. Let's keep it duplicate of bug 130286

*** This bug has been marked as a duplicate of bug 130286 ***
Comment 5 Xisco Faulí 2020-03-05 11:20:24 UTC
Reported in bug 131150
Comment 6 Brian 2020-03-05 20:44:06 UTC
(In reply to Xisco Faulí from comment #4)
> (In reply to Brian from comment #3)
> > Confirmed fix in LibreOffice_6.4.2.1_Linux_x86-64_deb from the per-release
> > branch. All the toolbar buttons work, although the Format->Align->[Left,
> > Center, Right, Justified] menu options are still disabled. Clicking on them
> > has no effect. (The currently applied alignment setting is selected).
> > 
> > As a precaution I reopened the bug since I'm not sure if it's related and I
> > wasn't sure if this additional comment would be surfaced to those who would
> > know since it was closed.
> 
> Hi Brian,
> Yes I can reproduce that. Let me investigate it. I'll create a follow-up bug
> instead, since this one is about the crash. Let's keep it duplicate of bug
> 130286
> 
> *** This bug has been marked as a duplicate of bug 130286 ***

Thanks, I've only reported a few bugs here and I don't fully know your system so however you want to handle it is fine with me.