Recent

Author Topic: Lazarus Release Candidate 2 of 3.0  (Read 63966 times)

dedrasta

  • Newbie
  • Posts: 6
Re: Lazarus Release Candidate 2 of 3.0
« Reply #105 on: December 06, 2023, 07:21:58 pm »
dedrasta, sorry mate, I was not clear.

I wanted you to zip up the binary, ideally one without the debugging to keep it small. I want to test if the problem is being caused by being built on your machine or being run on your machine.

You have sent me the source code and the libs dir.

Please build your little project again, tar or zip up just the file "project1" and put it somewhere I can grab it. Google drive, dropbox, what ever you use.  You will not be able to post it here because it will still be too big.

Just for the record, when you want to send someone just the source for the project, good tool to use is, from the IDE, Project->Publish - that will make a zip with just the necessary files, no binary and no lib. So, very small.  But thats NOT what we are trying to do here.

Davo

Thank you. Here is the link.


https://drive.google.com/file/d/1z32mi8AHvsMh2TQU31_Ds1qot7doAsQ4/view?usp=sharing

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 2 of 3.0
« Reply #106 on: December 07, 2023, 12:04:23 pm »
OK, I unzipped your binary in to a couple of desktops including KDE, both X11 and Wayland.

In all cases, the app opened and sat nicely still until I did something. No sign of any jerking around.

If I grabbed the corner and moved it very rapidly, it moved as expected. On desktops like budgie, Mate and even KDE over X11 it followed my resizing quite well. On KDE over Wayland, your application and mine struggle to keep up with my (violent) dragging. I would expect Gnome to do the same thing.  I am afraid that is a characteristic of overly complicated desktops like KDE and Gnome, they are just trying to do too much.

To prove that point, I shut down that VM, assigned 4 (instead of 1) CPUs to it and fired it up again. The problem was noticeably diminished.

David
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

myisjwj

  • Jr. Member
  • **
  • Posts: 83
Compile loongarch64 applications using Lazarus under windows
« Reply #107 on: December 09, 2023, 12:39:17 pm »
Compile loongarch64 applications using Lazarus under windows. The cross-compile package has been installed. But will appear
Debug: C:\LazarusFPC\cross\bin\loongarch64-linux\loongarch64-unknown-linux-gnu-ld.exe: warning:  libpangocairo-1.0.so.0, needed by C:\LazarusFPC\cross\lib\loongarch64-linux\/libgdk-x11-2.0.so, not found (try using -rpath or -rpath-link)
Multiple similar errors, such as libX11.so, etc. But this file is here
C:\LazarusFPC\cross\lib\loongarch64-linux\ directory.
Add the compiler parameter -L C:\LazarusFPC\cross\lib\loongarch64-linux
Later error
Debug: C:\LazarusFPC\cross\bin\loongarch64-linux\loongarch64-unknown-linux-gnu-ld.exe: warning:  libpangocairo-1.0.so.0, needed by C:\LazarusFPC\cross\lib\loongarch64-linux/libgdk-x11-2.0.so, not found (try using -rpath or -rpath-link)
How to change/to \ in the last level directory
lazarus:3.99
fpc:3.3.1

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 3.0
« Reply #108 on: December 09, 2023, 03:05:56 pm »
Quote
How to change/to \ in the last level directory
Do you mean Lazarus 2.2.6 did the correct \ versus / ?

And Lazarus 3.3.1 now does the wrong / ?

myisjwj

  • Jr. Member
  • **
  • Posts: 83
Re: Lazarus Release Candidate 2 of 3.0
« Reply #109 on: December 12, 2023, 12:24:02 pm »
I made a mistake. \/ is loadable.

dedrasta

  • Newbie
  • Posts: 6
Re: Lazarus Release Candidate 2 of 3.0prop
« Reply #110 on: December 15, 2023, 05:17:43 pm »
OK, I unzipped your binary in to a couple of desktops including KDE, both X11 and Wayland.

In all cases, the app opened and sat nicely still until I did something. No sign of any jerking around.

If I grabbed the corner and moved it very rapidly, it moved as expected. On desktops like budgie, Mate and even KDE over X11 it followed my resizing quite well. On KDE over Wayland, your application and mine struggle to keep up with my (violent) dragging. I would expect Gnome to do the same thing.  I am afraid that is a characteristic of overly complicated desktops like KDE and Gnome, they arwhich ee just trying to do too much.

To prove that point, I shut down that VM, assigned 4 (instead of 1) CPUs to it and fired it up again. The problem was noticeably diminished.

David

Thank you very much for your attention and time.
I think the problem is connected with new LCL library and SnapOption property and somehow tied with AstraLinux proprietary Fly desktop. I have old note at home and more powerful desktop at work and behavior is identical - no problem for Lazarus 2.2.6 and problem with resizing for Lazarus3.0RC2. So I think we can drop this topic.
Link contains screen capture from my note

https://drive.google.com/file/d/1OObgOD1i__jzLM37gfR7ShFRhlbSOGig/view?usp=sharing

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 2 of 3.0
« Reply #111 on: December 20, 2023, 12:01:39 am »
Now, anyone who knows me will tell you I am not one to spread gossip, but ....

Interesting commit,
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/7b1dc7e30268ce821e5232050a664157e85b92f3

We have a newly numbered fixes_3 branch.  Maybe Santa is real !

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Bart

  • Hero Member
  • *****
  • Posts: 5469
    • Bart en Mariska's Webstek
Re: Lazarus Release Candidate 2 of 3.0
« Reply #112 on: December 20, 2023, 12:05:43 am »
We have a newly numbered fixes_3 branch.  Maybe Santa is real !

No comment  O:-)

Bart

fred

  • Full Member
  • ***
  • Posts: 201
Re: Lazarus Release Candidate 2 of 3.0
« Reply #113 on: December 21, 2023, 10:05:40 am »
Santa 3.0 is real :)

 

TinyPortal © 2005-2018