Missing symbols on Ubuntu 20 mono

Missing symbols on Ubuntu 20 mono - side panel is missing symbols - Messages

#1 Posted: 5/24/2020 4:32:39 AM
SMKa

SMKa

0 likes in 1 posts.

Group: 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 Posted: 5/24/2020 11:08:27 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 Posted: 5/30/2020 5:58:57 PM
Anders or Eric

Anders or Eric

4 likes in 40 posts.

Group: 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 Posted: 6/21/2020 11:30:02 AM
Nicacio

Nicacio

0 likes in 3 posts.

Group: 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 Posted: 6/23/2020 2:55:51 PM
otto daniel

otto daniel

0 likes in 4 posts.

Group: 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 Posted: 6/29/2020 8:20:43 PM
Nicacio

Nicacio

0 likes in 3 posts.

Group: 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 Posted: 6/29/2020 9:53:04 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 6/30/2020 2:28:24 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 Posted: 6/30/2020 7:09:14 PM
Nicacio

Nicacio

0 likes in 3 posts.

Group: 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 Posted: 7/1/2020 6:09:51 PM
otto daniel

otto daniel

0 likes in 4 posts.

Group: 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 Posted: 7/18/2020 10:30:27 AM
kamienna.gora

kamienna.gora

1 likes in 1 posts.

Group: 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 users liked this post
Arie 7/20/2020 10:46:00 AM
#12 Posted: 7/27/2020 6:04:02 PM
otto daniel

otto daniel

0 likes in 4 posts.

Group: 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 Posted: 8/16/2020 8:18:50 AM
Ian Fraser

Ian Fraser

0 likes in 1 posts.

Group: 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 Posted: 10/2/2020 5:38:52 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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
Quote

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 Posted: 10/13/2020 10:01:36 PM
overlord

overlord

552 likes in 1332 posts.

Group: 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 users liked this post
Andrey Ivashov 10/14/2020 1:56:00 AM
#16 Posted: 10/14/2020 8:34:27 AM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: 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 File not found. to File not found.. 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) downloaded 37 time(s)., 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 Posted: 10/14/2020 9:21:30 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 users liked this post
Andrey Ivashov 10/14/2020 10:41:00 AM
#18 Posted: 10/14/2020 9:45:14 AM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: 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 Posted: 10/14/2020 11:42:06 AM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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

Show Spoiler



#20 Posted: 10/14/2020 1:17:33 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts