Bug 75899 - Different indentations cannot be uniformized
Summary: Different indentations cannot be uniformized
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
: 92556 (view as bug list)
Depends on:
Reported: 2014-03-07 23:22 UTC by Sandro Mani
Modified: 2018-01-03 17:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

screen1.png (72.41 KB, image/png)
2014-03-07 23:22 UTC, Sandro Mani
screen2.png (93.74 KB, image/png)
2014-03-07 23:22 UTC, Sandro Mani

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Mani 2014-03-07 23:22:07 UTC
If you have text with different indentation (see attached screen1.png), and highlight the text to uniformize the indentation, the adjustment arrows in the ruler disappear, and hence it is not possible to adjust the indentation (see attached screen2.png).

It would be nice if the adjustment arrows could be displayed shaded if the indentation of the selected text is different, so that the user sees that he is dealing with different indentations, but has the chance to uniformize them.
Comment 1 Sandro Mani 2014-03-07 23:22:22 UTC
Created attachment 95320 [details]
Comment 2 Sandro Mani 2014-03-07 23:22:35 UTC
Created attachment 95321 [details]
Comment 3 A (Andy) 2014-03-28 19:23:23 UTC
This seems to be interesting, but what would you do if there would be several indentations that would only differ marginally?  In this case you could probably not differentiate them.  Would you have a proposal for this case?
Comment 4 Sandro Mani 2014-03-28 19:32:10 UTC
Personally I would proceed as follows:
- If the indentations differ, no matter by how much, display the adjustment arrows shaded and allow the user to uniformize the indentations on the selected text. The user will know that the indentations differ by the fact that the arrows are shaded.
- If the indentations are identical, keep the current behaviour (i.e. opaque arrows, adjustment as it currently works).
Comment 5 A (Andy) 2014-03-28 20:03:50 UTC
@Sandro: Thanks for your fast reply.

For me this seems to be interesting, it has to be checked how this can be implemented.
Comment 6 Sandro Mani 2014-03-28 20:16:55 UTC
If you can roughly point out where to look in the codebase, I can have a look at implementing this.
Comment 7 A (Andy) 2014-03-28 20:43:13 UTC
Unfortunately, I'm drawing a blank on that one.

@Sandro: Would you like to make a first contribution to the LO codebase?  If yes, then it would maybe good to contact experienced LO programmers for more advice how to get start (https://wiki.documentfoundation.org/Development, https://wiki.documentfoundation.org/FindTheExpert)

@Michael: What do you think about this issue?
Comment 8 Sandro Mani 2014-03-28 21:58:25 UTC
Thanks. I see that Michael Stahl is the contact for Writer mentioned in the experts list, so I'll wait and see what his opinions are.
Comment 9 Urmas 2015-07-05 12:48:17 UTC
*** Bug 92556 has been marked as a duplicate of this bug. ***