Bug 123540 - Basic "Tutorials" library is missing in Basic IDE
Summary: Basic "Tutorials" library is missing in Basic IDE
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: BASIC-IDE
  Show dependency treegraph
 
Reported: 2019-02-18 10:54 UTC by LibreOfficiant
Modified: 2024-01-30 12:10 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LibreOfficiant 2019-02-18 10:54:13 UTC
<$Installation>/share/Basic directory contains a Tutorials library/subdir that not available from Basic IDE
Comment 1 raal 2019-02-18 16:05:28 UTC
Confirm with Version: 6.3.0.0.alpha0+
Build ID: 465939feb0e9c382e5581b53b72008979ece4807
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11; 
and Version: 4.1.0.0.alpha1+
Build ID: 863d38fbfa4fb4861e476828c46410602100919
Comment 2 Olivier Hallot 2019-06-18 20:51:54 UTC
To enable it in Basic IDE, add the line below

<library:library library:name="Tutorials" xlink:href="$(INST)/share/basic/Tutorials/script.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>

to the file

<$Installation>/share/basic/script.xlc

check if the code runs without errors before patching, and evaluate if the code is relevant for the end user. For some reasons in the past, it has been hidden for the user.
Comment 3 LibreOfficiant 2019-06-19 13:19:16 UTC
adding 
<library:library library:name="Tutorials" xlink:href="$(INST)/share/basic/Tutorials/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="false"/>
in
<$Installation>/share/basic/dialog.xlc

is also required to access library dialogs
Comment 4 QA Administrators 2022-11-07 03:38:30 UTC Comment hidden (obsolete)
Comment 5 Rafael Lima 2023-01-11 17:36:11 UTC
(In reply to Olivier Hallot from comment #2)
> check if the code runs without errors before patching, and evaluate if the
> code is relevant for the end user. For some reasons in the past, it has been
> hidden for the user.

The Tutorials do not run because the following folder does not exist in the code, which is required to start the tutorial.

instdir/share/template/common/tutorials

To test it, run the sub Tutorials.TutorialOpen.TutorialOpenMain and notice that it requires the aforementioned folder.