It is currently Tue Jan 19, 2021 9:16 am

All times are UTC + 1 hour

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 5.46 Beta 2 - GTK3 TabBarGadget default font error
PostPosted: Thu Dec 14, 2017 2:03 pm 
User avatar

Joined: Thu Dec 17, 2009 12:00 pm
Posts: 212
Location: Llangadog, Wales, UK
Not sure if this a a bug? Or where the problem is - PB, TabBarGadget, my code or GTK3?

However, perhaps this is interesting for someone else.

Attempting to load my program results in:
[ERROR]TabBarGadget.pbi(Line 1937)
[ERROR]Invalid memory access

This is only when using GTK3 subsystem, with GTK2 there is no problem.

It's not a big deal for me - due to a number of other issues with GTK3 I'm currently remaining with GTK2. But I like to test with GTK3 occasionally to see the effect.

Interestingly this only happens when TabBarGadget is using default font (line 1937 is "DrawingFont(/FontID)"). When tested by explicitly setting the font using SetTabBarGadgetFont then there is no error, the program loads and runs. I prefer to leave it as default though.

Using PB 5.46 Beta 2 x86, on MX Linux XFCE 32-bit. TabBarGadget is 1.5 Beta 2 and is exactly as downloaded, no changes.

Same thing occurs with PB 5.61, line number is different and in a different procedure, but same command.

Of course I also use STARGÅTE's wonderful TabBarGadget on Windows and Mac and it works perfectly. It's used a lot in a big project so I can't post the actual code.


Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 17 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye