Lazarus

Programming => Widgetset => GTK => Topic started by: Groffy on May 08, 2015, 08:29:09 am

Title: VirtualStringTree not movable during design time
Post by: Groffy on May 08, 2015, 08:29:09 am
Linux Mint 17.1 KDE - 64bit / Lazarus 1.4 - 64bit / VirtualStringTree source from

https://svn.code.sf.net/p/lazarus-ccr/svn/components/virtualtreeview-new/branches/4.8

After placing a VirtualStringTree /VirtualDrawTree component on the form, its resizable but not movable on the form.

This issue seems only with the gtk2 widgetset, when recompile Lazarus against qt the component behaviour is as expected.


Regards - Ulrich
Title: Re: VirtualStringTree not movable during design time
Post by: LuizAmérico on May 08, 2015, 11:49:11 pm
Fixed in VTV svn
Title: Re: VirtualStringTree not movable during design time
Post by: Groffy on May 09, 2015, 07:58:16 am
Trunk is currently not compiling under Linux

VirtualTrees.pas(34463,23) Error: Identifier not found "LOCALE_USER_DEFAULT"
VirtualTrees.pas(34463,44) Error: Identifier not found "LOCALE_IMEASURE"

I'm compiling against qt widgets, so I'm fine with branch 4.8

Ulrich
Title: Re: VirtualStringTree not movable during design time
Post by: JD on May 09, 2015, 10:07:23 am
Fixed in VTV svn

Hi there Luiz, Thanks for your good work. Is the latest trunk version close to VTV 5.x for Delphi or is it fixes to the 4.8 series?

JD
Title: Re: VirtualStringTree not movable during design time
Post by: LuizAmérico on May 09, 2015, 11:49:15 am
Trunk = 5.x
Fixed compilation in Linux yesterday

@Ulrich
Are you using 64bit?

I tested with gtk2 32bit and works
Title: Re: VirtualStringTree not movable during design time
Post by: LuizAmérico on May 09, 2015, 11:50:04 am
@Ulrich
I fixed in 4.8 branch
Title: Re: VirtualStringTree not movable during design time
Post by: Groffy on May 09, 2015, 02:54:11 pm
Hello Luiz,

yes, I have set another computer with Linux Mint 17.1 KDE - 64bit / Lazarus 1.4 64bit - qt

Thank you for careing for one of my favorite controls!

Regards Ulrich
Title: Re: VirtualStringTree not movable during design time
Post by: JD on May 09, 2015, 09:52:09 pm
Fixed in VTV svn

That's great Luiz. I've been waiting for that for a while. Can you please give me a link to the svn.

Thanks,

JD
Title: Re: VirtualStringTree not movable during design time
Post by: Groffy on May 10, 2015, 07:38:35 am
@Luiz,

@Ulrich
Are you using 64bit?

I tested with gtk2 32bit and works

sorry, my last post wasn't clear. Its working now under 64bit against gtk2 widgetset!

Thank you!
Title: Re: VirtualStringTree not movable during design time
Post by: krzynio on June 12, 2015, 08:44:02 am
Hi!
Did you solve the below problem under linux (Debian testing + Lazarus trunk + FPC 2.6.4)?

VirtualTrees.pas(34463,23) Error: Identifier not found "LOCALE_USER_DEFAULT"
VirtualTrees.pas(34463,44) Error: Identifier not found "LOCALE_IMEASURE"
Title: Re: VirtualStringTree not movable during design time
Post by: Groffy on June 12, 2015, 09:07:30 am
VirtualTrees.pas(34463,23) Error: Identifier not found "LOCALE_USER_DEFAULT"
VirtualTrees.pas(34463,44) Error: Identifier not found "LOCALE_IMEASURE"

Hello,

not really, these both constant values are inside a conditional compile switch. It defines a paper format, I guess when printing  the tree. I don't use that anyway.

 {$ifndef INCOMPLETE_WINAPI}
..

So I just set a

 {$define INCOMPLETE_WINAPI}

at the beginning of the unit. Works for me :-)


Regards - Ulrich


TinyPortal © 2005-2018