Re: [Lazarus] LCL High-DPI request for help adding images

2017-02-21 Thread Torsten Bonde Christiansen via Lazarus
How do i use icon scaling for user project? Regards Torsten. On 2017-02-22 00:33, Ondrej Pokorny via Lazarus wrote: Update: I worked further today (unfortunately...) I also added icon scaling support to the IDE. The IDE now can load 150% and 200% versions of the icons. If a High-DPI icon is m

Re: [Lazarus] "Procedure list" level depth dependend?

2017-02-21 Thread Vojtěch Čihák via Lazarus
Hello, I tested with Lazarus 1.7 r54239M FPC 3.0.2 x86_64-linux-qt and nested functions and procedures are listed well (I tested depth 3). The shortcut is Alt+G.   V. __ Od: Jürgen Hestermann via Lazarus Komu: Lazarus mailing list Dat

Re: [Lazarus] GUI freeze under GTK2

2017-02-21 Thread Juha Manninen via Lazarus
What revision caused the freezing? http://wiki.freepascal.org/How_do_I_create_a_bug_report#Regression_caused_by_a_certain_revision Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] LCL High-DPI request for help adding images

2017-02-21 Thread Ondrej Pokorny via Lazarus
Update: I worked further today (unfortunately...) I also added icon scaling support to the IDE. The IDE now can load 150% and 200% versions of the icons. If a High-DPI icon is missing, the normal icon is upscaled (with the worst algorithm, but that's what is available in the IDE). Request: s

Re: [Lazarus] LCL High-DPI minor IDE issues

2017-02-21 Thread Donald Ziesig via Lazarus
Very strange. I looked at all of the Form DesignTimePPI and they were set to 96! I shut down Lazarus and re-started it and they all changed back to 144 (and the little buttons got big!). My forms all look good again except for the "Watch Properties". I'll keep trying and let you know. Don

Re: [Lazarus] LCL High-DPI minor IDE issues

2017-02-21 Thread Ondrej Pokorny via Lazarus
Strange, it looks good here (the latest revision): https://s17.postimg.org/9a9oa9cyn/Linux_120_DPI.png I've been working on High DPI today so maybe it was broken at some point during the day (?) Ondrej On 21.02.2017 19:03, Donald Ziesig via Lazarus wrote: Hi Ondrej! I just ran into two i

Re: [Lazarus] GUI freeze under GTK2

2017-02-21 Thread denisgolovan via Lazarus
Hi Not sure if it can help, but I rebuilt Lazarus with -dVerboseSizeMsg -dVerboseFormPositioning and I got following in console after GUI freeze. Those exact lines repeat endlessly in console. TEngineObjectTree is virtualtreeview control. TWinControl.WMSize A :TEngineObjectTree Message=192,67 B

[Lazarus] LCL High-DPI minor IDE issues

2017-02-21 Thread Donald Ziesig via Lazarus
Hi Ondrej! I just ran into two issues with the IDE in High-DPI mode. The IDE main window changed from yesterday (when I first used it) to today. Yesterday all of the Buttons were larger (but the internal images were still small). Today the Buttons have returned to their small sizes. The in

Re: [Lazarus] LCL High-DPI

2017-02-21 Thread Ondrej Pokorny via Lazarus
On 21.02.2017 19:13, Donald Ziesig via Lazarus wrote: One more question. Where can I find documentation for TControl.ScaleCoord() or ScaleCoord96()? It is not in the CCR. I will search the source. The difference is in the scale basis: ScaleCoord96: hard-coded 96. ScaleCoord: DesignTimePPI (

Re: [Lazarus] GUI freeze under GTK2

2017-02-21 Thread denisgolovan via Lazarus
Nope. No change with this unit. Still freezes, stack track is the same. BR, Denis 21.02.2017, 17:49, "Cyrax via Lazarus" : > On 20.02.2017 22:37, denisgolovan via Lazarus wrote: >>  Hi all >> >>  Recently, I've started experiencing rather nasty bug - my GUI application >> started freezing when s

Re: [Lazarus] LCL High-DPI

2017-02-21 Thread Donald Ziesig via Lazarus
One more question. Where can I find documentation for TControl.ScaleCoord() or ScaleCoord96()? It is not in the CCR. I will search the source. Don On 02/20/2017 11:46 AM, Ondrej Pokorny via Lazarus wrote: I'd like to announce that I finished the concept of DPI scaling in Lazarus / LCL.

Re: [Lazarus] LCL High-DPI

2017-02-21 Thread Donald Ziesig via Lazarus
Hi Ondrej! Your work has made a major improvement in Lazarus. It is much more enjoyable to use. I have converted my most recent major APP using it and it was mostly straight forward. I will continue using it and report back to you as my work permits. Thank you, Don Ziesig On 02/20/2017

Re: [Lazarus] Check for 'default' font

2017-02-21 Thread Mattias Gaertner via Lazarus
On Tue, 21 Feb 2017 18:21:17 +0300 Alexey via Lazarus wrote: > On 21.02.2017 00:14, Mattias Gaertner via Lazarus wrote: > > It does not matter if you use > > SameText, CompareText or AnsiCompareText. Btw, SameText uses > > CompareText. > > yes, it is right, I want to make diff, which uses Same

Re: [Lazarus] Check for 'default' font

2017-02-21 Thread Alexey via Lazarus
On 21.02.2017 00:14, Mattias Gaertner via Lazarus wrote: It does not matter if you use SameText, CompareText or AnsiCompareText. Btw, SameText uses CompareText. yes, it is right, I want to make diff, which uses SameText in all places, in IDE... -- Regards, Alexey --

Re: [Lazarus] GUI freeze under GTK2

2017-02-21 Thread Cyrax via Lazarus
On 20.02.2017 22:37, denisgolovan via Lazarus wrote: Hi all Recently, I've started experiencing rather nasty bug - my GUI application started freezing when scrolling VirtualTreeView component vertically using scrollbar. VTV itself is rather old version (last commit from May 17 2015). FPC and

Re: [Lazarus] LCL High-DPI

2017-02-21 Thread Alexey via Lazarus
On 21.02.2017 12:21, Maciej Izak via Lazarus wrote: Thanks to your work Lazarus is now much, much better than Delphi in this field ^^. Yes, thanks to Ondrej, very good work -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.o

Re: [Lazarus] LCL High-DPI

2017-02-21 Thread Maciej Izak via Lazarus
2017-02-20 17:46 GMT+01:00 Ondrej Pokorny via Lazarus < lazarus@lists.lazarus-ide.org>: > I'd like to announce that I finished the concept of DPI scaling in Lazarus > / LCL. Thanks to your work Lazarus is now much, much better than Delphi in this field ^^. -- Best regards, Maciej Izak --