Bug 485789 - Labplot cannot detect latex typesetting engine
Summary: Labplot cannot detect latex typesetting engine
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: 2.10.1
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 12:04 UTC by maurosassi82
Modified: 2024-04-30 23:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
labplot preferences screenshot (67.42 KB, image/png)
2024-04-19 12:04 UTC, maurosassi82
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maurosassi82 2024-04-19 12:04:33 UTC
Created attachment 168673 [details]
labplot preferences screenshot

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

I just installed the latest Labplot version from Flathub on my system (Ubuntu 22.04) where I do have a working Texlive latex installation. It seems LabPlot cannot detect the latex engine (I get the attached screenshot upon going to preferences). It seems the issue was already reported by some user on stackexchange (https://tex.stackexchange.com/questions/703201/latex-subsystems-for-labplot-kde/715888#715888). I also tried with the identical version with similar result. TexLive version is the one provided with the universe repo (Version: 2021.20220204-1)

STEPS TO REPRODUCE
1.  Install TexLive on Ubuntu 22.04 via apt. Install labplot via flathub
2.  Open labplot.
3. 

OBSERVED RESULT

Labplot cannot typeset latex and say "No latex installation found"

EXPECTED RESULT

Latex installation is detected and user can select typesetting engine

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 22.04.1 (Gnome version)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Stefan Gerlach 2024-04-27 08:06:28 UTC
Using native apps (like latex) in a Flatpak is not allowed by the sandboxed design of Flatpaks. There are ways around this (see https://discourse.flathub.org/t/using-native-texlive-with-flatpak-apps/2363) but we haven't tried yet what works for using TexLive in a LabPlot Flatpak. Please let us know if you have any experience.
Comment 2 Stefan Gerlach 2024-04-30 23:36:20 UTC
Should be fixed now in master (upcoming version 2.11). See https://invent.kde.org/education/labplot/-/merge_requests/517