PureBasic 3.91 Beta for linux released
Tiny problem report for that Beta:
I got this message using 3.80 as well as now with the 3.91 Beta:
And another issue:
A status bar in my window appears at the top (?) of the window, not at the bottom where it belongs... What is wrong there?
I got this message using 3.80 as well as now with the 3.91 Beta:
The programm runs though but it doesn't work properly... The errors are caused by some 'menu' commands. The menu does not appear correctly.Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkMenu'
Gtk-CRITICAL **: file gtkmenushell.c: line 312 (gtk_menu_shell_insert): assertion `menu_shell != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkMenu'
Gtk-CRITICAL **: file gtkmenushell.c: line 312 (gtk_menu_shell_insert): assertion `menu_shell != NULL' failed.
And another issue:
A status bar in my window appears at the top (?) of the window, not at the bottom where it belongs... What is wrong there?
The truth is never confined to a single number - especially scientific truth!
Code: Select all
if openwindow(0,0,0,640,480,#PB_Window_SystemMenu|#PB_Window_MinimizeGadget,"Aperitif Version 0.1 Alpha")
;creategadgetlist(windowid(0))
createstatusbar(0,windowid(0))
addstatusbarfield(640)
statusbartext(0,1,"Willkommen zu Aperitif!",#PB_StatusBar_Center)
createmenu(0,windowid(0))
opensubmenu("Aperitif")
menuitem(1,"Beenden")
closesubmenu()
opensubmenu("?")
menuitem(2,"Hilfe")
menuitem(3,"Über Aperitif...")
closesubmenu()
repeat
event = waitwindowevent()
until event = #PB_EventCloseWindow
endif
The truth is never confined to a single number - especially scientific truth!
STDIN Support?
Please, Fred - This is a desperately missed feature and is absolutely fundamental to any Linux/Unix programming language - especially if its to interface with OS commands.
I'm trying to write some Admin tools for Linux & vmWareESX.
PureBasic is (almost) perfect, but no STDIN means its a waste of time continuing...
I'm trying to write some Admin tools for Linux & vmWareESX.
PureBasic is (almost) perfect, but no STDIN means its a waste of time continuing...
Ta - N
stdin/out is in general a definite nice to have
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
A new beta has been put online for Linux in the personal account area. It fixes all the reported bugs, so feel free to grab it and test it
.
Merendo: the StatusBar on top issue is fixed. The Menu warning are due to the fact than you miss a 'MenuTitle()' before the first OpenSubMenu(). If I add it, the warning are gone and all seems ok (tested with the Beta 2).
PS: I have still many mail to check for the personnal account. I will do it soon, so please be patient if you don't have your login/password for now. Thank you in advance

Merendo: the StatusBar on top issue is fixed. The Menu warning are due to the fact than you miss a 'MenuTitle()' before the first OpenSubMenu(). If I add it, the warning are gone and all seems ok (tested with the Beta 2).
PS: I have still many mail to check for the personnal account. I will do it soon, so please be patient if you don't have your login/password for now. Thank you in advance

Login and Pasword
[quote=red]
You can grab the test archive in your personal account at: http://www.purebasic.com/download.php3 . A mail with the needed infos about the account (login and password) has been dispatched to all registered users. If you didn't get the mail, feel free to contact me at support@purebasic.com with your registration informations. The full versions, updates and beta will be release trough the private accounts in the next version.
[/quote]
Salut Fred
I didn't receive any Login and Password (probably because i recently had to change my Email-Adresse). I sent two messages to support@purebasic.com to explain the problem but haven't heard about it yet. Could you please confirm that you received my message and that i soon will become the informations.
Thanks a lot
TeddyLM
You can grab the test archive in your personal account at: http://www.purebasic.com/download.php3 . A mail with the needed infos about the account (login and password) has been dispatched to all registered users. If you didn't get the mail, feel free to contact me at support@purebasic.com with your registration informations. The full versions, updates and beta will be release trough the private accounts in the next version.
[/quote]
Salut Fred
I didn't receive any Login and Password (probably because i recently had to change my Email-Adresse). I sent two messages to support@purebasic.com to explain the problem but haven't heard about it yet. Could you please confirm that you received my message and that i soon will become the informations.
Thanks a lot
TeddyLM
Fred, I am also awaiting email...
...on the Personal Account area. Any idea on when you'll get to those emails? I know you must have a ton of email awaiting you... Just shows how much we love using PureBasic!
-Chris

-Chris
Registered PB programmer since 3.30 (now using 3.90)