libreoffice in Bionic freezes when running libreoffice-librelogo script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LibreOffice |
Unknown
|
Medium
|
|||
libreoffice (Ubuntu) |
New
|
Undecided
|
Unassigned |
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-
Version table:
1:
500 http://
1:
500 http://
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
ProcVersionSign
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: communitheme:
Date: Tue Sep 25 13:56:43 2018
ExecutablePath: /usr/lib/
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_
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in libreoffice (Ubuntu): | |
status: | Incomplete → New |
Changed in df-libreoffice: | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
Changed in df-libreoffice: | |
status: | Incomplete → Unknown |
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 urve.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) ]
;PICTURE “LibreLogoKochC
;this .svg-image can be opened in LibreOffice and then “exported” as .png or .jpg