Hi,
I tested a program which was not working like expected.
Then I installed the latest updates for the OS and now...
I don't see the menu of the program.
Doesn't matter if I choose gtk2 or gtk3.
before the latest updates I saw it, but not on top of the OS, instead I saw it like in windows, below the program frame.
All very strange.
And gtk3 is really not usable with PB and crossplatform programs.
Any ideas about the missing menu?
Bernd
PB 5.50 x64 and latest version Ubuntu 16.04
Re: PB 5.50 x64 and latest version Ubuntu 16.04
If you saw it in a 5.4x version of the compiler then what I offer will not help you.
But if the last version where your code worked was earlier than 5.4x, and your menu is built with the 2D graphics commands,
then it may help to insert this initialization routine (discovered by BasicallyPure)
after the screen is created and before your code creates the first display.
The missing graphics was first reported here as a bug,
but the thread was inappropriately moved into the "Coding Questions" section.
But if the last version where your code worked was earlier than 5.4x, and your menu is built with the 2D graphics commands,
then it may help to insert this initialization routine (discovered by BasicallyPure)
after the screen is created and before your code creates the first display.
Code: Select all
CompilerIf #PB_Compiler_OS=#PB_OS_Linux
While WindowEvent() : Wend
FlipBuffers()
ClearScreen(0)
CompilerEndIf
The missing graphics was first reported here as a bug,
but the thread was inappropriately moved into the "Coding Questions" section.
Keep it BASIC.
Re: PB 5.50 x64 and latest version Ubuntu 16.04
Hi Bernd,
my only available V16.04 is Lubuntu at the moment so i can't test it, but maybe it has to do with this ...
http://askubuntu.com/questions/762137/a ... m-menu-bar
Regards, Charly
my only available V16.04 is Lubuntu at the moment so i can't test it, but maybe it has to do with this ...
http://askubuntu.com/questions/762137/a ... m-menu-bar
Regards, Charly
PureBasic 5.4-5.7, Linux: (X/L/K)Ubuntus+Mint - Windows XP (32Bit)
PureBasic Linux-API-Library & Viewer: http://www.chabba.de
PureBasic Linux-API-Library & Viewer: http://www.chabba.de
Re: PB 5.50 x64 and latest version Ubuntu 16.04
I don't use 2D, only 'normal' PB code
It looks like that Ubuntu 16.04 is buggy.
Unfortunately the restart of the panel service does not solve the problem.
But since many programs shows this behaviour, I think they'll fix it soon.
Bernd
It looks like that Ubuntu 16.04 is buggy.
Unfortunately the restart of the panel service does not solve the problem.
But since many programs shows this behaviour, I think they'll fix it soon.
Bernd