Linux Picture Insert Bug

Linux Picture Insert Bug - Сообщения

#1 Опубликовано: 21.10.2020 09:08:06
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

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
#2 Опубликовано: 21.10.2020 09:54:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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.
#3 Опубликовано: 21.10.2020 10:49:10
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

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.


#4 Опубликовано: 21.10.2020 20:04:13
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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
#5 Опубликовано: 21.10.2020 21:23:50
Anders or Eric

Anders or Eric

4 сообщений из 40 понравились пользователям.

Группа: User

Wrote

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.
#6 Опубликовано: 22.10.2020 00:37:11
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1 сообщений из 55 понравились пользователям.

Группа: User

Yes, in Ubuntu 20.04, it behaves the same thing.
Lost the image when I open, blank picture region.

Regards, Waluyo

Wrote

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



#7 Опубликовано: 22.10.2020 11:40:33
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (5 КиБ) скачан 24 раз(а).

VenturiLinux.PNG


#8 Опубликовано: 22.10.2020 12:00:24
Anders or Eric

Anders or Eric

4 сообщений из 40 понравились пользователям.

Группа: User

Wrote


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
#9 Опубликовано: 22.10.2020 12:25:03
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

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 (5 КиБ) скачан 24 раз(а).

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.
#10 Опубликовано: 22.10.2020 20:31:30
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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.
#11 Опубликовано: 22.10.2020 22:09:50
Anders or Eric

Anders or Eric

4 сообщений из 40 понравились пользователям.

Группа: User

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.
#12 Опубликовано: 22.10.2020 22:38:38
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

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.
#13 Опубликовано: 23.10.2020 06:49:17
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

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.
3 пользователям понравился этот пост
sergio 23.10.2020 06:52:00, Вячеслав Мезенцев 23.10.2020 09:48:00, overlord 23.10.2020 11:34:00
#14 Опубликовано: 23.10.2020 10:35:04
Anders or Eric

Anders or Eric

4 сообщений из 40 понравились пользователям.

Группа: User

Hi, it's working for me. Thanks!
#15 Опубликовано: 23.10.2020 11:34:58
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

All is good here, dragging picture from file managers works too.
Thank you Andrey for quick response.
#16 Опубликовано: 23.10.2020 11:42:27
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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
#17 Опубликовано: 23.10.2020 12:15:49
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

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
#18 Опубликовано: 23.10.2020 21:19:04
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (32 КиБ) скачан 24 раз(а).
#19 Опубликовано: 23.10.2020 23:37:53
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

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
#20 Опубликовано: 24.10.2020 01:22:59
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

2020-10-24_09-22-24.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
sergio 24.10.2020 05:31:00, overlord 24.10.2020 14:49:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений