Re: [Lazarus] Problem with non-ascii chars fpc-3.0.0 vs fpc-3.1.1 under Windows

2016-04-29 Thread zeljko
On 04/28/2016 02:26 PM, Bart wrote: Example with set zeljko=äëï Result of StringCodePage in sqaure brackets: GetEnvironmentVariableUtf8: zeljko = $C3 $A4 $C3 $AB $C3 $AF [0] GetEnvironmentVariable with UnicodeString: zeljko = $00E4 $00EB $00EF [1200] UTF16ToUTF8 on result of previous line

Re: [Lazarus] Problem with non-ascii chars fpc-3.0.0 vs fpc-3.1.1 under Windows

2016-04-27 Thread zeljko
On 04/27/2016 09:00 PM, Mattias Gaertner wrote: On Wed, 27 Apr 2016 20:30:43 +0200 zeljko <zel...@holobit.net> wrote: Hi, Just run into problem with fpc-3.0.0, OS Windows-10 64bit, 32bit application, lazarus trunk qtlcl and win32 ws both have same problem. fpc-3.1.1 (18.01.2016) is c

[Lazarus] Problem with non-ascii chars fpc-3.0.0 vs fpc-3.1.1 under Windows

2016-04-27 Thread zeljko
)); OEMToAnsiBuff(@S[1], @S1[1], length(S1)); Result := S1; {$ENDIF} end; So, my question would be: is it known bug in 3.0.0 and will be fixed in 3.0.2 or it's already merged in fixes_3_0 or I can sit and cry...or I'm missing something ? Thanks zeljko

Re: [Lazarus] PopupMenue Editor --> Access Violation

2016-04-20 Thread Zeljko
On 04/20/2016 09:41 AM, Juha Manninen wrote: On Wed, Apr 20, 2016 at 10:39 AM, Zeljko <zel...@holobit.net> wrote: Maybe you should open an issue about it. Yes, with clear steps to reproduce. Right now opened project, right clicked on PopupMenu and tried to add item above firs

Re: [Lazarus] Adding TListView.GetHeaderHeight

2016-04-12 Thread Zeljko
On 04/12/2016 12:39 PM, Denis Kozlov wrote: On 12 April 2016 at 08:29, Zeljko <zel...@holobit.net <mailto:zel...@holobit.net>> wrote: On 04/11/2016 05:29 PM, Denis Kozlov wrote: Is it possible to add a TListView.GetHeaderHeight method? My implementation

Re: [Lazarus] Adding TListView.GetHeaderHeight

2016-04-12 Thread Zeljko
On 04/11/2016 05:29 PM, Denis Kozlov wrote: Hi, Is it possible to add a TListView.GetHeaderHeight method? My implementation for Windows as a standalone function is attached. Can this can be done on other platforms? I don't have the expertise in other widgets. AFAIK yes. zeljko

Re: [Lazarus] TScrollbar users

2016-04-10 Thread Zeljko
On 04/10/2016 08:01 PM, Mattias Gaertner wrote: On Sun, 10 Apr 2016 19:24:31 +0200 Zeljko <zel...@holobit.net> wrote: Hi all, Today I've fixed longstanding bug with TScrollbar and max allowed position of thumb. http://bugs.freepascal.org/view.php?id=20127 Now , gtk2 (gtk lib >=

[Lazarus] TScrollbar users

2016-04-10 Thread Zeljko
roblem since I want to merge those fixes into 1.6.2. P.S: Carbon users feedback is badly needed (haven't touch anything on osx yet ... too far away from my mac machine till next sunday) Thanks. zeljko -- ___ Lazarus mailing list L

Re: [Lazarus] Bashing the developers

2016-04-09 Thread Zeljko
On 04/09/2016 09:40 PM, Marc Santhoff wrote: Open Source is about helping to make things happen, not demanding others to do so. +1 zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] German umlauts in component names

2016-04-08 Thread Zeljko
email or to list ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Search dialog scope

2016-04-07 Thread Zeljko
esterday's version) Same thing is killing me. Always have to check "Selection" manually :( zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus 1.6 , Sparta and Qt

2016-04-05 Thread Zeljko
not 1.6 fixes since many commits isn't merged into 1.6. So, definitive answer will be NO. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] System variables visibility

2016-03-31 Thread zeljko
/lib/oracle And all of that is to satisfy LD_LIBRARY_PATH. ORACLE_HOME is oracle only env variable, so maybe you must export it all the time via script or add it to $HOME/.bashrc so it will be always exported after login. zeljko -- ___ Lazarus mailing

Re: [Lazarus] Building Lazarus for QT or GTK2 under windows

2016-03-29 Thread zeljko
E". Target OS: Win32, Target CPU: i386 Rebuilding from the Configure "Build Lazarus" by clicking "Build" You must choose Qt as widgetset here in this dialog. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.o

Re: [Lazarus] SVN - SIGSEGV in external C lib when Lazarus in Debug mode (Qt)

2016-03-23 Thread Zeljko
of main thread is a big no-no, for that purpose you must use QImage. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus svn trunk compilation broken under Windows

2016-03-07 Thread zeljko
lation aborted Please review attached patch and apply if ok. Pls open an issue about it (if it's not fixed already) and attach patch. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Form Resizing

2016-03-07 Thread zeljko
uild an *application* with gtk3 without rebuilding the whole Lazarus environment first, is this the case? That's not true. You can build lazarus for qt or gtk2 and build gtk3 app without problem. Note that gtk3 is really alpha, most of winapi isn't imple

Re: [Lazarus] Form Resizing

2016-03-01 Thread zeljko
happened. Probably because of recent mouse clicks changes by Ondrej. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Form Resizing

2016-03-01 Thread zeljko
On 03/01/2016 11:51 AM, Juha Manninen wrote: On Tue, Mar 1, 2016 at 11:44 AM, Péter Gábor wrote: Yes! I'm updating mantis with the information immediately... Most likely a GTK2 library version dependent issue. I've fixed that issue (gtk3 also). z. --

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-27 Thread Zeljko
On 02/26/2016 05:36 PM, Denis Kozlov wrote: @zeljko I've just tested your fixes in latest TRUNK on Windows 7 and it's looking good! Have you considered changing the behaviour where the modal form is getting squashed into a corner when application gets minimized? Instead of squashing every

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-27 Thread Zeljko
On 02/26/2016 05:36 PM, Denis Kozlov wrote: @zeljko I've just tested your fixes in latest TRUNK on Windows 7 and it's looking good! Have you considered changing the behaviour where the modal form is getting squashed into a corner when application gets minimized? Instead of squashing every

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-27 Thread Zeljko
On 02/26/2016 05:36 PM, Denis Kozlov wrote: @zeljko I've just tested your fixes in latest TRUNK on Windows 7 and it's looking good! Have you considered changing the behaviour where the modal form is getting squashed into a corner when application gets minimized? Instead of squashing every

Re: [Lazarus] Problem with lazarus + fpc-3.0.0 under windows 10

2016-02-25 Thread Zeljko
On 02/24/2016 03:53 PM, Zeljko wrote: On 02/24/2016 03:20 PM, Zeljko wrote: 1.Fpc-3.0.0 2.Lazarus today trunk. 3.Windows 10 pro 64bit in vmware virtual machine Builds fine, works fine. Now I'm trying to install dozen of my own packages...last one is virtualtrees package, in message window

Re: [Lazarus] Problem with lazarus + fpc-3.0.0 under windows 10

2016-02-24 Thread Zeljko
On 02/24/2016 03:20 PM, Zeljko wrote: 1.Fpc-3.0.0 2.Lazarus today trunk. 3.Windows 10 pro 64bit in vmware virtual machine Builds fine, works fine. Now I'm trying to install dozen of my own packages...last one is virtualtrees package, in message window I can see: Linking lazarus

[Lazarus] Problem with lazarus + fpc-3.0.0 under windows 10

2016-02-24 Thread Zeljko
win32 and qt widgetsets under windows 10 pro. So, anyone spotted such problem ? That works fine with fpc-2.6.4 (virtual machine also but with Win7 64 pro) Is there any workaround ? zeljko -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] revision 51597 attn Ondrej

2016-02-14 Thread zeljko
On 02/14/2016 03:01 PM, zeljko wrote: In that revision you added RecreateWnd() for modal forms. Why ? Now in console we have warnings about it... IMO: 1.it's wrong to call RecreateWnd() if handle isn't allocated yet There shuold be added if (popupMode = pmNone) and HandleAllocated, otherwise

[Lazarus] revision 51597 attn Ondrej

2016-02-14 Thread zeljko
. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-10 Thread zeljko
message. But where ? In LCL or per widgetset ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-10 Thread zeljko
On 02/10/2016 12:48 PM, Giuliano Colla wrote: Il 10/02/2016 12:31, zeljko ha scritto: On 02/10/2016 11:19 AM, Giuliano Colla wrote: This I believe to be the problem. From the observations from Denis I realized that my code isn't protected against recursion, but I believe

Re: [Lazarus] Lazarus application crash. Is PostMessage thread safe?

2016-02-09 Thread zeljko
) with QtLCL inside one app which heavily uses threads for gui controls updates and it works w/o problems, atm, one of our users have that app running, uptime is cca 90 days (since last update). I don't use such lists, but creating record pointer and free it in main thread message queue..

[Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
question is: What's exact behaviour of Delphi apps under windows in this case ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:28 AM, Graeme Geldenhuys wrote: On 2016-02-08 10:24, zeljko wrote: Some window managers (eg JWM and xfce AFAIR) refuse to show minimize button on modal windows. I do fully understand that X11 window manager can decide to to show and what not to show But, fpGUI's modal

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:00 AM, Ondrej Pokorny wrote: On 08.02.2016 10:46, zeljko wrote: 2.Change default behaviour - minimized modal form minimizes complete app. I like how it works under X11 eg minimizing Lazarus About dialog under KDE kwin, minimizes complete app, clicking on app in tray

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
minimize button on modal windows. Under kwin and metacity you can see minimize button if you enabled it. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 10:26 AM, Graeme Geldenhuys wrote: On 2016-02-08 08:02, zeljko wrote: X11: Minimizing modal form minimizes complete application. (qt, gtk2) Well, under X11 it is hard to find an application with a modal dialog to start with. Modal dialogs are considered very bad design (read

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
in Issue 1. This is my opinion (as a software developer with 15 years experience). Your opinion is correct. Thanks for the info, I'll assign that issue to my self and fix it soon. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] 3D Window Manager / Desktop environment in Object Pascal

2016-01-27 Thread Zeljko
part of wm :))) and some other modules like system viewer :) and yes, I have same thoughts about port but no free time to start that. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] New menu editor's in-place "Edit Caption" feature + QT

2016-01-20 Thread Zeljko
and it works fine with Qt linux 64bit. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] New menu editor's in-place "Edit Caption" feature + QT

2016-01-15 Thread Zeljko
On 01/14/2016 10:53 PM, Juha Manninen wrote: The new menu editor has a nice feature. Pressing Enter on a menu item lets you edit its caption without moving to Object Inspector. It does not work when IDE is built with QT bindings. It this a known issue? AFAIK no. zeljko

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-08 Thread Zeljko
hat drugs do you use ? Again, this is completely wrong. We are not political or religion organization, we are talking about paint procedure which paints symbol. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.fre

Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-21 Thread zeljko
? Some of the reports are about QT on OS/X. Some are only OS/X without widgetset. Does it mean you used Carbon then? Or does the problem happen with many widgetsets? QT maintainer Zeljko cannot reproduce your issues. I guess nobody can. Hence it makes no sense to open so many reports. You could have one

Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-17 Thread Zeljko
not such problems here). Have you changed Qt version on mac maybe ? Does eg r.50785 works ok ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Wher is combobox in ObjectInspecter ?

2015-12-17 Thread Zeljko
On 12/17/2015 04:11 PM, FreeMan wrote: I have not linux or any win. I'm trying change to that bad resize view to normal. Yesterday change stable version 2.6.4 to 3.0.0 and re install and build fpc and lazarus. Been long time for me (nearly two months) not open and update fpc & lazarus. But

Re: [Lazarus] Please test this page

2015-11-18 Thread Zeljko
On 11/18/2015 10:58 AM, ListMember wrote: http://docs.getlazarus.org/rtl/index-8.html Scrollbars (vertical and horizontal, both) are gone. MouseWheel does not work either. The only means to read past the first page is using PgUp/PgDn. Same here. Fedora 19 64bit, Firefox 34.0 zeljko

Re: [Lazarus] Test This Please

2015-11-06 Thread zeljko
or not, and then you don't need such switches. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Forwarding events/messages

2015-11-05 Thread zeljko
AFAIK forwarding of messages works only on Windows, so if you need it cross-platform, you will have to use "TScrollingWinControl(Parent).ScrollBy (0, ScrollAmount);" in any case. So this should be the correct way to do it. - Zeljko, correct me if I am wrong, you are the speci

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-11-03 Thread zeljko
/lcl/interfaces/gtk2/unitywsctrls.pas#L264 I'll try to implement it in lazarus during weekend. To people with actual SVN commit rights, if this gets add it into the LCL could you remember to add me to the Lazarus contributor lists? Thanks. Sure. zeljko

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-11-03 Thread zeljko
of unity on ubuntu, but unity trayicon lib is installed, so it'll load unity trayicon instead of xorg one (afair from looking into sources of that patch). zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
On 10/28/2015 01:48 PM, Tomaž Žveglič wrote: Thanks Željko for your help. I owe you beer. Do you have bitcoin address? No, but thanks for good will :) zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] How to create a non focusable form?

2015-10-28 Thread Zeljko
On 10/28/2015 01:06 PM, Gabor Boros wrote: 2015.10.28. 11:51 keltezéssel, Zeljko írta: Ok, then go to QtWSForms, TQtWSCustomForms.UpdateWindowFlags and comment if csNoStdEvents . leave only Flags := Flags or QtX11BypassWindowManagerHint; in this case form will not take focus in any case

Re: [Lazarus] How to create a non focusable form?

2015-10-28 Thread Zeljko
On 10/28/2015 01:06 PM, Gabor Boros wrote: 2015.10.28. 11:51 keltezéssel, Zeljko írta: Ok, then go to QtWSForms, TQtWSCustomForms.UpdateWindowFlags and comment if csNoStdEvents . leave only Flags := Flags or QtX11BypassWindowManagerHint; in this case form will not take focus in any case

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
On 10/28/2015 01:36 PM, Tomaž Žveglič wrote: I did as you suggest and I also did similar changes to FontIsMonoSpaceFont. Ok, seem that there's no more help from trial error. I'll check it when I install OpenBSD in virtual machine. zeljko

Re: [Lazarus] How to create a non focusable form?

2015-10-28 Thread Zeljko
On 10/28/2015 01:06 PM, Gabor Boros wrote: 2015.10.28. 11:51 keltezéssel, Zeljko írta: Ok, then go to QtWSForms, TQtWSCustomForms.UpdateWindowFlags and comment if csNoStdEvents . leave only Flags := Flags or QtX11BypassWindowManagerHint; in this case form will not take focus in any case

Re: [Lazarus] How to create a non focusable form?

2015-10-28 Thread Zeljko
On 10/28/2015 03:05 PM, Gabor Boros wrote: 2015.10.28. 14:12 keltezéssel, Zeljko írta: Please check with attached patch (same name as previous one). Seem that our C bindings does not have all attributes translated since they did not exist in Qt-4.5, but sometime later. I've added strict X11

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
where gtkAdjustment is param. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
#6 0x00a1bae4 in CREATEFORMCONTENTS (AFORM=0x2c31ef530, FORMWIDGET=0x2887b8500, AWIDGETINFO=0x282a0bb20) at gtk2proc.inc:7485 huh ?!? There's simple pointer assignment at this point FormWidget := Result ... definitelly must install openbsd and see what's up. zeljko

Re: [Lazarus] How to create a non focusable form?

2015-10-28 Thread Zeljko
On 10/27/2015 05:07 PM, Gabor Boros wrote: 2015.10.27. 16:16 keltezéssel, Zeljko írta: csNoFocus does not work for Qt ? Can you provide example ? For Qt: before example try to include qt4 and qtwidgets into your unit and then in CreateWnd of your custom form (or after form handle is created

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
, @DummmyCharHeight); Result:=(SingleCharLen=0) and (DoubleCharLen>0); end; now test zeljko #9 0x00a306b2 in UPDATEDCTEXTMETRIC (this=0x21dbb6650, DC=0x2ada92240) at gtk2widgetset.inc:5913 #10 0x00a3fd21 in GETTEXTMETRICS (this=0x21dbb6650, DC=11503477312,

Re: [Lazarus] How to create a non focusable form?

2015-10-28 Thread Zeljko
On 10/28/2015 11:43 AM, Gabor Boros wrote: 2015.10.28. 10:59 keltezéssel, Zeljko írta: Please test with attached patch and give feedback. Note that this patch is tested under Qt X11 only. zeljko With the original example works but... Modified the example... procedure TForm1.Button1Click

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-27 Thread Zeljko
)); // add gtkAdjustment instead of nil end I know that this will create memleak, but just want to know if it will crash when gtkAdjustment is added as param to gtk_vscrollbar_new() Thanks zeljko -- ___ Lazarus mailing li

Re: [Lazarus] How to create a non focusable form?

2015-10-27 Thread Zeljko
On 10/27/2015 04:16 PM, Zeljko wrote: On 10/27/2015 04:04 PM, Gabor Boros wrote: Hi All, I want to create a borderless non modal form (native Windows and Linux-Qt) which not catch the focus on mouse click. Tried with modified ControlStyle and CanFocus override but without success. Any

Re: [Lazarus] How to create a non focusable form?

2015-10-27 Thread Zeljko
(QtNoFocus); zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to create a non focusable form?

2015-10-27 Thread Zeljko
On 10/27/2015 05:07 PM, Gabor Boros wrote: 2015.10.27. 16:16 keltezéssel, Zeljko írta: csNoFocus does not work for Qt ? Can you provide example ? For Qt: before example try to include qt4 and qtwidgets into your unit and then in CreateWnd of your custom form (or after form handle is created

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Zeljko
gtk+2 2.24.28 glib2 2.44.1 Can you start lazarus via gdb and send backtrace ? Buld lazarus with -gl and gdb ./lazarus run ---crash bt now copy backtrace here zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Zeljko
OpenBSD 5.8 32bit (i386) version and lazarus works fine. Probably because of glib2/gtk2 libs diff. What's glib2 version ? What's gtk2 version ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Finding memory leaks

2015-10-25 Thread Zeljko
memory usage while running. Did I miss something obvious? Maybe TObjectlist.Clear does not free objects, in that case you have to iterate through TObjectList and use Remove() which will free objects ? zeljko -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-21 Thread Zeljko
that it should work on headless linux machine (eg cross compiled for gtk2/qt). zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus implementation of TListView etc?

2015-10-21 Thread Zeljko
On 10/21/2015 02:37 PM, Mark Morgan Lloyd wrote: Zeljko wrote: On 10/21/2015 02:18 PM, Mattias Gaertner wrote: Under Linux/BSD every program is a command line program. It is, but with exception that qtlcl and gtk2lcl cannot run on headless linux machine. I'm giving this objection since

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
one is operating normally and where to start fix my control on Linux or Windows). Probably platform diff. Qt have mechanism to dissalow focus switch via mouse but I could not find any in LCL. Try with gtk2. zeljko -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
On 10/19/2015 02:56 PM, Gabor Boros wrote: 2015.10.19. 14:40 keltezéssel, Zeljko írta: Probably platform diff. Qt have mechanism to dissalow focus switch via mouse but I could not find any in LCL. Try with gtk2. If modify the example... with TMyControl.Create(Self) do begin

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
On 10/19/2015 03:32 PM, Gabor Boros wrote: 2015.10.19. 15:18 keltezéssel, Zeljko írta: Yes, now I remember that I've implemented csNoFocus in Qt some time ago,so it works. What about selection ? If added csNoFocus caret not moved in Edit1 (which is good) just text selection lost if click

Re: [Lazarus] TCustomControl focus handling difference

2015-10-19 Thread Zeljko
On 10/19/2015 04:54 PM, Gabor Boros wrote: 2015.10.19. 16:15 keltezéssel, Zeljko írta: Please open an issue about it and attach example project. I'll check if it's Qt lib bug or lclqt one. zeljko http://bugs.freepascal.org/view.php?id=28880 Thanks. zeljko

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-17 Thread Zeljko
works like a charm after patch applied, but with Form1 works like before patch. I don't understand. Can you explain better what's exact problem ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 02:02 PM, Gabor Boros wrote: 2015.10.16. 13:41 keltezéssel, Zeljko írta: Please try with attached patch. In this case you can test without FormStyle := fsStayOnTop. FYI, in this patch I'm setting stayontop for X11 so that could make a problem. Test with this patch and let me

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
it won't be forgotten. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
under Form2. I reported some problem earlier as bug in the tracker but revealed just lack of my knowledge. Now try this place first... You can set FormStyle := fsStayOnTop for that popup form so you'll achieve that effect. zeljko -- ___ Lazarus

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 01:33 PM, Gabor Boros wrote: 2015.10.16. 13:14 keltezéssel, Zeljko írta: You can set FormStyle := fsStayOnTop for that popup form so you'll achieve that effect. zeljko I tried this before wrote to the list but have a side effect. The green form showed above all other opened

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
Another patch is attached (it uses cheat via QtTool flag instead QtWindowStaysOnTop) ... let me know if this one is what you want. zeljko Index: lcl/interfaces/qt/qtwsforms.pp === --- lcl/interfaces/qt/qtwsforms.pp (revision 50082

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 02:44 PM, Gabor Boros wrote: 2015.10.16. 14:15 keltezéssel, Zeljko írta: Is fsStayOnTop working properly? Because I see fsSystemStayOnTop exists too. Under X11 they're same. Pls, try another patch which uses another approach (I've sent it in previous mail). I nor see

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-10-12 Thread zeljko
guess that it should not be an issue). zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Patch for TTrayIcon on Ubuntu's Unity

2015-10-12 Thread zeljko
18 ok, thanks. Can you provide result of TGtk2WidgetSet.GetWindowManager when you running simple app under unity ? zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] lazcontrols filters

2015-10-11 Thread zeljko
. That's because rekonq uses kdelibs which have their own implementation of QLineEdit. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] lazcontrols filters

2015-10-11 Thread zeljko
won't paint it again. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] how to find this error?

2015-06-29 Thread zeljko
until there's no paintevent on TQtWidget handle, so that may be problem. Try to use temporary bitmap for text measuring and see if it works. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Beyond Compare finally moved to LCL

2015-06-27 Thread zeljko
get same look at all platforms with eg. -style windows ... which uses win95 style). QtLCL is also LCL. IMO, gtk2 (and gtk3) is kinda of kindergarten library and it'll never fit lcl needs. zeljko -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Beyond Compare finally moved to LCL

2015-06-27 Thread zeljko
) but it works :) zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus - Disk Full error

2015-06-18 Thread zeljko
times but only when rebuilding some project (yes, there's enough free space on disk), never spotted it with your examples. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread zeljko
) for commercial (database related) appshaven't spotted problems. Be aware of 64bit QtLCL (Qt Cocoa 64bit) because of Qt bugs with modal windows. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread zeljko
On 06/15/2015 05:04 PM, Graeme Geldenhuys wrote: On 2015-06-15 15:44, zeljko wrote: I'm using it (LCL-Qt 32bit...qt-4.7.4 carbon) for commercial (database related) appshaven't spotted problems. Good to know, thanks. For now I'll stick to LCL-Carbon, seeing that Lazarus IDE uses it too

Re: [Lazarus] Lazarus trunk (r49079) does not compile on MAC

2015-05-18 Thread zeljko
On 05/18/2015 02:41 PM, Torsten Bonde Christiansen wrote: make clean all CPU_TARGET=i386 I guess that Lazarus defaults to stabs. That doesn't matter at all. fpc-2.6.4 is the only stable compiler atm and it should compile lazarus (yes, even trunk lazarus). zeljko

Re: [Lazarus] Lazarus trunk (r49079) does not compile on MAC

2015-05-18 Thread zeljko
On 05/18/2015 02:26 PM, Martin Frb wrote: On 18/05/2015 09:10, zeljko wrote: On 05/18/2015 09:58 AM, Torsten Bonde Christiansen wrote: lib/i386-darwin/lazlistclasses.s:12244:invalid character '_' in mnemonic lib/i386-darwin/lazlistclasses.s:12354:invalid character '_' in mnemonic lib/i386

Re: [Lazarus] Lazarus trunk (r49079) does not compile on MAC

2015-05-18 Thread zeljko
On 05/18/2015 02:58 PM, Martin Frb wrote: On 18/05/2015 13:39, zeljko wrote: fpc-2.6.4 i386 So everything is default. And default is stabs, and does not work. Well 1 minute ago, I worked out how to conditionally change it for order fpc, and committed this. This will only work if building

Re: [Lazarus] Lazarus trunk (r49079) does not compile on MAC

2015-05-18 Thread zeljko
module, stopping Fatal: (1018) Compilation aborted make[1]: *** [lazutils.ppu] Error 1 make: *** [lazutils] Error 2 It does not compile on linux too. Reason: r49054 and r49054 by Martin. zeljko -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Qt doesn't return proper DC Device Size

2015-05-16 Thread zeljko
(i.e. if DC=0). For sake of completeness, GTK2 returns the proper size. Can it be fixed? Of course. Pls. open an issue about it. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Qt doesn't return proper DC Device Size

2015-05-16 Thread zeljko
(i.e. if DC=0). For sake of completeness, GTK2 returns the proper size. Can it be fixed? And attach example project please. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Lazarus Qt support and Wiki

2015-05-15 Thread zeljko
page which is outdated with respect of Qt support, I do edit it to reflect the current status of things? Any objections? Of course that there's no objections. Just do it. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Is TMemo.CaretPos.Y defined in the Qt widgetset?

2015-05-11 Thread zeljko
1.4 release. Probably not implemented. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] LCL-Qt on CentOS 6.6 64-bit

2015-04-29 Thread zeljko
, but clearly it doesn't on my system. I also tried to compile my own libQtPas bindings - I could never do it before, and no difference now. :-/ Just install qt devel packages and rebuild libQt4Pas against yours 4.6.2. zeljko -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Is Sekelsenmat aka Felipe still around here?

2015-04-27 Thread zeljko
On 04/26/2015 08:06 PM, Samuel Herzog wrote: Hello Mailing-List, is Felipe still active here in the Lazarus-World? Yes. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread zeljko
On 04/26/2015 01:41 PM, Juha Manninen wrote: On Sun, Apr 26, 2015 at 1:26 PM, Michael Van Canneyt mich...@freepascal.org wrote: Is there such a thing for Lazarus' TEdit and related controls ? if not, is it planned ? It is planned : http://bugs.freepascal.org/view.php?id=21307 I don't know

  1   2   3   4   5   6   7   8   9   >