Bug 133550 - LibO opens SVG images in impress by default. Should probably open them in draw
Summary: LibO opens SVG images in impress by default. Should probably open them in draw
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
6.4.4.2 release
Hardware: All Linux (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-31 10:21 UTC by Callegar
Modified: 2020-09-26 00:09 UTC (History)
2 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 Callegar 2020-05-31 10:21:48 UTC
Description:
If you start LibO as 

libreoffice someimage.svg

without asking for a specific LibO component like draw or impress, then LibO decides that the best component for the svg image is impress. I think that it should be draw.

Steps to Reproduce:
See description

Actual Results:
See description

Expected Results:
See description


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Mike 2020-05-31 12:27:27 UTC
I'm not a linux expert, but I cannot reproduce this.

I did it that way
1. Start Ubuntu
2. Open terminal in folder that contains the svg file
3. command: libreoffice Test.svg

Result:

javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common
is installed.
If it is already installed then try removing ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml
Warning: failed to read path from javaldx

Then Draw starts and show the Test.SVG


Version: 6.4.2.2
Build-ID: 1:6.4.2-0ubuntu3
CPU-Threads: 4; BS: Linux 5.4; UI-Render: Standard; VCL: gtk3; 
Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
Calc: threaded
Comment 2 Mike 2020-05-31 12:36:06 UTC
The reason for the "Warning: failed to read path from javaldx" seems to be that Ubuntu 20.04 LTS does not install Jave with the default settings, but in LO Settings the option "Use a Java runtime enviroment" is still enabled.
Disabled it and the terminal only just says "javaldx: Could not find a Java Runtime Environment!"
Comment 3 Mike 2020-05-31 12:40:42 UTC
I meant with confusing "Ubuntu 20.04 LTS does not install Jave with the default settings" that Ubuntu with its default settings does not install JRE at all.
Comment 4 Xisco Faulí 2020-07-02 09:40:26 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 5 Callegar 2020-09-26 00:09:24 UTC
Cannot reproduce anymore. Maybe due to some issue on my system/profile. Sorry for the noise, closing for now.