<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Working on papercut bugs is somewhat crucial.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">If the user experience with each module of Libre Office demands that the user has to use work-arounds to get work done in LO then he will just use other officesuites where he won't face those same issues.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Getting someone to fix those issues would be crucial.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">An example in Calc like the one Renon posted in Impress is this one:<br><br><a href="https://bugs.documentfoundation.org/show_bug.cgi?id=53300">https://bugs.documentfoundation.org/show_bug.cgi?id=53300</a><br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">A bug that exists since Open Office days... With LO and the TDF constantly bragging about having cleaned up so many bugs in LO it's unforgivable that UX bugs like this one are still lingering from Open Office days.<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 3, 2018 at 7:58 PM, Michel RENON <span dir="ltr"><<a href="mailto:renon@mr-consultant.net" target="_blank">renon@mr-consultant.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Le 31/01/2018 à 21:48, Heiko Tietze a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[...]<span class=""><br>
GSoC<br>
<br>
  * Full list of ideas <a href="https://pad.documentfoundation.org/p/UX-GSoC_Ideas" rel="noreferrer" target="_blank">https://pad.documentfoundation<wbr>.org/p/UX-GSoC_Ideas</a><br>
  * Public list <a href="https://wiki.documentfoundation.org/Development/GSoC/Ideas#User_Interface" rel="noreferrer" target="_blank">https://wiki.documentfoundatio<wbr>n.org/Development/GSoC/Ideas#<wbr>User_Interface</a><br>
</span></blockquote>
<br>
Here are some suggestions based on my recent experience in teaching LibreOffice and writing a python macro :<br>
<br>
<br>
<br>
Impress : work on "papercut" bugs<br>
------------------------------<wbr>----<br>
<br>
<br>
1 - Animations sets for a text box with several paragraphs don't affect new paragraphs (not inherited)<br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=57581" rel="noreferrer" target="_blank">https://bugs.documentfoundatio<wbr>n.org/show_bug.cgi?id=57581</a><br>
<br>
This is the most annoying problem that new users face :<br>
  - they create a slide with few lines of text,<br>
  - they add an animation on the text, to make it appear line by line<br>
  - they test : it works correctly<br>
  - they add one line of text (inside or at the end)<br>
  - they test and boom... the animation is "broken"<br>
  - they make a pause, then... close impress and open powerpoint...<br>
<br>
<br>
<br>
2 - Editing: Text spacing changes when click in textbox<br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=89060" rel="noreferrer" target="_blank">https://bugs.documentfoundatio<wbr>n.org/show_bug.cgi?id=89060</a><br>
<br>
It is a subtle but very annoying visual effect.<br>
<br>
<br>
<br>
<br>
<br>
<br>
Python macros<br>
----------------<br>
<br>
<br>
I had to create a macro embedded in a file.<br>
As I had not written basic for a long time, I tried to write it in python.<br>
<br>
The fist problem is that on Ubuntu, it is necessary to install a specific package 'libreoffice-script-provider-p<wbr>ython'<br>
<br>
<br>
The second problem is that, by default, there is no tool to integrate a python macro in a document.<br>
I found the APSO extension [1] that allows that and is very useful.<br>
<br>
I found some difficult points in writing python macro with that extension :<br>
  - after modifying a python script, you have to close and re-open the odf file<br>
  - some inline documentation is missing : about API, and some sample code<br>
  - the context (available via XSCRIPTCONTEXT) is missing some API, compared to basic<br>
<br>
<br>
<br>
<br>
<br>
So here are my suggestions for GSoC :<br>
  - allow an easy activation of python support : a simple button would download and install all necessary packages<br>
  - integrate the functionality of APSO (to allow embedding/managing python script in odf file)<br>
  - remove the need to re-open the odf file before using a new version of python script<br>
<br>
<br>
<br>
Other points can be done directly in the current extension :<br>
  - add some inline documentation about API [2]<br>
  - add inline documentation on both ways to use python script :<br>
    - an external script that connects to LibreOffice<br>
    - an internal script that get called by menu/button<br>
  - allow to create scripts empty or with comments (that provide minimum documentation and good practice)<br>
  - add a library of sample code (a list of "how-to ?"), that can be easily copied in script files<br>
<br>
<br>
Adding API to the context (available via XSCRIPTCONTEXT) can be done by working on LibreOffice code :<br>
/usr/lib/libreoffice/program/p<wbr>ythonscript/py<br>
<br>
<br>
<br>
<br>
<br>
<br>
Cheers,<br>
<br>
Michel<br>
<br>
<br>
<br>
<br>
<br>
<br>
[1] <a href="https://extensions.libreoffice.org/extensions/apso-alternative-script-organizer-for-python" rel="noreferrer" target="_blank">https://extensions.libreoffice<wbr>.org/extensions/apso-<wbr>alternative-script-organizer-<wbr>for-python</a><br>
<br>
[2] based on very useful page <a href="https://wiki.openoffice.org/wiki/Python/Transfer_from_Basic_to_Python" rel="noreferrer" target="_blank">https://wiki.openoffice.org/wi<wbr>ki/Python/Transfer_from_Basic_<wbr>to_Python</a><div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
To unsubscribe e-mail to: <a href="mailto:design%2Bunsubscribe@global.libreoffice.org" target="_blank">design+unsubscribe@global.libr<wbr>eoffice.org</a><br>
Problems? <a href="https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/" rel="noreferrer" target="_blank">https://www.libreoffice.org/ge<wbr>t-help/mailing-lists/how-to-un<wbr>subscribe/</a><br>
Posting guidelines + more: <a href="https://wiki.documentfoundation.org/Netiquette" rel="noreferrer" target="_blank">https://wiki.documentfoundatio<wbr>n.org/Netiquette</a><br>
List archive: <a href="https://listarchives.libreoffice.org/global/design/" rel="noreferrer" target="_blank">https://listarchives.libreoffi<wbr>ce.org/global/design/</a><br>
All messages sent to this list will be publicly archived and cannot be deleted<br>
</div></div></blockquote></div><br></div>