I just downloaded the trial version for linux. It is version 1.3.2. I have a x64_64 (amd) plain and up-to-date ubuntu 22.04. I did setup.sh and then ./SquareLine_Studio.x86_64 in the shell. Demo license is ok, I can create a new project…
but, no matter there, if I push a button which opens a file dialog, like “Add file into assets” or Menu “Export->Export UI Files” Squareline Studio hangs. It is not useable anymore. I have to terminate it with CTRL-C. The says nothing, no error nothing if I push the “Add files into assets” button.
All I get is:
user@lx:~/Downloads/SquareLine_Studio_Linux_v1_3_2$ ./SquareLine_Studio.x86_64
[UnityMemory] Configuration Parameters - Can be set up in boot.config
“memorysetup-bucket-allocator-granularity=16”
“memorysetup-bucket-allocator-bucket-count=8”
“memorysetup-bucket-allocator-block-size=4194304”
“memorysetup-bucket-allocator-block-count=1”
“memorysetup-main-allocator-block-size=16777216”
“memorysetup-thread-allocator-block-size=16777216”
“memorysetup-gfx-main-allocator-block-size=16777216”
“memorysetup-gfx-thread-allocator-block-size=16777216”
“memorysetup-cache-allocator-block-size=4194304”
“memorysetup-typetree-allocator-block-size=2097152”
“memorysetup-profiler-bucket-allocator-granularity=16”
“memorysetup-profiler-bucket-allocator-bucket-count=8”
“memorysetup-profiler-bucket-allocator-block-size=4194304”
“memorysetup-profiler-bucket-allocator-block-count=1”
“memorysetup-profiler-allocator-block-size=16777216”
“memorysetup-profiler-editor-allocator-block-size=1048576”
“memorysetup-temp-allocator-size-main=4194304”
“memorysetup-job-temp-allocator-block-size=2097152”
“memorysetup-job-temp-allocator-block-size-background=1048576”
“memorysetup-job-temp-allocator-reduction-small-platforms=262144”
“memorysetup-temp-allocator-size-background-worker=32768”
“memorysetup-temp-allocator-size-job-worker=262144”
“memorysetup-temp-allocator-size-preload-manager=262144”
“memorysetup-temp-allocator-size-nav-mesh-worker=65536”
“memorysetup-temp-allocator-size-audio-worker=65536”
“memorysetup-temp-allocator-size-cloud-worker=32768”
“memorysetup-temp-allocator-size-gfx=262144”
^CAborted (core dumped)
user@lx:~/Downloads/SquareLine_Studio_Linux_v1_3_2$
Completed reload, in 0.048 seconds
Default vsync count 0
requesting resize 1920 x 1856
resizing window to 1920 x 1856
Desktop is 1920 x 1920 @ 30 Hz
UnloadTime: 1.058610 ms
CurrentCulture converted to en-US
go back to front
Data is null!
Connection closed
StopServer
Select : Screen1
START FULL REBUILD
Checking free port 20085
20085: True
StartServer
Start lvgl server from: /home/user/Downloads/SquareLine_Studio_Linux_v1_3_1/SquareLine_Studio_Data/…/lvgl/lvgl_v8_3_6/server/
Connect to 127.0.0.1 on port 20085
START FULL REBUILD
Connection success
Render screen: ui_Screen1
Select : Screen1
Caught fatal signal - signo:11 code:1 errno:0 addr:0xfffffff3436a25b0
Obtained 7 stack frames. #0 0x007f5221242520 in __sigaction #1 0x007f51e8d9dbb6 in XDefaultRootWindow #2 0x007f51e7401b98 in getWindowFromPid #3 0x007f51e7401c7b in getUnityWindow #4 0x007f51e7401efd in GTKOpenPanel #5 0x007f51e7401dbb in DialogOpenFolderPanel #6 0x0000004128b3cb in (wrapper managed-to-native) Crosstales.FB.Wrapper.Linux.NativeMethods:DialogOpenFolderPanel (string,string,bool)
This problem seems to be specific to your Ubuntu/SquareLine installation because for us (with SLS-1.3.3) file-dialog works fine in Linux Mint Debian Edition 5 and in Ubuntu22.04LTS too (in VirtualBox). Maybe updating/resetting/reinstalling SquareLine or your desktop-environment (or OS) would help.
Is working only under root, if I run it under my user will crash every time I try to open a project, add assets…, on CTRL + s show that is saving it but in fact does not save it, the same on auto save.
Is able to create the project and save it for the rest is crashing.
There seems to be something wrong with permissions and catching the exception, or as user is trying to save on a wrong path that does not exists.
Ubuntu 22.04.3LTS on AMD® Ryzen 9 7945hx.
./SquareLine_Studio.x86_64
[UnityMemory] Configuration Parameters - Can be set up in boot.config
"memorysetup-bucket-allocator-granularity=16"
"memorysetup-bucket-allocator-bucket-count=8"
"memorysetup-bucket-allocator-block-size=4194304"
"memorysetup-bucket-allocator-block-count=1"
"memorysetup-main-allocator-block-size=16777216"
"memorysetup-thread-allocator-block-size=16777216"
"memorysetup-gfx-main-allocator-block-size=16777216"
"memorysetup-gfx-thread-allocator-block-size=16777216"
"memorysetup-cache-allocator-block-size=4194304"
"memorysetup-typetree-allocator-block-size=2097152"
"memorysetup-profiler-bucket-allocator-granularity=16"
"memorysetup-profiler-bucket-allocator-bucket-count=8"
"memorysetup-profiler-bucket-allocator-block-size=4194304"
"memorysetup-profiler-bucket-allocator-block-count=1"
"memorysetup-profiler-allocator-block-size=16777216"
"memorysetup-profiler-editor-allocator-block-size=1048576"
"memorysetup-temp-allocator-size-main=4194304"
"memorysetup-job-temp-allocator-block-size=2097152"
"memorysetup-job-temp-allocator-block-size-background=1048576"
"memorysetup-job-temp-allocator-reduction-small-platforms=262144"
"memorysetup-temp-allocator-size-background-worker=32768"
"memorysetup-temp-allocator-size-job-worker=262144"
"memorysetup-temp-allocator-size-preload-manager=262144"
"memorysetup-temp-allocator-size-nav-mesh-worker=65536"
"memorysetup-temp-allocator-size-audio-worker=65536"
"memorysetup-temp-allocator-size-cloud-worker=32768"
"memorysetup-temp-allocator-size-gfx=262144"
Segmentation fault (core dumped)
Seg fault when I try to open the project as regular user
Maybe some SquareLine-related files were created with root privileges when you ran it with root, then they were inaccessible when you tried to run as normal user. I think you should uninstall/delete SquareLine completely, and do a fresh install and startup as normal user. This is unlikely to be a bug but a privilege issue.