Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages12>
Options
Go to last post Go to first unread
Offline overlord  
#1 Posted : 21 October 2020 15:08:06(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 21 October 2020 15:54:36(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 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.
Offline overlord  
#3 Posted : 21 October 2020 16:49:10(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.


Offline Jean Giraud  
#4 Posted : 22 October 2020 02:04:13(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: overlord Go to Quoted Post
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
Offline Eric Myers  
#5 Posted : 22 October 2020 03:23:50(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.
Offline waluyo  
#6 Posted : 22 October 2020 06:37:11(UTC)
waluyo


Rank: Advanced Member

Groups: Registered
Joined: 22/10/2009(UTC)
Posts: 53
Man
Indonesia
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 Go to Quoted Post
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


Offline Jean Giraud  
#7 Posted : 22 October 2020 17:40:33(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Eric Myers Go to Quoted Post
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).

VenturiLinux.PNG


Offline Eric Myers  
#8 Posted : 22 October 2020 18:00:24(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post

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
Offline overlord  
#9 Posted : 22 October 2020 18:25:03(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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).

VenturiLinux.PNG

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.
Offline Jean Giraud  
#10 Posted : 23 October 2020 02:31:30(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 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.
Offline Eric Myers  
#11 Posted : 23 October 2020 04:09:50(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

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.
Offline overlord  
#12 Posted : 23 October 2020 04:38:38(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 Video

Somehow 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

Offline Andrey Ivashov  
#13 Posted : 23 October 2020 12:49:17(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
New test version prepared: http://smath.com/file/UMobd

  • Loading splash screen layout fixed:
    ss_mono_imp_1.jpg

  • Work with images fixed (save/open files with images, image regions copy/paste, background images)
    ss_mono_imp_2.jpg

  • Dark OS theme supported now (not all toolbox icons are vectorized yet - this is test version);
    ss_mono_imp_3.jpg


Best regards.

Edited by user 23 October 2020 13:01:33(UTC)  | Reason: Not specified

thanks 3 users thanked Andrey Ivashov for this useful post.
on 23/10/2020(UTC),  on 23/10/2020(UTC),  on 23/10/2020(UTC)
Offline Eric Myers  
#14 Posted : 23 October 2020 16:35:04(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Hi, it's working for me. Thanks!
Offline overlord  
#15 Posted : 23 October 2020 17:34:58(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
All is good here, dragging picture from file managers works too.
Thank you Andrey for quick response.
Offline Jean Giraud  
#16 Posted : 23 October 2020 17:42:27(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: overlord Go to Quoted Post
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.

Integrate.PNG
Offline overlord  
#17 Posted : 23 October 2020 18:15:49(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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

gauss error function.png

Edited by user 23 October 2020 18:48:18(UTC)  | Reason: Not specified

Offline Jean Giraud  
#18 Posted : 24 October 2020 03:19:04(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: overlord Go to Quoted Post
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).
Offline overlord  
#19 Posted : 24 October 2020 05:37:53(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 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.

erf.png
Offline uni  
#20 Posted : 24 October 2020 07:22:59(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
2020-10-24_09-22-24.png
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 24/10/2020(UTC),  on 24/10/2020(UTC)
Users browsing this topic
2 Pages12>
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.