Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-20 Thread Graeme Geldenhuys
On 2011-10-19 09:27, Felipe Monteiro de Carvalho wrote:
 2 Using LCL-Qt the problems appear too?

I couldn't even get the Lazarus IDE (compiled with LCL-Qt) to start up.

Saying that, I was running off the Live CD. But in my defence, I did
copy all the Qt required libs (eg: libphonon, libQtWebKit, libQt4Pas
etc) to a known location and setup the LD_LIBRARY_PATH environment
variable to point to the location of those Qt libs. I briefly saw the
IDE splash screen, then simply the prompt that an exception occurred.
Selecting the Ignore button (instead of terminating the app), the IDE
crashed out to the command prompt.


 3 Using LCL-fpgui (but obviously not in the IDE) the problems appear too?

A native fpGUI app as well as a LCL-fpGUI test app worked without problems.


I was using Lazarus 0.9.30.x code to test with FPC 2.5.1


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-20 Thread Felipe Monteiro de Carvalho
On Thu, Oct 20, 2011 at 11:06 AM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
 I briefly saw the IDE splash screen, then simply the prompt that an exception 
 occurred.
 Selecting the Ignore button (instead of terminating the app), the IDE
 crashed out to the command prompt.

Start it in GDB and then post the backtrace.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-20 Thread Graeme Geldenhuys
On 2011-10-20 11:12, Felipe Monteiro de Carvalho wrote:
 
 Start it in GDB and then post the backtrace.
 

I'll have to install Ubuntu 11.10 in a VM session first. By default
Ubuntu doesn't include developer tools (unlike nice distros like Slackware).

Give me a hour or so to prepare the VM, and I'll give you more feedback.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-20 Thread cobines
2011/10/19 Andrew Brunner andrew.t.brun...@gmail.com:
 I've been struggling with Lazarus and Gnome shell running Ubuntu
 11.10.  Find dialogs, tabs, and Menus don't work.

Does it work when you do:

$ export LIBOVERLAY_SCROLLBAR=0
$ lazarus

?

I know it solves some problems, I don't know if all.

From other people I know (I haven't tested myself) QT version works fine.

--
cobines

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-20 Thread Graeme Geldenhuys
On 2011-10-20 11:12, Felipe Monteiro de Carvalho wrote:
 
 Start it in GDB and then post the backtrace.
 

See attached file.


I also made sure that the 'lazarus' executable is actually runable, by
running it under my 64-bit Ubuntu (even though it is a 32-bit Qt
executable) - which it did. I have all the required libraries installed
in my host system and in the VM system.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

[New Thread 0xb74d9b70 (LWP 2011)]
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath=/home/graemeg/.lazarus
  SecondaryConfigPath=/etc/lazarus
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults

NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files)

NOTE: FPC source directory not set! (see Environment / Options ... / Environment / Files)
NOTE: help options config file not found - using defaults

Program received signal SIGSEGV, Segmentation fault.
0x01eb47fc in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
(gdb) bt
#0  0x01eb47fc in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#1  0x020d785c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#2  0x020d1d7d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#3  0x020d1eea in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#4  0x020dc294 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#5  0x020a004d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#6  0x020b162b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#7  0x02017f5b in QPaintEngineEx::draw(QVectorPath const) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#8  0x0201b25c in QPaintEngineEx::drawPath(QPainterPath const) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#9  0x0202b9e1 in QPainter::drawPath(QPainterPath const) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#10 0x044d73aa in ?? () from /usr/lib/i386-linux-gnu/libQtSvg.so.4
#11 0x044f8e01 in ?? () from /usr/lib/i386-linux-gnu/libQtSvg.so.4
#12 0x045003ab in QSvgTinyDocument::draw(QPainter*, QRectF const) ()
   from /usr/lib/i386-linux-gnu/libQtSvg.so.4
#13 0x0450047d in QSvgTinyDocument::draw(QPainter*) ()
   from /usr/lib/i386-linux-gnu/libQtSvg.so.4
#14 0x0450171d in QSvgRenderer::render(QPainter*) ()
   from /usr/lib/i386-linux-gnu/libQtSvg.so.4
#15 0x044c26af in ?? ()
   from /usr/lib/i386-linux-gnu/qt4/plugins/iconengines/libqsvgicon.so
---Type return to continue, or q return to quit---
#16 0x01f7a514 in QIcon::pixmap(QSize const, QIcon::Mode, QIcon::State) const
() from /usr/lib/i386-linux-gnu/libQtGui.so.4
#17 0x01f7f5a0 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#18 0x01f83552 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0x01f7a514 in QIcon::pixmap(QSize const, QIcon::Mode, QIcon::State) const
() from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0x021fdc1a in QCommonStyle::standardPixmap(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0x022b6fb7 in QWindowsStyle::standardPixmap(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0x0229e826 in QCleanlooksStyle::standardPixmap(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0x0228ae2b in QGtkStyle::standardPixmap(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0x0023e822 in QStyle_standardPixmap (handle=0x9108e98, retval=0x925fd00, 
standardPixmap=QStyle::SP_DialogHelpButton, opt=0x9482880, widget=0x0)
at src/qstyle_c.cpp:129
#25 0x08265b94 in TQTTHEMESERVICES__GETSTOCKIMAGE (STOCKID=3, 
IMAGE=3221220304, MASK=0, this=error reading variable)
at qtthemes.pas:543
#26 0x0825c08d in TCUSTOMBITBTN__REALIZEKIND (this=error reading variable)
---Type return to continue, or q return to quit---
at ./include/bitbtn.inc:205
#27 0x0825bde3 in TCUSTOMBITBTN__SETKIND (AVALUE=BKHELP, 
this=error reading variable) at ./include/bitbtn.inc:137
#28 0x082601a9 in TCUSTOMBUTTONPANEL__CREATEBUTTON (ABUTTON=PBHELP, 
this=error reading variable) at buttonpanel.pas:499
#29 0x0825f55d in TCUSTOMBUTTONPANEL__DOSHOWBUTTONS (
this=error reading variable) at buttonpanel.pas:187
#30 0x0826000e in TCUSTOMBUTTONPANEL__CREATE (AOWNER=0xb5819c60, vmt=0x1, 
this=error reading variable) at buttonpanel.pas:462
#31 0x0811a475 in CLASSES_TREADER_$__READCOMPONENT$TCOMPONENT$$TCOMPONENT ()
#32 0x0811aa25 in CLASSES_TREADER_$__READDATA$TCOMPONENT ()
#33 0x08111d3b in CLASSES_TCOMPONENT_$__READSTATE$TREADER ()
#34 0x081e4243 in TCONTROL__READSTATE (READER=0xb6699100, 
this=error reading variable) at ./include/control.inc:3189
#35 0x0811c209 in 

Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-20 Thread Andrew Brunner
Ok, Thanks.  I added it to my .profile.

It seems that even with this option, file dialogs are not accepting
input and can't be closed.  Dialogs only close when I close the form
that created it.


On Thu, Oct 20, 2011 at 4:24 AM, cobines cobi...@gmail.com wrote:
 2011/10/19 Andrew Brunner andrew.t.brun...@gmail.com:
 I've been struggling with Lazarus and Gnome shell running Ubuntu
 11.10.  Find dialogs, tabs, and Menus don't work.

 Does it work when you do:

 $ export LIBOVERLAY_SCROLLBAR=0
 $ lazarus

 ?

 I know it solves some problems, I don't know if all.

 From other people I know (I haven't tested myself) QT version works fine.


 cobines

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-19 Thread Felipe Monteiro de Carvalho
I use neither Ubuntu nor Gnome nor Unity, but I'm curious:

1 Are other applications broken too?

2 Using LCL-Qt the problems appear too?

3 Using LCL-fpgui (but obviously not in the IDE) the problems appear too?

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-18 Thread Andrew Brunner
I've been struggling with Lazarus and Gnome shell running Ubuntu
11.10.  Find dialogs, tabs, and Menus don't work.  Anyone working on
any of this?

While I don't encourage development on Unity shell, I do think that it
is essential for Lazarus IDE to support latest Gnome variations.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus