Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-08

Does anyone else having problems with FPC 2.5.1, GTK2 on Debian ?

8 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcelo Borges de Paula

Hello everyone. My first post on Mailing-list.

Some days ago i created a bugrep due to some strange behavior of TListview on Debian Etch. After some research, i?m not sure it is a LCL problem, but a compiler one. TListivew, the component that i tested, do not select its items. I mean, if you click a Tlistitem, it not get selected. This do not occur when using FPC 2.2.4 in the same machine/installation, so i thought it could be a compiler issue. I compiled Lazarus with this compiler (2.5.1) and LCL_PLATFORM=gtk and for my surprise, the symptom disapeared. So its related to GTK2 and compiler.

My environment is a virtual machine running:

Debian Etch (all updates).
I386
Lazarus SVN revision 21460
FPC 2.5.1 revision 13600

All packages was download from SVN to this machine and compiled by hand. I did not used debian package for this.

I?m concerned that this is a big problem with GTK2 and that can cause a big headache to eveyone if confirmed. Honestly, i?m lost here, so i want to hear some opinion on this.

Thank you all.

Marcelo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090827/51deabdf/attachment.html>

Reply by email

Mattias Gärtner
to Marcelo Borges de Paula

Zitat von Marcelo Borges de Paula :

Hello everyone. My first post on Mailing-list. Some days ago i created a bugrep due to some strange behavior of TListview on Debian Etch.

Have you searched the bug tracker? AFAIK there are some open bugs about TListView and gtk2.

Show quoted text 8 lines
After some research, i?m not sure it is a LCL problem, but a compiler one. TListivew, the component that i tested, do not select its items. I mean, if you click a Tlistitem, it not get selected. This do not occur when using FPC 2.2.4 in the same machine/installation, so i thought it could be a compiler issue. I compiled Lazarus with this compiler (2.5.1) and LCL_PLATFORM=gtk and for my surprise, the symptom disapeared. So its related to GTK2 and compiler.

Check if no one has yet reported the bug.
If not: Create a bug report and add a test program.

Show quoted text 13 lines
My environment is a virtual machine running: Debian Etch (all updates). I386 Lazarus SVN revision 21460 FPC 2.5.1 revision 13600 All packages was download from SVN to this machine and compiled by hand. I did not used debian package for this. I?m concerned that this is a big problem with GTK2 and that can cause a big headache to eveyone if confirmed. Honestly, i?m lost here, so i want to hear some opinion on this.

Mattias

Reply by email

Henry Vermaak
to Marcelo Borges de Paula: Hello everyone. My first post on Mailing-list. Some days ago i created a bugrep due to…

2009/8/27 Marcelo Borges de Paula :

I?m concerned that this is a big problem with GTK2 and that can cause a big headache to eveyone if confirmed. Honestly, i?m lost here, so i want to hear some opinion on this.

I've had a problem before with gtk2 on debian (I confirmed it was a gtk bug by building a newer gtk). I'm using stable here, I'll see if I can test.

Henry

Reply by email

Marcelo Borges de Paula
Show quoted text 10 lines
Zitat von Marcelo Borges de Paula : > Hello everyone. My first post on Mailing-list. > > Some days ago i created a bugrep due to some strange behavior of > TListview on Debian Etch. Have you searched the bug tracker? AFAIK there are some open bugs about TListView and gtk2.

Yeah!! I did some search on bug tracker. There is a lot of TListview hits. Most of it with status closed or resolved.

Show quoted text 14 lines
> After some research, i?m not sure it is a LCL problem, but a compiler > one. > TListivew, the component that i tested, do not select its items. I > mean, if you click a Tlistitem, it not get selected. > This do not occur when using FPC 2.2.4 in the same > machine/installation, so i thought it could be a compiler issue. > I compiled Lazarus with this compiler (2.5.1) and LCL_PLATFORM=gtk > and for my surprise, the symptom disapeared. > So its related to GTK2 and compiler. Check if no one has yet reported the bug. If not: Create a bug report and add a test program.

Already did. Bug #14340

Show quoted text 16 lines
> My environment is a virtual machine running: > > Debian Etch (all updates). > I386 > Lazarus SVN revision 21460 > FPC 2.5.1 revision 13600 > > All packages was download from SVN to this machine and compiled by > hand. I did not used debian package for this. > > I?m concerned that this is a big problem with GTK2 and that can > cause a big headache to eveyone if confirmed. > Honestly, i?m lost here, so i want to hear some opinion on this. Mattias

Reply by email

Henry Vermaak
to Henry Vermaak: 2009/8/27 Marcelo Borges de Paula : I've had a problem before with gtk2 on debian (I…

2009/8/27 Henry Vermaak :

Show quoted text 9 lines
2009/8/27 Marcelo Borges de Paula : > > I?m concerned that this is a big problem with GTK2 and that can cause a big > headache to eveyone if confirmed. > Honestly, i?m lost here, so i want to hear some opinion on this. I've had a problem before with gtk2 on debian (I confirmed it was a gtk bug by building a newer gtk). ?I'm using stable here, I'll see if I can test.

Works as expected here.

Henry

Reply by email

Marcelo Borges de Paula
Show quoted text 17 lines
2009/8/27 Henry Vermaak : > 2009/8/27 Marcelo Borges de Paula : >> >> I?m concerned that this is a big problem with GTK2 and that can cause a >> big >> headache to eveyone if confirmed. >> Honestly, i?m lost here, so i want to hear some opinion on this. > > I've had a problem before with gtk2 on debian (I confirmed it was a > gtk bug by building a newer gtk). I'm using stable here, I'll see if > I can test. Works as expected here. HenryHenry, could you list your test environment?Debian version, Lazarus revision, fpc revision...How you manage to rebuild gtk. I?ve looked for updates to libgtk2 on Etch unsuccessfully.Thanks in advance,Marcelo.

Reply by email

Henry Vermaak
to Marcelo Borges de Paula

2009/8/27 Marcelo Borges de Paula :

Show quoted text 11 lines
> 2009/8/27 Henry Vermaak : >> >> I've had a problem before with gtk2 on debian (I confirmed it was a >> gtk bug by building a newer gtk). ?I'm using stable here, I'll see if >> I can test. > > Works as expected here. > > HenryHenry, could you list your test environment?Debian version, Lazarus > revision, fpc revision...How you manage to rebuild gtk. I?ve looked for > updates to libgtk2 on Etch unsuccessfully.Thanks in advance,Marcelo.

As I've said above, I'm using Debian stable (lenny). I'm using trunk versions of fpc and lazarus. I've noted this on the bug report. Maybe it's time to upgrade your Debian? I rebuilt gtk on a previous version of Debian, long ago. I'm using the default packages now.

Henry

Reply by email

Marcelo Borges de Paula
to Henry Vermaak

Ok!!

I will download Debian Lenny to do my tests. Unfortanelly it will take some time.
I just want to note that only combination FPC 2.5.1 and GTK2 doesn?t work. I tested in this same environment with FPC 2.2.4 and GTK2 and FPC 2.5.1 and GTK1. With these combinations problem doesn?t occurr.

Thanks, anyway!!

Earlier message 29 lines
----- Original Message ----- From: "Henry Vermaak" To: "Lazarus mailing list" Sent: Thursday, August 27, 2009 1:14 PM Subject: Re: [Lazarus] Does anyone else having problems with FPC 2.5.1,GTK2 on Debian ? 2009/8/27 Marcelo Borges de Paula : >> 2009/8/27 Henry Vermaak : >>> >>> I've had a problem before with gtk2 on debian (I confirmed it was a >>> gtk bug by building a newer gtk). I'm using stable here, I'll see if >>> I can test. >> >> Works as expected here. >> >> HenryHenry, could you list your test environment?Debian version, Lazarus >> revision, fpc revision...How you manage to rebuild gtk. I?ve looked for >> updates to libgtk2 on Etch unsuccessfully.Thanks in advance,Marcelo. As I've said above, I'm using Debian stable (lenny). I'm using trunk versions of fpc and lazarus. I've noted this on the bug report. Maybe it's time to upgrade your Debian? I rebuilt gtk on a previous version of Debian, long ago. I'm using the default packages now. Henry --

Reply by email