[Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread Landmesser John via Lazarus
do i have to write a bug report? Lazarus 1.9.0 "today" FPC 3.0.4 i386-win32-win32/win64 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Show crash info to user (MadExcept)

2018-02-08 Thread AlexeyT via Lazarus
Hi In Delphi i used lib MadExcept. I need similar lib in Laz too. To show to user reason of crash- src filename, line number, stack How to do it? -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread lainz via Lazarus
Hi, I have a component BGRAImageList that fixes basically the alpha channels of the regular ImageList on Linux using BGRABitmap. I did not code that component, but I'm the one that updates the package. Sources: https://github.com/bgrabitmap/bgracontrols/blob/master/bgraimagelist.pas It works fin

Re: [Lazarus] Show crash info to user (MadExcept)

2018-02-08 Thread Michael Van Canneyt via Lazarus
On Thu, 8 Feb 2018, AlexeyT via Lazarus wrote: Hi In Delphi i used lib MadExcept. I need similar lib in Laz too. To show to user reason of crash- src filename, line number, stack How to do it? Hook into the various exception handling routines, and use routines similar to the ones found

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus
On 08.02.2018 12:57, Landmesser John via Lazarus wrote: do i have to write a bug report? Lazarus 1.9.0 "today" FPC 3.0.4 i386-win32-win32/win64 bug report done https://bugs.freepascal.org/view.php?id=33139 -- ___ Lazarus mailing list Lazarus@lists

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread Juha Manninen via Lazarus
On Thu, Feb 8, 2018 at 6:48 PM, John Landmesser via Lazarus wrote: > bug report done > https://bugs.freepascal.org/view.php?id=33139 Ah, I was just planning to write that I cannot reproduce. Works well here. Can you open the components list with Ctrl-Shift-P ? Can anybody else reproduce? > Lazar

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Juha Manninen via Lazarus
On Thu, Feb 8, 2018 at 5:02 PM, lainz via Lazarus wrote: > My question is *if the method still will be called instead of the LCL one in > 1.9 without using override*. I know this is a basic of OOP but I need a bit > of help because I never use virtual and overload. Virtual methods are polymorphic

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Leandro Diaz via Lazarus
Ok Juha thanks. And what about the ifdef for that missing method? ReferenceNeeded Sent from Mailspring (https://link.getmailspring.com/link/local-0739f840-40a8-v1.1.3-27dcee2f@PC-i7/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=lazarus%40lists.lazarus-ide.org), the best free email app

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Juha Manninen via Lazarus
On Thu, Feb 8, 2018 at 5:02 PM, lainz via Lazarus wrote: > 1.8 > TCustomImageList = class(TLCLReferenceComponent) > > 1.9 is TCustomImageList = class(TLCLComponent), so the method > ReferenceNeeded is not available. > > Questions: > - *What does ReferenceNeeded, and if it is necessary on 1.9*. TL

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread Juha Manninen via Lazarus
On Thu, Feb 8, 2018 at 8:51 PM, Juha Manninen wrote: > Can you open the components list with Ctrl-Shift-P ? I meant Ctrl-Alt-P. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Ondrej Pokorny via Lazarus
First of all, the image list became multi-resolution. You have the new class TCustomImageListResolution that is the new "TCustomImageList". You have to move your custom code there. On 08.02.2018 16:02, lainz via Lazarus wrote: Hi, I have a component BGRAImageList that fixes basically the alpha

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus
On 08.02.2018 20:58, Juha Manninen via Lazarus wrote: On Thu, Feb 8, 2018 at 8:51 PM, Juha Manninen wrote: Can you open the components list with Ctrl-Shift-P ? I meant Ctrl-Alt-P. Juha Ctrl-Alt-P is already defined on my Linux XFCE Have to learn how to redefine it in Lazarus Same issue f

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus
On 08.02.2018 20:58, Juha Manninen via Lazarus wrote: On Thu, Feb 8, 2018 at 8:51 PM, Juha Manninen wrote: Can you open the components list with Ctrl-Shift-P ? I meant Ctrl-Alt-P. Juha sam AV if i use the keyboard shortcut -- ___ Lazarus mailing

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread john Landmesser via Lazarus
Am 08.02.2018 um 21:45 schrieb John Landmesser via Lazarus: On 08.02.2018 20:58, Juha Manninen via Lazarus wrote: On Thu, Feb 8, 2018 at 8:51 PM, Juha Manninen wrote: Can you open the components list with Ctrl-Shift-P ? I meant Ctrl-Alt-P. Juha sam AV if i use the keyboard shortcut st

Re: [Lazarus] High-DPI TImageList

2018-02-08 Thread Leandro Diaz via Lazarus
Thanks. If transparency works fine the best should be deprecate the component. El feb 8, 2018 5:08 PM, "Ondrej Pokorny via Lazarus" < lazarus@lists.lazarus-ide.org> escribió: > First of all, the image list became multi-resolution. You have the new > class TCustomImageListResolution that is the ne

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread john Landmesser via Lazarus
did a fresh svn download of lazarus Without own components it is ok but this AV appears again after compiling with my extra components?!! -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread John Landmesser via Lazarus
same experience for Linux XFCE and own components installed -> AV with these messages: TLazarusManager.Run starting /home/john1/lazarus/lazarus ... Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/john1/.lazarus" Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryC

Re: [Lazarus] Lazarus trunk: AV on rightClick on Component-pallette: ShowAll

2018-02-08 Thread Juha Manninen via Lazarus
On Thu, Feb 8, 2018 at 11:16 PM, john Landmesser via Lazarus wrote: > Without own components it is ok but this AV appears again after compiling > with my extra components?!! Ok, there you go... Do the components work when added from the palette? Your stack trace is usable but better still would b

Re: [Lazarus] Code comment conflicts with code in LCL

2018-02-08 Thread Juha Manninen via Lazarus
On Sun, Feb 4, 2018 at 12:17 AM, Graeme Geldenhuys via Lazarus wrote: > // no Graphics or Controls can be used here to prevent circular references I fixed the comment in r57276. Controls indeed cannot be used there. It creates a circular reference. Juha --