|
Post by n00b on Jul 3, 2023 15:45:26 GMT -6
I have been noticing some random crashes when using studio on Ubuntu. I did not have these issues on Pop OS so I am not sure if this is an issue specific to Ubuntu or not. Has anyone else on linux been having stability issues with the editor?
|
|
|
Post by johnno56 on Jul 4, 2023 4:58:16 GMT -6
What kind of issues are you having? I will keep an eye open and let you know...
|
|
|
Post by johnno56 on Jul 4, 2023 5:16:00 GMT -6
I just ran my old Attack3 via Geany and it compiled and ran fine. Loaded the source file; compiled the file; ran the file via the Editor and was presented with a black screen. The alternate window displayed: "DrawImage error: Parameter 'texture' is invalid". The same result via creating a new project and using attack3.bas as the source file.
|
|
|
Post by n00b on Jul 4, 2023 11:47:25 GMT -6
Thanks johnno56I will have those issues fixed in the next release.
|
|
|
Post by johnno56 on Jul 4, 2023 13:49:24 GMT -6
No problemo...
|
|
|
Post by n00b on Jul 12, 2023 12:45:08 GMT -6
After running a few more test and asking a few other people about it, I think these random crashes on Ubuntu might be due to Wayland. On linux going forward I might have the installer detect if a system is running X11 or Wayland and disable the parser on Wayland. I notice that Codeblocks which also uses WxWidgets has recently disabled the symbol browser by default as well. I am looking into a few toolkits to move the editor to such as QT, FLTK, GTK, and IUP but I haven't decided if I will switch or when it will happen yet.
Even without the symbol browswer, code completion should still work just fine. I am also going to include a project symbol browser in the next release and that will be updated everytime you save the project so you will still be able to use it to quickly find symbol declarations. If you are still on X11 then you should be fine. It is possible that it is not a wayland issue and just an Ubuntu issue since Canonical has done some weird stuff to break rcbasic in the past. I am still looking into it further.
|
|
|
Post by johnno56 on Jul 12, 2023 14:18:20 GMT -6
KDE and Gnome (that's me!) desktops on Linux are the only ones that support Wayland natively... at the moment... I have heard of QT, FLTK and GTK. But IUP? I am not surprised that Ubuntu is having issues. If you checkout Gnome, via Wikipedia ( en.wikipedia.org/wiki/GNOME ), you will see that there is all sorts of "fun and games" happening with the development of Gnome 3 and beyond... Is there a possibility that RC can run as an 'appimage'? Might help get around some of the issues. I have several appimages on my machine and they run fine. I do not know the limitations or difficulties involved but it might be an option to consider... Just a thought... I do not envy your task(s). I am however impressed what what you have achieved so far... Well done!
|
|
|
Post by n00b on Jul 15, 2023 7:44:41 GMT -6
KDE and Gnome (that's me!) desktops on Linux are the only ones that support Wayland natively... at the moment... I have heard of QT, FLTK and GTK. But IUP? If I do switch, it would more likely be to QT but I have realized that switching toolkits may not fix my issue since it does appear to be an issue specifically with Ubuntu. I cannot reproduce some of the issues I am having on any other linux distro at the moment. Is there a possibility that RC can run as an 'appimage'? Might help get around some of the issues. I have several appimages on my machine and they run fine. I do not know the limitations or difficulties involved but it might be an option to consider... Just a thought... I have actually been working on packaging it as a flatpak. It is just a matter of trying to get external tools like Android SDK and emscripten working with the flatpak as well.
|
|
|
Post by aurel on Jul 16, 2023 10:05:08 GMT -6
QT wow ,,it is heavy ,,but offer QT Designer which output code in C++ that is big big +
|
|