Black background on text regions when "Save as" HTML

Black background on text regions when "Save as" HTML - Messages

#1 Posted: 2/1/2022 10:49:54 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Text regions appear with a black background when the file is saved as an HTML page. SMath Version 0.99.7921.69

SMath screen capture
img0.png

HTML output page screen capture
img1.png

Best regards.
Alvaro.
1 users liked this post
Davide Carpi 2/2/2022 7:25:00 PM
#2 Posted: 2/2/2022 9:18:19 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Text regions appear with a black background


Similar bug including all work sheet regions was reported,
from recollection: not attended ... still existing once in a while.
#3 Posted: 2/2/2022 7:20:58 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Wrote

Text regions appear with a black background when the file is saved as an HTML page. SMath Version 0.99.7921.69

SMath screen capture
img0.png

HTML output page screen capture

Best regards.
Alvaro.



Thank you, bug confirmed and fix tested and committed to the repository.


Wrote

from recollection: not attended ... still existing once in a while.


Worksheets with unwanted black background still exists because is a property saved in the affected files, but those are a marginal number and the bug on saving is fixed in recent versions of SMath Studio.

Since black is a valid background color there aren't robust ways to improve the loading of affected files directly on program side (and anything would add a small time penalty on loading for each region in each file, all for a once in a bluemoon case, very noticeable and easily fixable from user-side that single time it happens).

To fix those existing worksheets you can either:
1. open the file, select the black regions and change the background color to transparent;
2. use a batch fix method like those proposed here: https://en.smath.com/forum/yaf_postsm75355_Black-regions.aspx#post75355
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
Alvaro Diaz Falconi 2/2/2022 9:50:00 PM, sergio 2/3/2022 9:03:00 AM
  • New Posts New Posts
  • No New Posts No New Posts