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)
Version: 4.2.1.1 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-07 23:22 UTC by Sandro Mani
Modified: 2014-03-28 21:58 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


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

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]
screen1.png
Comment 2 Sandro Mani 2014-03-07 23:22:35 UTC
Created attachment 95321 [details]
screen2.png
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.


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.