Bug 33329 - Clicking on a Texmacs file with a é, à... character in ils path does not work
Summary: Clicking on a Texmacs file with a é, à... character in ils path does not work
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard: MGA9TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 10:58 CEST by leo lenoir
Modified: 2024-06-25 19:20 CEST (History)
1 user (show)

See Also:
Source RPM: texmacs
CVE:
Status comment:


Attachments

Description leo lenoir 2024-06-25 10:58:14 CEST
Description of problem:

Hi
GNU TeXmacs is a free program for composing scientific documents, including support for mathematical formulas...

It seems to me that TeXmacs 2.1, the current version of Mageia 9, has a bug. When I click on the file, it fails to load a file whose name or path includes an "é", "à"... 
It then displays "Unable to load file. New document has been created."

It does work, however, when I use the menu File, Load.
And this, on my two PCs, and to nic80 in the french forum.

I tested with the Appimage TeXmacs-2.1.4.x86_64.AppImage and got the same behavior.
So it's not a Mageia problem. But maybe my configuration is to blame.

This is with Plasma and icewm-light.

This problem is not present on Windows 10.

Version-Release number of selected component (if applicable):
TeXmacs 2.1
Mageia 9 

How reproducible:
Clicking on any TeXmacs file with a é, à, û... in its path or name.

Steps to Reproduce:
1.Open TeXmacs
2.Write something in.
3.Save the file as abcdéf.tm for example
4.Click on the file to open it
5.Message error, new file created.
Comment 1 Marja Van Waes 2024-06-25 17:22:42 CEST
I tried to reproduce this in Cauldron KDE Plasma, but am not sure I took the same steps as you.

First I did:

1.Open TeXmacs
2.Write something in.
3.Save the file as /home/marja/Documenten/Tex/abcdéf.tm
4 close TeXmacs
5 Open TeXmacs
6 Click on the icon to load a file
7 Click on abcdéf.tm
8 It does correctly open the just created file.

However, then I closed TeXmacs again, and used Dolphin to go to 
/home/marja/Documenten/Tex/

After right clicking on abcdéf.tm and selecting GNU TeXmacs to open it, TeXmacs starts, but, like with you, it claims that /home/marja/Documenten/Tex/abcdéf.tm cannot be loaded and a new file is created.

So, both cauldron and Mga 9 have a problem here, but I'm not sure it is exactly the same problem.

There is no registered maintainer, so assigning to all packagers collectively.

Did you click on the file using a file manager, (if so, which one?), or did you click on it inside TeXmacs when you hit this issue?

Version: 9 => Cauldron
CC: (none) => marja11
Whiteboard: (none) => MGA9TOO
Assignee: bugsquad => pkg-bugs
Source RPM: (none) => texmacs

Comment 2 leo lenoir 2024-06-25 19:20:14 CEST
I have two ways to get this bug.
  1) Right clicking on the file in the file manager (Dolphin). TexMacs starts... Error message, new file ;
  2) Loading from the TeXmacs "Load icon" (near the "New file icon") and selecting the file in recent files. No error message, but I get a white page. 

But I've no issue with the File menu, Load, selecting the file in the window TeXmacs just opened to do it.

Note You need to log in before you can comment on or make changes to this bug.