[Gambas-user] Gambas 2 on CentOS 6.2 does not compile

2012-05-16 Thread nando
Full clean install CentOS 6.2 As per README in Gambas2 STEP 1: ./reconf-all (no error) STEP 2: ./configure -C (no error but some gambas packages were disabled) STEP 3: ./make (this is just the last part of the console) libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../..

[Gambas-user] Gambas 3 on CentOS 6.2 does not compile

2012-05-16 Thread nando
Full clean CentOS 6.2 Gambas 3 === Gambas ./configure -C results || || THESE COMPONENTS ARE DISABLED: || - gb.db.sqlite2 || - gb.gsl || - gb.image.imlib || - gb.opengl || - gb.pdf || - gb.sdl || - gb.sdl.sound || - gb.v4l ||

[Gambas-user] Can't print in Gambas 3

2012-05-16 Thread Johny Provoost
Dear, What's wrong with this code. I want to set someting to the printer but the only thing I get is an empty page. I can configure my printer but I get an error on the line 'Paint.Begin(mijnprinter)' - 'printer is not printing' and the printer is giving me an empty page. Working with

Re: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720

2012-05-16 Thread Olivier Cruilles
Hi Benoit, I think this is better than the preview email: [linus@linusky ~]$ valgrind --tool=memcheck --num-callers=50 gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 ==26488== Memcheck, a memory error detector ==26488== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.

Re: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720

2012-05-16 Thread Olivier Cruilles
Sorry, I forgot the rev: #4733 Olivier Cruilles Mail: linu...@club-internet.fr Le 13 mai 2012 à 22:50, Olivier Cruilles a écrit : [linus@linusky tmp]$ valgrind --tool=memcheck --num-callers=50 gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 ==3141== Memcheck, a memory error

Re: [Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720

2012-05-16 Thread Benoît Minisini
Le 16/05/2012 18:53, Olivier Cruilles a écrit : Hi Benoit, I think this is better than the preview email: [linus@linusky ~]$ valgrind --tool=memcheck --num-callers=50 gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3 ==26488== Memcheck, a memory error detector ==26488== Copyright (C)

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Benoît Minisini
Le 16/05/2012 05:50, Bruce a écrit : Hi folks, I've been struggling with this for over a week now with no success, so I need some help. I have a client with a new pclinuxos distro. When I install gambas3 from the svn it all appears to build and install properly, but when I start the IDE

[Gambas-user] R: Can't print in Gambas 3

2012-05-16 Thread Ru Vuott
Public Sub Button1_Click() If mijnprinter.Configure() = True Then Return mijnprinter.FirstPage = 0 mijnprinter.Orientation = 1 mijnprinter.Paper = 2 mijnprinter.Print End Public Sub mijnprinter_Draw() Paint.DrawText(TEST TEST) Paint.End End --- Mer

Re: [Gambas-user] R: Can't print in Gambas 3

2012-05-16 Thread Johny Provoost
Error is gone, but still got a empty page. Johny Op 16-05-12 20:53, Ru Vuott schreef: Public Sub Button1_Click() If mijnprinter.Configure() = True Then Return mijnprinter.FirstPage = 0 mijnprinter.Orientation = 1 mijnprinter.Paper = 2 mijnprinter.Print

Re: [Gambas-user] R: Can't print in Gambas 3

2012-05-16 Thread Ru Vuott
Error is gone, but still got a empty page. Uhmm strange Try: Public Sub Button1_Click() If mijnprinter.Configure() = True Then Return mijnprinter.FirstPage = 0 mijnprinter.Orientation = 1 mijnprinter.Paper = 2 mijnprinter.Print End Public Sub

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Bruce
On Wed, 2012-05-16 at 20:07 +0200, Benoît Minisini wrote: Maybe this is related to Olivier's crash. Maybe not... To help me, you can break the currently frozen IDE by getting its process id, and run gdb gbx3 that process id. Then you enter the 'bt' command in the debugger and you tell me

Re: [Gambas-user] R: Can't print in Gambas 3

2012-05-16 Thread Johny Provoost
Still empty page (or empty pdf). If I run the program line by line it seems not going to the sub mijnprinter_Draw. After the 'mijnprinter.Print' it prints an empty page and ends. It was much simpler in Gambas2. It's the only thing (the printing part) that's not working after porting my

Re: [Gambas-user] R: Can't print in Gambas 3

2012-05-16 Thread Ru Vuott
Uhmmm but... I do not used: Private mijnprinter As New Printer but I put on form a Printer-object ! Well, now I tried to use: Private mijnprinter As New Printer and I eliminted the Printer object from my Form and the page was empty !!! So, you have to put in your Form program the

Re: [Gambas-user] R: Can't print in Gambas 3 [solved]

2012-05-16 Thread Johny Provoost
Hey man, that simple? Thanks now I can getting further. Going to sleep well now, Thanks Johny Op 16-05-12 23:13, Ru Vuott schreef: Uhmmm but... I do not used: Private mijnprinter As New Printer but I put on form a Printer-object ! Well, now I tried to use: Private mijnprinter As

Re: [Gambas-user] R: Can't print in Gambas 3 [solved]

2012-05-16 Thread Ru Vuott
Ok, Johny, but the mistery is: why Private mijnprinter As New Printer doesn't work ? ...a bug, maybe ? --- Mer 16/5/12, Johny Provoost johny.provo...@skynet.be ha scritto: Da: Johny Provoost johny.provo...@skynet.be Oggetto: Re: [Gambas-user] R: Can't print in Gambas 3

Re: [Gambas-user] R: Can't print in Gambas 3 [solved]

2012-05-16 Thread Benoît Minisini
Le 16/05/2012 23:36, Ru Vuott a écrit : Ok, Johny, but the mistery is: why Private mijnprinter As New Printer doesn't work ? ...a bug, maybe ? No. You must specify the event name if you want to catch the events raised by the Printer object. -- Benoît Minisini

Re: [Gambas-user] Gambas 3 on CentOS 6.2 does not compile

2012-05-16 Thread Bruce
On Wed, 2012-05-16 at 10:50 -0400, nando wrote: Full clean CentOS 6.2 Gambas 3 === Gambas ./configure -C results || || THESE COMPONENTS ARE DISABLED: || - gb.db.sqlite2 || - gb.gsl || - gb.image.imlib || - gb.opengl || - gb.pdf || -

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Benoît Minisini
Le 16/05/2012 22:48, Bruce a écrit : On Wed, 2012-05-16 at 20:07 +0200, Benoît Minisini wrote: Maybe this is related to Olivier's crash. Maybe not... To help me, you can break the currently frozen IDE by getting its process id, and run gdb gbx3that process id. Then you enter the 'bt'

Re: [Gambas-user] Problems positioning controls in form with menu

2012-05-16 Thread Benoît Minisini
Le 15/05/2012 21:08, Greg Raffaelle a écrit : Attached is a simple program which demostrates the problem I am having with controls in a form not displaying correctly when the form has a menu. By not displaying correctly I mean the vertically position of the controls is being changed when the

Re: [Gambas-user] Issue 248 in gambas: Combobox Click raises Form_Activate Event

2012-05-16 Thread gambas
Updates: Labels: -Version Version-TRUNK Comment #1 on issue 248 by benoit.m...@gmail.com: Combobox Click raises Form_Activate Event http://code.google.com/p/gambas/issues/detail?id=248 Why it shouldn't? The combo opens a popup that takes the focus and deactivate the form, so when you

Re: [Gambas-user] Issue 249 in gambas: cell height in gridrow can not be set to -1 for autoheight

2012-05-16 Thread gambas
Updates: Labels: -Version Version-TRUNK Comment #1 on issue 249 by benoit.m...@gmail.com: cell height in gridrow can not be set to -1 for autoheight http://code.google.com/p/gambas/issues/detail?id=249 Setting the GridView row height to a negative value does not make the row fits its

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Bruce
On Wed, 2012-05-16 at 23:45 +0200, Benoît Minisini wrote: Can you test the revision #4735? Run the IDE from a terminal, and tell me what debugging messages are printed. Thanks! Woot! :-) [bb@localhost ~]$ gambas3 gb.qt4: warning: unable to load Qt translation: en_AU.UTF-8

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Benoît Minisini
Le 17/05/2012 00:25, Bruce a écrit : On Wed, 2012-05-16 at 23:45 +0200, Benoît Minisini wrote: Can you test the revision #4735? Run the IDE from a terminal, and tell me what debugging messages are printed. Thanks! Woot! :-) [bb@localhost ~]$ gambas3 gb.qt4: warning: unable to load Qt

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Bruce
On Thu, 2012-05-17 at 00:44 +0200, Benoît Minisini wrote: What is it what? :-) I meant What was it that was causing the hang? Bruce -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [Gambas-user] Problems positioning controls in form with menu

2012-05-16 Thread Bruce
On Thu, 2012-05-17 at 00:04 +0200, Benoît Minisini wrote: Le 15/05/2012 21:08, Greg Raffaelle a écrit : Attached is a simple program which demostrates the problem I am having with controls in a form not displaying correctly when the form has a menu. By not displaying correctly I mean the

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Benoît Minisini
Le 17/05/2012 00:59, Bruce a écrit : On Thu, 2012-05-17 at 00:44 +0200, Benoît Minisini wrote: What is it what? :-) I meant What was it that was causing the hang? Bruce The signal management routines allows to associate a list of callbacks to a signal. At the moment, there is only one

Re: [Gambas-user] gb3 on pclinuxos - builds OK but IDE is blank

2012-05-16 Thread Bruce
On Thu, 2012-05-17 at 01:48 +0200, Benoît Minisini wrote: Le 17/05/2012 00:59, Bruce a écrit : On Thu, 2012-05-17 at 00:44 +0200, Benoît Minisini wrote: What is it what? :-) I meant What was it that was causing the hang? Bruce The signal management routines allows to associate a

Re: [Gambas-user] Problems positioning controls in form with menu

2012-05-16 Thread Bruce
On Thu, 2012-05-17 at 08:34 +0930, Bruce wrote: I've tried it and cannot reproduce the problem. (Not exactly on Gnome but using the same gtk viz libgtk-x11-2.0.so.0.2400.4) Actually. I don't know if this is related, but... Under gtk, the menus can no longer activated via the mouse. All

Re: [Gambas-user] Issue 249 in gambas: cell height in gridrow can not be set to -1 for autoheight

2012-05-16 Thread gambas
Comment #2 on issue 249 by imperiou...@paradise.net.nz: cell height in gridrow can not be set to -1 for autoheight http://code.google.com/p/gambas/issues/detail?id=249 Thanks for that feedback. I must have got lucky in the past. When a line within a gridcell is wrapped and subsequently

Re: [Gambas-user] Gambas 3 on CentOS 6.2 does not compile

2012-05-16 Thread Bruce
Bad news! CentOS 6.2 uses Qt 4.6.2 and does not have the QtWebKit libraries. Neither in the native repos nor in the DAG repo. Further, I have searched for the 4.6.2 libQtWebkit libraries via rpm-pbone and only found one in Mandriva 2010, but that version will not install on CentOS. So it looks