Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
If your Insert > Picture > From File, function don't work properly on Linux. When I add picture file it shows in SMath but when I save-close-reopen it disappears. Region is there but picture is gone. In a text editor, base64 data is mostly missing too. Most of image data is neglected and not written.
I have checked this with another user and another machine of mine.
Image Region don't have this issue.
Regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Are you saying that your Smath/Linux does not insert image [*.PNG] from the menu "Insert Picture" from file ... while this action is all correct Smath/Win 7 Which vice versa is not compatible: Smath => Linux or Linux <= Smath ? In any instance, it's much better to paste an image from the clipboard, this way the Smath document is stand alone ... can be shared/doctored.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
Originally Posted by: Jean Giraud Are you saying that your Smath/Linux does not insert image [*.PNG] from the menu "Insert Picture" from file ... while this action is all correct Smath/Win 7 Which vice versa is not compatible: Smath => Linux or Linux <= Smath ? In any instance, it's much better to paste an image from the clipboard, this way the Smath document is stand alone ... can be shared/doctored. Yes, insert picture on windows works correct on Linux does not. Clipboard paste also doesn't work on Linux. Only image region function properly.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord Yes, insert picture on windows works correct on Linux does not. Clipboard paste also doesn't work on Linux. That's what Eric mentioned before ... i.e: the clipboard operation is Windows, then not compatible Linux ... Linux problem, not yet isolated/related Smath. My conclusion ... Jean
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/10/2018(UTC) Posts: 33 Was thanked: 4 time(s) in 4 post(s)
|
Originally Posted by: Jean Giraud That's what Eric mentioned before ... i.e: the clipboard operation is Windows, then not compatible Linux ... Linux problem, not yet isolated/related Smath. My conclusion ... Jean
The clipboard problem is inherent to Linux rather than an SMath problem. I predict that the bug overlord is reporting (broken "Insert Image From File" in Linux) is fixable though. It would be better to have a native SMath way to do this than having to rely on an external tool like Xclip or the one I posted.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 22/10/2009(UTC) Posts: 53 Location: Gedongkuning, Jogjakarta Was thanked: 1 time(s) in 1 post(s)
|
Yes, in Ubuntu 20.04, it behaves the same thing. Lost the image when I open, blank picture region. Regards, Waluyo Originally Posted by: overlord If your Insert > Picture > From File, function don't work properly on Linux. When I add picture file it shows in SMath but when I save-close-reopen it disappears. Region is there but picture is gone. In a text editor, base64 data is mostly missing too. Most of image data is neglected and not written.
I have checked this with another user and another machine of mine.
Image Region don't have this issue.
Regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Eric Myers The clipboard problem is inherent to Linux rather than an SMath problem.
I predict that the bug overlord is reporting (broken "Insert Image From File" in Linux) is fixable though. It would be better to have a native SMath way to do this than having to rely on an external tool like Xclip or the one I posted. Long time ago, I mentioned Smath didn't support copy to clipboard Was it SS 5346 or SS 6179 ? Apparently it was fixed. Whatever, it has to be clear that the problem is SmathLinux from Linux not supporting clipboard paste. Venturi.sm (6kb) downloaded 7 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/10/2018(UTC) Posts: 33 Was thanked: 4 time(s) in 4 post(s)
|
Originally Posted by: Jean Giraud Long time ago, I mentioned Smath didn't support copy to clipboard Was it SS 5346 or SS 6179 ? Apparently it was fixed. Whatever, it has to be clear that the problem is SmathLinux from Linux not supporting clipboard paste.
Thanks Jean, but that is not correct. This report is that inserting an image from a file on disk doesn't work in Linux. The clipboard issue is a different topic. Best regards, Eric
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
Originally Posted by: Jean Giraud Long time ago, I mentioned Smath didn't support copy to clipboard Was it SS 5346 or SS 6179 ? Apparently it was fixed. Whatever, it has to be clear that the problem is SmathLinux from Linux not supporting clipboard paste. Venturi.sm (6kb) downloaded 7 time(s). Dear Jean, We are not on build 6179 anymore. It was 2016 when it had released. We are on 7579, on Linux 7596 for tryout builds. A lot of things are fixed on Windows builds since then. And some of them are fixed on Linux too. But however on Linux there are some bugs which we are affected by now, which are not present on Windows builds. To make it more clear; 1 - Clipboard paste is a bug on Linux not related specific to SMath. You can't simply paste if clipboard is an image on Linux. You have to tell OS during paste that clipboard is an image file. 2 - Picture insert is another bug on Linux but related to SMath. When you insert picture, image data is half written to file in SMath file. This is SMath's bug on Linux. They are not related, they are different. Regards.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Let it go step by step, this first step Can you in your latest SS copy few math regions and paste in IrfanView. SS 6179 can't ... Mathcad 8, 11 can for unlimited number of regions ... pages. If you haven't experimented Venturi as described, sorry but end of it.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/10/2018(UTC) Posts: 33 Was thanked: 4 time(s) in 4 post(s)
|
Jean, No offense meant, but insisting on turning this bug report toward a discussion about pasting from the clipboard is a hijack of a good thread. What overlord has reported was something that frustrated me as well, much more so than the other, separate issue of copying and pasting images from the clipboard. There's a different thread going about the clipboard issue. If you would like to move your questions to that thread I'd be happy to try to help your investigation, but for my own part I'd like to see this thread stay on the topic at hand, as I believe there's more hope of this one being easily solvable.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
Originally Posted by: Jean Giraud Let it go step by step, this first step Can you in your latest SS copy few math regions and paste in IrfanView. SS 6179 can't ... Mathcad 8, 11 can for unlimited number of regions ... pages. If you haven't experimented Venturi as described, sorry but end of it. Jean, our subject is not copy from SMath paste into Irfanview, MS Paint, etc. That is not the issue of this subject, this is about Linux > Insert > Picture > From File bug. Here let me demonstrate it with a video for you to explain it more detailed. Linux Picture Insert Bug VideoSomehow SMath is not getting full picture data, this is not Linux bug. This is a SMath bug on Linux. Regards PS: For your question (not subject of the bug), under windows, answer is YES. You can copy the venturi image or whole canvas and paste it to Irfanview, MSPaint, Photoshop, Paint.Net, Word, etc. Wherever you want. Just update your SMath to latest version for full features and please please I beg you, stop torturing us with your way outdated SMath build. Edited by user 23 October 2020 05:02:27(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
New test version prepared: http://smath.com/file/UMobd- Loading splash screen layout fixed:
- Work with images fixed (save/open files with images, image regions copy/paste, background images)
- Dark OS theme supported now (not all toolbox icons are vectorized yet - this is test version);
Best regards. Edited by user 23 October 2020 13:01:33(UTC)
| Reason: Not specified
|
3 users thanked Andrey Ivashov for this useful post.
|
on 23/10/2020(UTC), on 23/10/2020(UTC), on 23/10/2020(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/10/2018(UTC) Posts: 33 Was thanked: 4 time(s) in 4 post(s)
|
Hi, it's working for me. Thanks!
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
All is good here, dragging picture from file managers works too. Thank you Andrey for quick response.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord Just update your SMath to latest version for full features Not long ago, SS 7959 integration had to be doctored. Please try that one for the benefit of the Community.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
Originally Posted by: Jean Giraud Not long ago, SS 7959 integration had to be doctored. Please try that one for the benefit of the Community.
Your response is not related with now fixed picture insert bug on linux. However, result is same in build 7579 as 6179. Even if the results are same and wrong I would use 7579. New one has more features. And other bugs are fixed as well. By the way, the calculation you have sent is a Gauss Error Function. erf() Apparently SMath don't have it yet but you can implement it easily. Maybe Andrey will add erf() someday, who knows. I have calculated this on windows. Maple don't work on linux, yet. Regards Edited by user 23 October 2020 18:48:18(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord By the way, the calculation you have sent is a Gauss Error Function. erf() Apparently SMath don't have it yet but you can implement it easily. Maybe Andrey will add erf() someday, who knows. Thanks for checking latest SS Erf(x) is built-in since at least SS 5346 erf(1) from f(x) menu erf(x) is a monkey business approximation [Mathematica] But works well in Smath, presumably all versions. Cheers ... Jean Maths erf(x).sm (33kb) downloaded 7 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
erf() is not built-in to SMath, I have checked. It is a function of Statistical Tools plugin. That plugin was not installed on my setup. I have installed the Statistical Tools plugin to get erf(). It works but still gives "erf() function is not defined" error with maple. Numeric optimization is causing this when I try to get a numeric result. However it is calculating the expression and giving the result assigned to a variable, even with numeric optimization. No issues with symbolic optimization I guess. Odd behavior.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
|
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 24/10/2020(UTC), on 24/10/2020(UTC)
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.