[Lazarus] Cocoa: TScrollBar click and drag the bar does not work

2024-05-15 Thread Andrea Mauri via lazarus
Hi, I wrote on the forum but I got no answers ( https://forum.lazarus.freepascal.org/index.php/topic,67225.0.html). I noticed that using Lazarus fixes 3_0 branch the TScrollBar does not work properly. In order to reproduce the issue just place a TScrollBar on a form and run the project. If you clic

Re: [Lazarus] svn update can't be compiled

2020-02-25 Thread Andrea Mauri via lazarus
Thanks, I can compile Lazarus now. On Tue, 25 Feb 2020 at 11:07, Juha Manninen via lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Tue, Feb 25, 2020 at 11:53 AM Andrea Mauri via lazarus > wrote: > > I get the same error on MacOS > > There is a fix/workaround in

Re: [Lazarus] svn update can't be compiled

2020-02-25 Thread Andrea Mauri via lazarus
I get the same error on MacOS On Mon, 24 Feb 2020 at 16:24, John Landmesser via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hi, > > Info: > > Lazarus 2.1.0 r62571M FPC 3.0.4 x86_64-linux-gtk2 > > error compiling the IDE: > > Lazarus-Quelltext aufräumen: Erfolg > Kompiliere Package FCL 1.0.1

Re: [Lazarus] laz fixes 2.0 error on macOS cocoa

2019-07-29 Thread Andrea Mauri via lazarus
Updated and compiled. Thank you! Il giorno lun 29 lug 2019 alle ore 14:41 Dmitry Boyarintsev via lazarus < lazarus@lists.lazarus-ide.org> ha scritto: > Try to update to r61642 > > On Mon, Jul 29, 2019 at 7:54 AM Andrea Mauri via lazarus < > lazarus@lists.lazarus-ide.org&

[Lazarus] laz fixes 2.0 error on macOS cocoa

2019-07-29 Thread Andrea Mauri via lazarus
Dear All, I updated my svn: URL: https://svn.freepascal.org/svn/lazarus/branches/fixes_2_0 Relative URL: ^/branches/fixes_2_0 Repository Root: https://svn.freepascal.org/svn/lazarus Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f Revision: 61640 When I try to build lazarus I get: Ass

[Lazarus] sharing units between lazarus and delphi

2019-04-01 Thread Andrea Mauri via lazarus
Dear all, I have a project fully developed on Lazarus. It is a desktop application running on win, linux and mac. I would like to test Delphi in order to try to build a mobile application using my lazarus units. I can suppose to divide my units in those that should act exactly the same and those th

Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-26 Thread Andrea Mauri via lazarus
> Have you posted this bug on bugtracker? >> Any news about it? >> >> Reported as 0035279 Andrea -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-26 Thread Andrea Mauri via lazarus
> > Have you posted this bug on bugtracker? > Any news about it? > > > Dear Marcos, I have no updates on this, I have not yet posted on bugtracker. I will do ASAP. Thank you, Andrea -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.

Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-13 Thread Andrea Mauri via lazarus
> > > Graeme, if VTV code is good then blurring problem can be solved - by > setting DblBuffered to false, no? > DoubleBuffered, True or False does not have any effect. Andrea -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.laza

Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-13 Thread Andrea Mauri via lazarus
> > It looks like VirtualTreeView is not Hi-DPI aware. Just a guess, but it > seems that it is generating the treeview rendering on a internal image > buffer (not hi-dpi sized), and then when blitting that to the actual > window canvas, the image gets scaled - hence the pixelation. I didn't > actua

[Lazarus] VirtualTreeView rendering on Cocoa

2019-03-12 Thread Andrea Mauri via lazarus
Dear All, I noticed that text and images drawn in VirtualTreeView using Cocoa are not well defined, quite blurry with respect to the other component (labels fonts, images...). Why? There is something that can be done to draw properly on Virtualtreeview too? See attached image of the OnlinePakcageMa

Re: [Lazarus] Lazarus Release Candidate 1 of 2.0

2018-09-26 Thread Andrea Mauri via Lazarus
I have issues with TListView and cocoa using lazarus trunk. I didn't tested on Lazarus 2.0 RC1. See forum post: http://forum.lazarus.freepascal.org/index.php/topic,42671.0.html Il 19/09/2018 13:50, Mattias Gaertner via Lazarus ha scritto: The Lazarus team is glad to announce the first release c

[Lazarus] Thistoryfiles carbon issue

2018-02-05 Thread Andrea Mauri via Lazarus
Dear all, I am using THistoryFiles (http://wiki.freepascal.org/HistoryFiles) in a project running on linux/win/osx. I have an issue with THistoryFiles on Carbon. Specifically, the issue is related to historyfiles.pas when clicking on a recent menu item. When a recent menu item is clicked an event i

Re: [Lazarus] Lazarus Release 1.8

2017-12-18 Thread Andrea Mauri via Lazarus
/Listeners PATH=/usr/bin:/bin:/usr/sbin:/sbin LOGNAME=giacca XPC_SERVICE_NAME=lazarus.freepascal.ide.8732 USER=giacca 2017-12-15 12:11 GMT+01:00 Mattias Gaertner via Lazarus < lazarus@lists.lazarus-ide.org>: > On Wed, 13 Dec 2017 12:44:19 +0100 > Andrea Mauri via Lazarus wrote: > >

Re: [Lazarus] Lazarus Release 1.8

2017-12-14 Thread Andrea Mauri via Lazarus
Anyone has suggestions? Il 13/12/2017 12:44, Andrea Mauri ha scritto: I am trying to update to lazarus 1.8 on my OSX (I was using 1.6.4). I downloaded and installed, fpc, fpc src and lazarus. First run is ok. Then if I recompile lazarus (clean build all) everything seems to be ok but if I try t

Re: [Lazarus] Lazarus Release 1.8

2017-12-13 Thread Andrea Mauri via Lazarus
I am trying to update to lazarus 1.8 on my OSX (I was using 1.6.4). I downloaded and installed, fpc, fpc src and lazarus. First run is ok. Then if I recompile lazarus (clean build all) everything seems to be ok but if I try to start lazarus I got an error message. See message1. I close the messa

[Lazarus] hints from comments

2017-12-13 Thread Andrea Mauri via Lazarus
I noticed a strange behaviour in hints for comments if used in the first line of my units. The hint does not appear if in the first line of my unit I simply put {comment} It is shown if I put an empty line as first line. See images. [image: Immagine incorporata 1][image: Immagine incorporata 2][im

Re: [Lazarus] fpReport - can not render pagefooter

2017-09-28 Thread Andrea Mauri via Lazarus
Il 28/09/2017 12:15, Michael Van Canneyt via Lazarus ha scritto: Normally you can, but you will need to copy some additional units from the trunk version of the FPC source repo (in particular, fpexprpars, and fcl-pdf) fpReport is in production use with 2.6.4 as the compiler. I downloaded fcl-r

Re: [Lazarus] fpReport - can not render pagefooter

2017-09-28 Thread Andrea Mauri via Lazarus
Il 27/09/2017 12:50, Graeme Geldenhuys via Lazarus ha scritto: ps: Note that I compiled your project using the latest fpReport from FPC Trunk. I simply set the correct Unit Source Path in the project. You don't need to use FPC Trunk compiler - I used FPC 2.6.4. What are the minimum requir

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-09 Thread Andrea Mauri via Lazarus
Il 06/09/2017 19:45, Andrea Mauri ha scritto: 2017-09-06 19:34 GMT+02:00 Sven Barth via Lazarus mailto:lazarus@lists.lazarus-ide.org>>: Maybe your file is not suitable? I used a /var/log/messages.log file from one of my Linux computers and with that I can reproduce it with the given

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-06 Thread Andrea Mauri via Lazarus
2017-09-06 19:34 GMT+02:00 Sven Barth via Lazarus < lazarus@lists.lazarus-ide.org>: > Maybe your file is not suitable? I used a /var/log/messages.log file from > one of my Linux computers and with that I can reproduce it with the given > code. > > Regards, > Sven > > > They are plain text file. At

[Lazarus] savedialog carbon osx

2017-09-06 Thread Andrea Mauri via Lazarus
Dear all, I have an issue with tsavedialog on OS X (laz 1.6.4, fps 3.0.2). If I execute the dialog and select a file in Documents folder then I execute again the dialog the filename is highlighted in the savedialog, I just press Save and the file name I messed up, the filename include the previous

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-06 Thread Andrea Mauri via Lazarus
Note that his example works on my Mac with or without sleep. Maybe if Andrea posts his full example we may find out more. Mattias Unfortunately I cannot post the real case, it is included in a bigger unit involving other stuffs. Anyway the example I posted is quite the same. In order to bet

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-06 Thread Andrea Mauri via Lazarus
2017-09-06 16:26 GMT+02:00 el es via Lazarus : > > Can you try ThreadSwitch after Sleep ? > > while (not Terminated) do > begin > if eof(f) then > reset(f); > ReadLn(f, newStatus); > if NewStatus <> fStatusText then > begin > fStatusText := newStatus; >

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-06 Thread Andrea Mauri via Lazarus
Il 05/09/2017 22:51, Sven Barth via Lazarus ha scritto: It is however solved if you add a "Yield;" after the Synchronize call. So my suspicion is that the scheduling of Mac OS X is somehow messing things up. Either the scheduling is favoring the one thread while it shouldn't (though even reducin

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-05 Thread Andrea Mauri via Lazarus
> I notice that multiple people have already told you not to use a tight > loop, and that applies to any OS. > > > What exactly means tight? Is it something that I could measure in some way? The sample test I submitted to the forum is not my real code, that is a little more complex, and it does any

[Lazarus] custom thread reading file does not respond properly

2017-09-05 Thread Andrea Mauri via Lazarus
Dear all, I have an issue using threads on OSX. Basically I have a thread reading a file and looking for a string match. I have no problem on win and linux but on osx my thread updates the form but my application does not respond. I opened a topic on the forum (https://forum.lazarus.freepascal.

[Lazarus] TCheckListBox OnClickCheck on OSX

2017-09-01 Thread Andrea Mauri via Lazarus
I noticed a different behaviour of OnCLickCheck event between win and osx. In win I can do the following, Since ItemIndex is updated before ClickCheck event: procedure TForm1.CheckListBox1ClickCheck(Sender: TObject); begin label1.caption:= inttostr(CheckListBox1.ItemIndex); end; while on OSX

Re: [Lazarus] TFilenameedit onchange osx

2017-08-31 Thread Andrea Mauri via Lazarus
Il 25/08/2017 19:15, Juha Manninen via Lazarus ha scritto: I don't know. I don't have a Mac. In general contributors / developers just have to learn the code by debugging and experimenting, little by little. There is no shortcut for it really. Got it. Ok, congratulations. :) That may hinde

Re: [Lazarus] TFilenameedit onchange osx

2017-08-25 Thread Andrea Mauri via Lazarus
Il 25/08/2017 12:06, Juha Manninen via Lazarus ha scritto: On Wed, Aug 23, 2017 at 1:28 PM, Andrea Mauri via Lazarus wrote: any chance to fix them? how can I help? You can help by providing a patch that fixes them. A valid patch will be applied for sure. I found other similar bug reports and

Re: [Lazarus] TFilenameedit onchange osx

2017-08-23 Thread Andrea Mauri via Lazarus
7 (year 2016) > > Denis > > > > On 22/08/2017 15:34, Andrea Mauri via Lazarus wrote: > >> Dear all, >> >> I noticed that >> TFilenameedit onchange event is raised differently between win-linux and >> osx. >> Windows and Linux behave in the same way,

[Lazarus] TFilenameedit onchange osx

2017-08-22 Thread Andrea Mauri via Lazarus
Dear all, I noticed that TFilenameedit onchange event is raised differently between win-linux and osx. Windows and Linux behave in the same way, osx differently. Onchange event is raised on windows and linux when click ok after file selection. While on osx Onchange is raised only if I directl

Re: [Lazarus] childsizing homogeneous macosx

2017-08-21 Thread Andrea Mauri via Lazarus
done bugid 0032307 Il 21/08/2017 10:19, Mattias Gaertner via Lazarus ha scritto: On Mon, 21 Aug 2017 10:06:23 +0200 Andrea Mauri via Lazarus wrote: Dear all, I noticed that on macosx childiszing is working strangely. If I use homogeneus child resize the controls are not homogeneously

[Lazarus] childsizing homogeneous macosx

2017-08-21 Thread Andrea Mauri via Lazarus
Dear all, I noticed that on macosx childiszing is working strangely. If I use homogeneus child resize the controls are not homogeneously resized. See attached image. Andrea -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.laza

Re: [Lazarus] GetAppConfigDir and GetAppConfigDirUTF8 and Apache

2017-07-06 Thread Andrea Mauri via Lazarus
I have a question related GetAppConfigDir function when the application is called from a script being run by apache. One of my application user gets this result from GetAppConfigDir(False): /root/.config/myappname since my app uses the local config dir to store some files if the directory does n

[Lazarus] GetAppConfigDir and GetAppConfigDirUTF8 and Apache

2017-07-06 Thread Andrea Mauri via Lazarus
Dear all, I have a question related GetAppConfigDir function when the application is called from a script being run by apache. One of my application user gets this result from GetAppConfigDir(False): /root/.config/myappname since my app uses the local config dir to store some files if the di

Re: [Lazarus] LCL on Mac 64 bit

2017-06-16 Thread Andrea Mauri via Lazarus
I hope this helps and doesn't stop you from trying. If your program is open source I could probably give it a try. Michael. Thanks Michael. Unfortunately my application is a commercial application with closed source, anyway I will try for sure! Andrea --

Re: [Lazarus] LCL on Mac 64 bit

2017-06-15 Thread Andrea Mauri via Lazarus
Il 15/06/2017 18:19, Ondrej Pokorny via Lazarus ha scritto: On 15.06.2017 18:08, zeljko wrote: Both qt4 and qt5 works as 64bit w/o problems. I'm using it for our mac apps (complete lazarus build is qtlcl 64bit). Thanks! This is great (and what I expected). We definitely should change the

Re: [Lazarus] LCL on Mac 64 bit

2017-06-15 Thread Andrea Mauri via Lazarus
When the IDE runs on Cocoa we will change it. Was that your question? I would like to know if it is possible to build LCL 64 bit application on MacOSX with lazarus (eventually which version?). If not, if there is temptative scheduling for that. Andrea --

Re: [Lazarus] LCL on Mac 64 bit

2017-06-15 Thread Andrea Mauri via Lazarus
The Mac native 64bit API is Cocoa and it exists for the LCL. It is missing some feature though. Maybe Felipe can tell more details. Alternatively you can use qt, which is pretty complete, but requires to install the qt libraries to run the application. What about the sentence: Mac OS X: 10.

[Lazarus] LCL on Mac 64 bit

2017-06-15 Thread Andrea Mauri via Lazarus
Dear all, I noticed that LCL applications can be built on Mac only for 32 and not 64. Will be 64 and LCL available in the future? Any roadmap? Thanks, Andrea -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listi

[Lazarus] suggestion for Mac for Lazarus application deployment

2017-06-15 Thread Andrea Mauri via Lazarus
Dear all, I would like to deploy one of my lazarus application for Mac too. Actually I have both windows and linux version but I have some requests from Mac users. I am going to buy a Mac but since I never used a Mac I would like to ask you if you have any suggestion, which Mac

Re: [Lazarus] Linux 64 to Linux ARC crosscompile was:Lazarus and Windows 10 IoT

2017-03-31 Thread Andrea Mauri via Lazarus
P.S.2 Interesting idea would be create utility which will build only cross-compilers based on FPC already installed (like does FpcUpDeluxe but without need/overhead of SVN checkout and Lazarus build functionality). May be only ZIP archive with needed utilities + script which will do needed tasks.

[Lazarus] statusbar flickers

2017-02-22 Thread Andrea Mauri via Lazarus
Hello, I have an issue with TStausBar, when I update the text in a panel fastly it starts flickering. To test it, drop a label a button and a statusbar with at least one panel on a form. Then add this code to ButtonClick. procedure TForm1.Button1Click(Sender: TObject); var i: integer; beg