Mailing lists / lazarus / 2017-11
Need to use this fix in 1.8
4 messages · 3 people · –
- Kkardan 2
- AAlexey 1
- MMattias Gaertner 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
https://bugs.freepascal.org/view.php?id=32717 Otherwise, this dialog is not scaled.
Is there a chance to make Lazarus 1.8 build natively with KControls? I don't understand the details, but I know how to patch it .. :)
With current https://bitbucket.org/tkweb/kcontrols/get/tip.zip our project https://github.com/tomboy-notes/tomboy-ng fails to compile with lazbuild 1.8.0RC5: tkweb-kcontrols-e4ec3f5e4b06/source/kgrids.pas(2945,15) Error: (3058) There is no method in an ancestor class to be overridden: "DoAutoAdjustLayout(const TLayoutAdjustmentPolicy;const Double;const Double;const Boolean); http://www.tkweb.eu/en/delphicomp/kcontrols.html?action=commentaddform&par=5a14825e01662 https://bitbucket.org/tkweb/kcontrols/commits/9fab2d710a8c (commented in trunk)
Kardan
Show quoted text 15 lines
DoAutoAdjustLayout exists in 1.8. Please provide some small example demonstrating the problem.
Mattias
Thanks for looking into this!
Show quoted text 18 lines
As code is a moving target, it's good to have tests. It looks like the fix has been backported meanwhile. Anyway I attach my test scripts, please excuse that I cannot provide a smaller example.
Just during writing the test script I saw
$ ././test_kcontrols_1.7.sh
kcontrols/source/kmemortf.pas(4030,10) Error: (5000) Identifier not
found "UTF8Copy"Tk recommends: "Check if LazUTF8.pas has this function. If not then you must update to newer Lazarus version (I recommend using the trunk via fpcupdeluxe)."
I just redownloaded the archive for KControls 1.7 and it magically works. I don't understand it, but it's fine. No changes to Lazarus 1.8RC5 needed.
$ ././test_kcontrols_trunk.sh
Test for KControls trunk succeeded.The list of changes since the last release is immense and I am sure after two years work the author will be happy to release a new version known to work with upcoming Lazarus 1.8.
$ diff -r kcontrols_17 kcontrols_trunk|less
Kardan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_kcontrols_1.7.sh
Type: application/x-shellscript
Size: 1216 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171130/1a547b9a/attachment.bin> -------------- next part --------------
A non-text attachment was scrubbed...
Name: test_kcontrols_trunk.sh
Type: application/x-shellscript
Size: 1201 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171130/1a547b9a/attachment-0001.bin>
