Bug 295148

Summary: Wrong direction indenting an item in bullet list
Product: [Applications] calligrawords Reporter: Giuseppe Calà <gcala>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Giuseppe Calà 2012-03-01 15:47:40 UTC
Version:           2.4-snapshots (using KDE 4.8.0) 
OS:                Linux

Clicnking "Increase indentation" button (I use italian locale) when cursor is in a bullet list, the item is moved to the left instead to the right as expected; then, clicking on "decrease indentation" bullet and text is moved to the right, to initial position; a screenshot:

http://wstaw.org/m/2012/03/01/words-list.png

Reproducible: Didn't try

Steps to Reproduce:
create a list

with the cursor in an item list, click "increase indentation"

Actual Results:  
item moved to the left, beyond text page margin

Expected Results:  
item moved to the right and begin a nested list
Comment 1 Gopalakrishna Bhat 2012-03-03 15:01:58 UTC
Git commit c8a5bc75acdb91c3ad887fe026e7a3e6e8e0ee79 by Gopalakrishna Bhat A.
Committed on 03/03/2012 at 15:57.
Pushed by gopalakrishnabhat into branch 'master'.

Fix the behaviour of list items when "Increase Indent" is used
REVIEW: 104144

M  +30   -4    libs/kotext/KoTextEditor_format.cpp
M  +4    -5    libs/kotext/KoTextEditor_p.h

http://commits.kde.org/calligra/c8a5bc75acdb91c3ad887fe026e7a3e6e8e0ee79
Comment 2 Gopalakrishna Bhat 2012-03-04 07:21:03 UTC
Git commit 890742d71d059da9b9b5ea2828ea398ea0d0a944 by Gopalakrishna Bhat A.
Committed on 03/03/2012 at 15:57.
Pushed by gopalakrishnabhat into branch 'calligra/2.4'.

Fix the behaviour of list items when "Increase Indent" is used
REVIEW: 104144

M  +30   -4    libs/kotext/KoTextEditor_format.cpp
M  +4    -5    libs/kotext/KoTextEditor_p.h

http://commits.kde.org/calligra/890742d71d059da9b9b5ea2828ea398ea0d0a944