[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2019-06-07 Thread Bug Watch Updater
** Changed in: df-libreoffice
   Status: Incomplete => Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1794299

Title:
  libreoffice in Bionic freezes when running libreoffice-librelogo
  script

Status in LibreOffice:
  Unknown
Status in libreoffice package in Ubuntu:
  New

Bug description:
  i) azed@azed-H270N:~$ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:  18.04

  ii) azed@azed-H270N:~$ apt-cache policy libreoffice
  libreoffice:
Installed: (none)
Candidate: 1:6.0.6-0ubuntu0.18.04.1
Version table:
   1:6.0.6-0ubuntu0.18.04.1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
   1:6.0.3-0ubuntu1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
  azed@azed-H270N:~$ 

  iii) - iv)

  Try the script attached. Works in 16.04 and OS "Tumbleweed", but in
  Bionic, LO freezes-up. I have to force a quit to get it back. Other
  logo scripts behave the same. Shame. Being able to run LOGO in LO is
  really cool.

  I got an error message when I first tried to report this bug. Take 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libreoffice-core 1:6.0.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Tue Sep 25 13:56:43 2018
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2018-04-28 (149 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1794299/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2018-11-07 Thread Bug Watch Updater
Launchpad has imported 6 comments from the remote bug at
https://bugs.documentfoundation.org/show_bug.cgi?id=120521.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2018-10-11T14:42:20+00:00 Stephen Hamer wrote:

Description:
Working in Ubuntu Bionic with the std LibreOffice pkg.

"lsb_release -rd" returns:

Description: Ubuntu 18.04.1 LTS
Release: 18.04

"apt-cache policy libreoffice" gives:

libreoffice:
  Installed: (none)
  Candidate: 1:6.0.6-0ubuntu0.18.04.1
  Version table:
 1:6.0.6-0ubuntu0.18.04.1 500
500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
 1:6.0.3-0ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

The problem:

1. Go -> View -> Toolbars -> Check "Logo"

Open new doc and Insert page break. On the (new) 2nd page paste this
logo script:

;KOCH C

;Draws a sequence of Koch “C” curves. The size of the curve is determined by 
n≤256; its position in the sequence by p≥0.
;The embedded, tabbed routine, kc, below is a “daemon”, which actually draws 
the curve. The daemon draws the p=0 curve directly, and the (p+1)th curve by 
replacing the line segments of the p=1 curve with scaled-down pth curves ( p≥0).
;The main kcurve-routine, “wrapped around” the daemon, merely positions the 
drawing-point so that the curve appears in the centre of the page. It also 
colours the sub-curves of the curve to show how the Koch “C” curve is 
constructed.
;Run the script in LibreOffice by accessing the LOGO-toolbar and hitting the 
green triangle button
;lines preceded by a “;” are ignored by logo

CLEARSCREEN
HOME
HIDETURTLE

To kcurve :n :p

GLOBAL c
c=SQRT 2

 TO kc :n :p
 IF :p=0 [ FD :n ] [
 LT 45
 kc :n/c :p-1
 RT 90
 kc :n/c :p-1
 LT 45 ]
 END

PU BK :n/2 LT 90 BK (3*:n)/8 RT 90 PS 4 PD
IF :p=0 [ PC [5] FD :n PC [0] ] [
LT 45
PC [5] kc :n/c :p-1 PC [0]
RT 90
PC [8] kc :n/c :p-1 PC [0]
LEFT 45 ]
PU RT 90 BK (3*:n)/8 LT 90 BK :n/2 PD PS 1

END

;”Groups” the components of the curve drawn by the command ‘kcurve (256, 10)’ “
PICTURE [ kcurve (256, 10) ]

;Exports an .svg-image of the curve (on a white background) to the folder 
containing the script
;PICTURE “LibreLogoKochCurve.svg” [ PU POS [0, 0] PD POS [PAGESIZE[0], 0] POS 
[PAGESIZE[0], (SQRT 2)*PAGESIZE[0]] POS [0, (SQRT 2)*PAGESIZE[0]] POS [0,0] PU 
HOME PD FILLCOLOR [3] FILL kcurve (256, 10) ]
;this .svg-image can be opened in LibreOffice and then “exported” as .png or 
.jpg

[script ends]

Run the script by hitting the (Logo) green triangle in the main toolbar.

Not untypically, the script will run once, and draw the Koch curve, but
if the 1st page "screen" is cleared (hit the "blank-page"-icon in the
Logo-toolbar) and the script is run again, LO freezes. Nothing works. I
have to force a "quit" to get it back.

The above script runs fine with the std LO pkgs in Ubuntu 16.04.5 and OS
"Tumbleweed"

Steps to Reproduce:
1. See my description
2.
3.

Actual Results:
See my description

Expected Results:
See my description


Reproducible: Always


User Profile Reset: No


Additional Info:

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/comments/6


On 2018-10-11T15:18:13+00:00 julien2412 wrote:

reporter: could you give a try to a more recent LO version by using LO ppa?
Indeed, last one is 6.1.2.

László: thought you might be interested in this one since it concerns
LibreLogo.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/comments/8


On 2018-10-11T18:12:48+00:00 László Németh wrote:

I cannot reproduce the problem on Ubuntu 16.04 LTS with the TDF
LibreOffice build 6.0.6.2.

Could you check the OpenGL usage, showed in Help->About LibreOffice,
please?

For example, in my machine, without OpenGL, the dialog window print "UI
Render: default"?

If your LibreOffice uses OpenGL (UI Render: GL), could you try to switch
off in Tools->Options->View->Use OpenGL for all rendering, and check the
LibreLogo program again?

Thanks for your help!

Julien: thanks  for forwarding the problem!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/comments/9


On 2018-10-13T13:49:44+00:00 Stephen Hamer wrote:

Re: use of OpenGL, I have "UI Render: default"

The fault is in the Ubuntu 18.04 LO package (or Ubuntu 18.04?). The std
LO package in Ubuntu 16.04 runs fine

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/comments/10


On 2018-10-13T16:25:27+00

[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2018-10-11 Thread Olivier Tilloy
** Changed in: libreoffice (Ubuntu)
   Status: Incomplete => New

** Also affects: df-libreoffice via
   https://bugs.documentfoundation.org/show_bug.cgi?id=120521
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1794299

Title:
  libreoffice in Bionic freezes when running libreoffice-librelogo
  script

Status in LibreOffice:
  Unknown
Status in libreoffice package in Ubuntu:
  New

Bug description:
  i) azed@azed-H270N:~$ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:  18.04

  ii) azed@azed-H270N:~$ apt-cache policy libreoffice
  libreoffice:
Installed: (none)
Candidate: 1:6.0.6-0ubuntu0.18.04.1
Version table:
   1:6.0.6-0ubuntu0.18.04.1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
   1:6.0.3-0ubuntu1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
  azed@azed-H270N:~$ 

  iii) - iv)

  Try the script attached. Works in 16.04 and OS "Tumbleweed", but in
  Bionic, LO freezes-up. I have to force a quit to get it back. Other
  logo scripts behave the same. Shame. Being able to run LOGO in LO is
  really cool.

  I got an error message when I first tried to report this bug. Take 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libreoffice-core 1:6.0.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Tue Sep 25 13:56:43 2018
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2018-04-28 (149 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1794299/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2018-10-11 Thread Stephen Hamer
Find my bugzilla bug-report here:

https://bugs.documentfoundation.org/show_bug.cgi?id=120521

I couldn't discover if OpenGL was enabled or not - the LO bug-report
wiki was interested in this

** Bug watch added: Document Foundation Bugzilla #120521
   https://bugs.documentfoundation.org/show_bug.cgi?id=120521

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1794299

Title:
  libreoffice in Bionic freezes when running libreoffice-librelogo
  script

Status in libreoffice package in Ubuntu:
  Incomplete

Bug description:
  i) azed@azed-H270N:~$ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:  18.04

  ii) azed@azed-H270N:~$ apt-cache policy libreoffice
  libreoffice:
Installed: (none)
Candidate: 1:6.0.6-0ubuntu0.18.04.1
Version table:
   1:6.0.6-0ubuntu0.18.04.1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
   1:6.0.3-0ubuntu1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
  azed@azed-H270N:~$ 

  iii) - iv)

  Try the script attached. Works in 16.04 and OS "Tumbleweed", but in
  Bionic, LO freezes-up. I have to force a quit to get it back. Other
  logo scripts behave the same. Shame. Being able to run LOGO in LO is
  really cool.

  I got an error message when I first tried to report this bug. Take 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libreoffice-core 1:6.0.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Tue Sep 25 13:56:43 2018
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2018-04-28 (149 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2018-10-10 Thread Olivier Tilloy
Would you mind filing an upstream bug report at
https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice&format=guided,
and share the link to it here? Thanks!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1794299

Title:
  libreoffice in Bionic freezes when running libreoffice-librelogo
  script

Status in libreoffice package in Ubuntu:
  Incomplete

Bug description:
  i) azed@azed-H270N:~$ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:  18.04

  ii) azed@azed-H270N:~$ apt-cache policy libreoffice
  libreoffice:
Installed: (none)
Candidate: 1:6.0.6-0ubuntu0.18.04.1
Version table:
   1:6.0.6-0ubuntu0.18.04.1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
   1:6.0.3-0ubuntu1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
  azed@azed-H270N:~$ 

  iii) - iv)

  Try the script attached. Works in 16.04 and OS "Tumbleweed", but in
  Bionic, LO freezes-up. I have to force a quit to get it back. Other
  logo scripts behave the same. Shame. Being able to run LOGO in LO is
  really cool.

  I got an error message when I first tried to report this bug. Take 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libreoffice-core 1:6.0.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Tue Sep 25 13:56:43 2018
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2018-04-28 (149 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2018-10-04 Thread Stephen Hamer
Thanks for responding, Oliver

Typically, the script will run once, but, when run again, it hangs mid-
draw.

I'd send you a screenshot, but once LO has hung, shutter won't take a
screenshot.

I usually insert a page-break on p. 1 (which thereafter acts as a
"screen"), with the script on p. 2

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1794299

Title:
  libreoffice in Bionic freezes when running libreoffice-librelogo
  script

Status in libreoffice package in Ubuntu:
  Incomplete

Bug description:
  i) azed@azed-H270N:~$ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:  18.04

  ii) azed@azed-H270N:~$ apt-cache policy libreoffice
  libreoffice:
Installed: (none)
Candidate: 1:6.0.6-0ubuntu0.18.04.1
Version table:
   1:6.0.6-0ubuntu0.18.04.1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
   1:6.0.3-0ubuntu1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
  azed@azed-H270N:~$ 

  iii) - iv)

  Try the script attached. Works in 16.04 and OS "Tumbleweed", but in
  Bionic, LO freezes-up. I have to force a quit to get it back. Other
  logo scripts behave the same. Shame. Being able to run LOGO in LO is
  really cool.

  I got an error message when I first tried to report this bug. Take 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libreoffice-core 1:6.0.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Tue Sep 25 13:56:43 2018
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2018-04-28 (149 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2018-10-04 Thread Olivier Tilloy
Just tested in an up-to-date virtual machine running bionic (18.04) and
libreoffice 6.0.6.2, and the script runs fine. See attached screenshot.

When does the script hang?

** Attachment added: "VirtualBox_bionic amd64_04_10_2018_09_22_22.png"
   
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/+attachment/5196940/+files/VirtualBox_bionic%20amd64_04_10_2018_09_22_22.png

** Changed in: libreoffice (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1794299

Title:
  libreoffice in Bionic freezes when running libreoffice-librelogo
  script

Status in libreoffice package in Ubuntu:
  Incomplete

Bug description:
  i) azed@azed-H270N:~$ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:  18.04

  ii) azed@azed-H270N:~$ apt-cache policy libreoffice
  libreoffice:
Installed: (none)
Candidate: 1:6.0.6-0ubuntu0.18.04.1
Version table:
   1:6.0.6-0ubuntu0.18.04.1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
   1:6.0.3-0ubuntu1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
  azed@azed-H270N:~$ 

  iii) - iv)

  Try the script attached. Works in 16.04 and OS "Tumbleweed", but in
  Bionic, LO freezes-up. I have to force a quit to get it back. Other
  logo scripts behave the same. Shame. Being able to run LOGO in LO is
  really cool.

  I got an error message when I first tried to report this bug. Take 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libreoffice-core 1:6.0.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Tue Sep 25 13:56:43 2018
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2018-04-28 (149 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1794299] Re: libreoffice in Bionic freezes when running libreoffice-librelogo script

2018-09-25 Thread Stephen Hamer
This was the script mentioned in my report:

;KOCH C

;Draws a sequence of Koch “C” curves. The size of the curve is determined by 
n≤256; its position in the sequence by p≥0.
;The embedded, tabbed routine, kc, below is a “daemon”, which actually draws 
the curve. The daemon draws the p=0 curve directly, and the (p+1)th curve by 
replacing the line segments of the p=1 curve with scaled-down pth curves ( p≥0).
;The main kcurve-routine, “wrapped around” the daemon, merely positions the 
drawing-point so that the curve appears in the centre of the page. It also 
colours the sub-curves of the curve to show how the  Koch “C” curve is 
constructed.
;Run the script in LibreOffice by accessing the LOGO-toolbar and hitting the 
green triangle button
;lines preceded by a “;” are ignored by logo

CLEARSCREEN
HOME
HIDETURTLE

To  kcurve :n :p

GLOBAL c
c=SQRT 2

TO kc :n :p
IF :p=0  [ FD :n ] [ 
LT 45 
kc :n/c :p-1  
RT 90 
kc :n/c :p-1 
LT 45 ] 
END

PU BK :n/2 LT 90 BK (3*:n)/8 RT 90 PS 4 PD
IF :p=0 [ PC [5] FD :n PC [0] ] [ 
LT 45 
PC [5] kc :n/c :p-1 PC [0] 
RT 90 
PC [8] kc :n/c :p-1 PC [0] 
LEFT 45 ]
PU RT 90 BK (3*:n)/8 LT 90 BK :n/2 PD PS 1

END

;”Groups” the components of the curve drawn by the command ‘kcurve (256, 10)’ “
PICTURE [ kcurve (256, 10) ]

;Exports an .svg-image of the curve (on a white background) to the folder 
containing the script
;PICTURE “LibreLogoKochCurve.svg” [ PU POS [0, 0] PD POS [PAGESIZE[0], 0] POS 
[PAGESIZE[0], (SQRT 2)*PAGESIZE[0]] POS [0, (SQRT 2)*PAGESIZE[0]] POS [0,0] PU 
HOME PD FILLCOLOR [3] FILL kcurve (256, 10) ]
;this .svg-image can be opened in LibreOffice and then “exported” as .png or 
.jpg

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1794299

Title:
  libreoffice in Bionic freezes when running libreoffice-librelogo
  script

Status in libreoffice package in Ubuntu:
  New

Bug description:
  i) azed@azed-H270N:~$ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:  18.04

  ii) azed@azed-H270N:~$ apt-cache policy libreoffice
  libreoffice:
Installed: (none)
Candidate: 1:6.0.6-0ubuntu0.18.04.1
Version table:
   1:6.0.6-0ubuntu0.18.04.1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
   1:6.0.3-0ubuntu1 500
  500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
  azed@azed-H270N:~$ 

  iii) - iv)

  Try the script attached. Works in 16.04 and OS "Tumbleweed", but in
  Bionic, LO freezes-up. I have to force a quit to get it back. Other
  logo scripts behave the same. Shame. Being able to run LOGO in LO is
  really cool.

  I got an error message when I first tried to report this bug. Take 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libreoffice-core 1:6.0.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Tue Sep 25 13:56:43 2018
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  InstallationDate: Installed on 2018-04-28 (149 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1794299/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp