Page 1 of 1

PB 5.50 x64 and latest version Ubuntu 16.04

Posted: Thu Sep 01, 2016 3:50 pm
by infratec
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

Re: PB 5.50 x64 and latest version Ubuntu 16.04

Posted: Thu Sep 01, 2016 5:39 pm
by heartbone
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.

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.

Re: PB 5.50 x64 and latest version Ubuntu 16.04

Posted: Thu Sep 01, 2016 6:20 pm
by Oma
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

Re: PB 5.50 x64 and latest version Ubuntu 16.04

Posted: Fri Sep 02, 2016 7:10 am
by infratec
I don't use 2D, only 'normal' PB code :mrgreen:

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