Bug 348976 - Central alignment for a textbox craches kexi
Summary: Central alignment for a textbox craches kexi
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: Forms (show other bugs)
Version: 2.9 beta3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-10 13:46 UTC by Albrecht Will
Modified: 2017-08-05 22:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 3.0.2


Attachments
screenshot (915.60 KB, image/jpeg)
2015-06-10 13:51 UTC, Albrecht Will
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albrecht Will 2015-06-10 13:46:12 UTC
a textbox on a groupbox shall be changed to word-wrap=yes. After increasing the heigth, the horizontal alignment shall changed to center. Then kexi crashes.
.


Reproducible: Always

Steps to Reproduce:
1. change in the properties word wrap to yes
2. increase the heigth of teh box
3. change in the properties the horizontal alignment to center 
4. crash

Actual Results:  
every time crashes

Expected Results:  
The text shoud be centered

Manjaro 0.8.12, Kexi 2.9.4
Comment 1 Albrecht Will 2015-06-10 13:51:15 UTC
Created attachment 93108 [details]
screenshot

I worked with the 2 red marked boxes
Comment 2 Jarosław Staniek 2015-06-10 14:23:02 UTC
Thanks Albrecht!
Setting as possible duplicate of another report.

*** This bug has been marked as a duplicate of bug 342371 ***
Comment 3 Jarosław Staniek 2017-06-01 20:35:48 UTC
Git commit e0bf198257421eef3a8e615f89219d17ee0a642c by Jaroslaw Staniek.
Committed on 01/06/2017 at 20:35.
Pushed by staniek into branch '3.0'.

Fix possible crashes in form undo/redo, make it properly work with alignment properties of widgets

Summary:
Undo/redo alignment fixes
+ limit image set of available alignments in widgets depending on widget class (image box is special)
Related: bug 380175, bug 342371
FIXED-IN:3.0.2

Test Plan: See https://bugs.kde.org/show_bug.cgi?id=380175#c0

Reviewers: piggz

Reviewed By: piggz

Tags: #kexi

Differential Revision: https://phabricator.kde.org/D5969

M  +12   -2    src/formeditor/WidgetInfo.cpp
M  +18   -1    src/formeditor/WidgetInfo.h
M  +54   -49   src/formeditor/form.cpp
M  +1    -1    src/formeditor/form.h
M  +3    -0    src/formeditor/form_p.cpp
M  +14   -4    src/kexiutils/utils.cpp
M  +4    -1    src/kexiutils/utils.h
M  +2    -0    src/plugins/forms/kexidbfactory.cpp

https://commits.kde.org/kexi/e0bf198257421eef3a8e615f89219d17ee0a642c