Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


3 Pages<123
Options
Go to last post Go to first unread
Offline uni  
#41 Posted : 22 April 2014 08:40:05(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Updated. Check SS-97: Maxima Draw: Update of png images fails now (Kay, Davide thanks). Hope this helps.
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 22/04/2014(UTC)
Offline mkraska  
#42 Posted : 22 April 2014 14:47:27(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Thanks a lot, uni.

The file locking problem is solved.

Still there is a timing problem now. If it takes too long for Maxima to produce the image, then the image region does not find it or uses an existing old version.

For complex images, this renders the temporary image storage in the Maxima plugin dir useless, because the name is changed everytime the image is written.

In the attached example, you can try that.

If the name parameter is set to "mpc" (anything without name extension produces svg output) or "mpc.png", then a png- or svg file is created (as can be seen in the file manager). However, it is not displayed unless the sheet is re-calculated. If recalculation is triggered by selecting materials in the (now correctly storing settings) checkboxlist region, then the old image is displayed.

If the name argument is completely removed, then temporary names are used and nothing is displayed at all.

I see two ways to avoid this problem:
a) Maxima has to wait until the image file is written and only then return control to SMath (sounds like a slow down)
b ) The image region has to check on a regular basis if the file has changed. I don't know if that is possible.

EDIT: filed as issue SS-124

Edited by user 22 April 2014 15:27:44(UTC)  | Reason: Not specified

File Attachment(s):
Werkstoffdiagramme png.zip (51kb) downloaded 42 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline mkraska  
#43 Posted : 04 August 2014 01:53:59(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Plugin updated.

Changes:
- SS-179 border on/off now saved correctly
- SS-161 loss of edited image contents avoided by more careful temp dir cleanup.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Users browsing this topic
Guest
Similar Topics
Image Region [size/scroll] (Samples)
by Jean Giraud 09/06/2023 16:43:22(UTC)
Image Region Plugin - unable to install in SS 7813 (Bugs & Problems)
by ndtma 25/05/2021 20:17:53(UTC)
IMAGE REGION DOESN´T WORK (Bugs & Problems)
by Leandro Martins 10/04/2021 02:22:13(UTC)
[Image Region] Not woring on Windows 10 Laptop (Bugs & Problems)
by shiju 28/04/2017 22:08:04(UTC)
Image Region Does Not Reset (Bugs & Problems)
by Jean Giraud 18/04/2017 17:34:04(UTC)
[Image Region] 6179 SMath.Studio Errors & Glitches (Bugs & Problems)
by Novice 31/01/2017 16:59:12(UTC)
Editable Image Region - Plugin Update (Extensions)
by Alex M. 14/02/2016 09:46:23(UTC)
Editable Image Region (Extensions)
by mkraska 03/05/2014 13:47:12(UTC)
3 Pages<123
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.