Missing symbols on Ubuntu 20 mono

Missing symbols on Ubuntu 20 mono - side panel is missing symbols - 消息

#1 已发布: 2020/5/24 04:32:39
SMKa

SMKa

0个赞,共1个帖子。

组: User

Missing_symbols_SMath.png
The missing symbols

I tried to:
See if i have everything enabled in Extensions Manager (yes)
install all sorts of font packages (Libre Office Math shows everything)
reboot
search for missing files
walk backwards on full moon
reboot again
search if anyone else had same problems (could not find any)
etc.

what could cause the problem and how to fix it?

Ubuntu 20.04 LTS
Downloaded the SMathStudioDesktop.0_99_7030.Mono.tar.gz
I have installed mono-complete using these instructions: https://www.mono-project.com/download/stable/#download-lin


Only errors I got were:
Installing mono (in the installation phase "sudo apt update" ) gave this error:
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.mono-project.com/repo/ubuntu stable-focal InRelease' doesn't support architecture 'i386'

"Could not set X locale modifiers" when launching SMath on terminal
fixed it with
rm -Rf ~/.config/.mono (https://github.com/mono/mono/issues/18238)
Both, before and after, the symbols were missing.

SMath_files.png

SMath_plugins.png
The "plugins" folder
#2 已发布: 2020/5/24 11:08:27
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Thank you for reporting the issue. The problem is about drawing images rather than displaying fonts (the missing buttons are all images), therefore I think the problem is about some missing dependancy or the mono version
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2020/5/30 17:58:57
Anders or Eric

Anders or Eric

4个赞,共40个帖子。

组: User

If anyone finds a fix for this, could you please post it here? I have the same issue, it would be nice to see the missing button images. Thanks!
#4 已发布: 2020/6/21 11:30:02
Nicacio

Nicacio

0个赞,共3个帖子。

组: User

I'm facing the same problem on Fedora 32. This is my mono:

mono --version
Mono JIT compiler version 6.6.0.161 (tarball Wed Feb 5 07:34:41 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)

smathprint.png
#5 已发布: 2020/6/23 14:55:51
otto daniel

otto daniel

0个赞,共4个帖子。

组: User

I an using linux mint 19.3 and are facing the very same isuue
i found out that older versions do show the symbols, 0_98_6179 shows almost all the symbols with only a few missing in the matrices toolbar, the next stable release (0_98_6484) didnt show the symbols

smath_6179.png
#6 已发布: 2020/6/29 20:20:43
Nicacio

Nicacio

0个赞,共3个帖子。

组: User

I could not install that old version, because the site is not working, when you click any version, it downloads the last stable.

I'm going back to use the Windows version on VirtualBox because that Linux version using Mono just does not work!
#7 已发布: 2020/6/29 21:53:04
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I could not install that old version, because the site is not working, when you click any version, it downloads the last stable.


Are you saying you can't download/install SS 6179 ?

#8 已发布: 2020/6/30 02:28:24
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

I could not install that old version, because the site is not working, when you click any version, it downloads the last stable.



That's by design. You have to click on the "requested file version" tab on the top of the box.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#9 已发布: 2020/6/30 19:09:14
Nicacio

Nicacio

0个赞,共3个帖子。

组: User

I have found a solution for those who can't use SMath on Linux distros or it's not working for some reason.

Steps:

(Just use Docker)

I follow this tutorial: https://github.com/bkjaya2020/smathstudio-docker

As a Fedora 32 user, I just did:

1. sudo dnf install docker
2. systemctl start docker
3. sudo docker create -t -p 8008:8080 --name smath --privileged=true bkjaya1952/smathstudio-docker (it would take some minutes)
4. sudo docker start smath
5. in the browser, go to http://localhost:8008/

That's it =)
SMath will show there fully functional!
#10 已发布: 2020/7/1 18:09:51
otto daniel

otto daniel

0个赞,共4个帖子。

组: User

I am trying Nicacio docker based solution and its making me download a lot of data, will report back if i am able to run it, but i dont think this is the most efficient solution, there is something weird happening on smath that even on the .msi version tunning through wine the symbols dont show
smath1.jpg
#11 已发布: 2020/7/18 10:30:27
kamienna.gora

kamienna.gora

1个赞,共1个帖子。

组: User

Hi Everybody,
I solved problem with wine...
...
1. sudo apt-get install mono-complete
2. sudo apt-get install winetricks
3. winetricks dotnet45
4. copy smath installation from windows (whole directory) to linux (kubuntu)
5. wine /home/user_1/smath_99_7030_wine/SMathStudio_Desktop.exe
...
result - all symbols in side panel.
...

1位用户喜欢此帖子
Arie 2020/7/20 10:46:00
#12 已发布: 2020/7/27 18:04:02
otto daniel

otto daniel

0个赞,共4个帖子。

组: User

Kamienna method works!!! I had to play a little bit with my wine config since first instalation didnt work but it works now

obviusly since its running through wine performance is not as good as the mono version (Some lag is happening in my fairly old machine) so it would be fine to try to find a workaround in the mono version
#13 已发布: 2020/8/16 08:18:50
Ian Fraser

Ian Fraser

0个赞,共1个帖子。

组: User

Thanks kamienna, I had SMath mono working in Linux Mint 19.3, but when upgraded my machine to Linux Mint 20, I was getting missing symbols in side panel.
I followed your instructions for using winetricks and just ignored all the error messages while the Windows .net dotnet45 was being installed.
Copied SMath from my Windows 10 machine and everything is now working again in LM20. All the symbols are displaying properly.
#14 已发布: 2020/10/2 17:38:52
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

I am just dabbling and trying to get into Linux. I installed Linux Mint 20 - Cinnamon and was looking for the mono-complete package
  • the version available is 6.8, not 6.10 per the https://www.mono-project.com/

Screenshot from 2020-10-02 16-33-23.png
Does this solve anything for others? A set of instructions for us GUI people would be appreciated if this fixes things
PS:
  1. I uninstalled mono-complete from the machine
  2. I ran the commands in a terminal box from https://www.mono-project.com/download/stable/#download-lin
  3. My system said that it needed to be updated and one of the components said "mono 6.12.0.101" (no screenshot)
  4. still have the graphics issue

PPS:
I shut down the machine last night and turned it on this morning. There was an update for Mono, 6.12.101. I let it install (not sure if it's complete. I still have the graphical issue. Then re-ran
引用

sudo apt install mono-devel


Screenshot from 2020-10-04 11-38-54.png
Thinking out loud ... Could it be a font issue?
[UPDATE]
Not a font issue. I copied my windows 10 fonts directory into my home directory home/{USR}/.local/share/fonts... unless I did that wrong
#15 已发布: 2020/10/13 22:01:36
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

I have investigated the sidebar issue with previous builds.
Below I listed what happened to sidebar step by step on Linux Mono builds.
Sorry for the big picture but I had to prtscr that so everything can be seen in one screen.

1- It was build 5905 when everything was fine.
2- When new functions added to matrices sidebar on build 5918, they didn't show up. But they are clickable.
3- Last working version beside new matrices functions was build 6437.
4- Starting from build 6470, a lot of sidebar buttons are missing. But sidebar button fonts are big on these builds.
5- Last big font but missing buttoned sidebar build was 6671.
6- On and after build 6839, buttons had slim fonts. This build had same amount of non-missing items as previous build and all alphabet items are shown.
7- The last full greek alphabet version was build 6995.
8- After build 7005, two alphabet buttons are missing too. These two additional they are not presented on previous builds.
You can not use them on SMath canvas either. They give only rectangle on regions not characters.

Regards

2020-10-14_03-54.png
1位用户喜欢此帖子
Andrey Ivashov 2020/10/14 01:56:00
#16 已发布: 2020/10/14 08:34:27
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Thank you [USERLINK]overlord[/USERLINK] for investigation!

Wrote

1- It was build 5905 when everything was fine.
2- When new functions added to matrices sidebar on build 5918, they didn't show up. But they are clickable.


I think this is a key! Look at the vector multiplication icon: it is visible on 5905 and not visible on 5918. I have checked what was changed between these two revisions and found one related change only! I have changed an icon a bit, from 未找到文件。 to 未找到文件。. Other icons is visible (instead of new vectorize button added in the same revision).

So it seems like I've started to use another tool to create images for the toolbars, but I do not remember any details now.

Here is an archive with both images directly from the sources: linux_image_button.7z (689 B)已下载 862 次。, so maybe someone will find what is wrong in vectorumno-2477.gif against to vectorumno-321.gif (number here is a revision into repository). If we will understand it I will fix all the icons accordingly.

BTW: Today I am using PNG icon (vectorumno.png) instead of GIF, but we still have the issue on Linux... Actually all icons became invisible on 6470 because I've converted them to PNG format.

Best regards.
#17 已发布: 2020/10/14 09:21:30
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

BTW: Today I am using PNG icon (vectorumno.png) instead of GIF, but we still have the issue on Linux... Actually all icons became invisible on 6470 because I've converted them to PNG format.



Peraphs if it's not something codec-related might be the size of the container wrt the size of the image (just an idea).

About these two images in particular seems they have different BG/transparent colors (white the old, black the new) and different color maps.

2020-10-14 14_27_05-[vectorumno-2477] (importata)-1.0 (Colore indicizzato interi a 8 bit gamma, GIMP.png

2020-10-14 14_26_45-[vectorumno-321] (importata)-4.0 (Colore indicizzato interi a 8 bit gamma, GIMP .png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
Andrey Ivashov 2020/10/14 10:41:00
#18 已发布: 2020/10/14 09:45:14
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Heh, taking in account that image has black pixels only and alpha color is also black... image must look fully transparent. So, nothing strange happens.
But how this could be? Why it is shown correctly on Windows then?

Wrote

About these two images in particular seems they have different BG/transparent colors (white the old, black the new) and different color maps.


Please, could you check PNG image as well? Does it have the same colors?
#19 已发布: 2020/10/14 11:42:06
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Wrote

Why it is shown correctly on Windows then?


Because it's Windows ! There may be something internal to Windows coded to check for visibility.

Davide beat me to my first inclination, the transparency feature available in PNG format. (Example). However, I run the portable version on Windows and copied the files to Linux, so it's the same folders/folder structure

Question, on Linux, am I suppose to double click on "SMathStudio_Desktop.exe" or "smathstudio_desktop_mono" {no extension}. My version of "smathstudio_desktop_mono" is dated 05/30/2013. The following is what's in that file

显示剧透



#20 已发布: 2020/10/14 13:17:33
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

Please, could you check PNG image as well? Does it have the same colors?



the PNG file has 2 colors (black and transparent black), however PNG format has alpha channel while GIF has just transparency. Transparency on black color might be the problem in mono?

2020-10-14 15_37_01-[vectorumno] (importata)-1.0 (Colore indicizzato interi a 8 bit gamma, GIMP buil.png


we can try if these works better (32bit and 32bit deinterlaced made with paint.net)

vectorumno_test.png
vectorumno_test2.png



If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • 有新帖
  • 无新帖