Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline G-Tate  
#1 Posted : 02 January 2022 21:40:54(UTC)
G-Tate


Rank: Member

Groups: Registered
Joined: 22/10/2018(UTC)
Posts: 22
Germany
Location: Saarbrücken

Hi

While working with SMath everything is covered in black, see picture below.
Even older files are shown in black and I can't use them anymore.
I already reinstalled SMath.

Thank you in Advance.


20210202_SMath Error.png
Offline Jean Giraud  
#2 Posted : 02 January 2022 21:59:37(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 915 time(s) in 743 post(s)
Originally Posted by: G-Tate Go to Quoted Post
While working with SMath everything is covered in black, see picture below.
Even older files are shown in black and I can't use them anymore.
I already reinstalled SMath.

This freak is quite old wrt versions.
Select all, click background white.
It may come back black again, a pen in the ass.
Try it ... report ... a real bug !

Offline G-Tate  
#3 Posted : 02 January 2022 22:11:53(UTC)
G-Tate


Rank: Member

Groups: Registered
Joined: 22/10/2018(UTC)
Posts: 22
Germany
Location: Saarbrücken

Thanks for your kind answer,

what a beautiful atmosphere here.


Well that worked, sometimes the thoughts are somewhere else, but it should never stop you from being kind.

At least... try!
Offline Davide Carpi  
#4 Posted : 04 January 2022 16:48:24(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,524
Man
Italy
Location: Italy

Was thanked: 1269 time(s) in 834 post(s)
If you want you can use this small utility to batch fix one or more files at once (It is just an automated raw "find and replace" routine on the plaintext data, doesn't use/require SMath Studio.)

Just drag & drop the sm files on the executable.

the original files are kept and the fixed files are created next to the originals with a "_fixed" suffix.


black to transparent bg (1.0.1).zip (3kb) downloaded 12 time(s).

Edited by user 04 January 2022 23:15:43(UTC)  | Reason: ver 1.0.1 updated to not auto-close on double-click

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline overlord  
#5 Posted : 04 January 2022 23:12:07(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 869
Turkey

Was thanked: 327 time(s) in 225 post(s)
one-line command for linux users:
Code:
sed 's/bgColor="#000000"//g' input.sm > output.sm


for multiple files in a directory:
Code:
for i in *.sm; do sed 's/bgColor="#000000"//g' "$i" > "${i%.sm}_fixed.sm"; done

Edited by user 05 January 2022 18:16:47(UTC)  | Reason: Not specified

thanks 1 user thanked overlord for this useful post.
on 04/01/2022(UTC)
Users browsing this topic
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.