Log In  
Follow
valuriance

On MacOS 15.4.1 every attempt to store gui tables crashes the app and results in "segmentation fault".

eg
local s = pane:active().foot
store("/ram/dev.pod", s )

s is an attached gui element

{
child = {},
width0 = 126.0,
text = "footer",
width_rel = 1.0,
sy = 200.0,
parent = "<PARENT REMOVED>",
height = 16,
border = "rrect",
update = <function 1>,
head = "<HEAD REMOVED>",
z = 0,
height0 = 16,
t0 = 0.0,
draw = <function 2>,
vjustify = "bottom",
sx = 4,
clip_to_parent = true,
width = 126.0,
bgcol = 3
}

( I remove the head and parent from the inspect output from http://github.com/kikito/inspect.lua, to reduce the output)

0 comments



podtree number / string bug

In podtree if a number is overwritten with a string it remains as a string, even if the user re-enters a number. For example in /appdata/system/code.pod change selcol to "yellow" then back to 10. 10 remains as a string. And results in the code highlighting to go awry (see image) until code.pod is deleted and reset by app.

This is minor, but I was hoping to offload all app settings to podtree,(ie stay in picotron os / app world) without recreating a settings pane, or having to save back to a pod from the app.

0 comments