Lazarus

Using the Lazarus IDE => Designer => Topic started by: pixel_ on December 03, 2021, 08:53:14 pm

Title: IDE in Linux, some bugs
Post by: pixel_ on December 03, 2021, 08:53:14 pm
One bug sometime is can't resize selected control in design and another is when I switch to another app in a taskbar and then tried back to Lazarus:
"Size range overflow in MainIDE.SendMoveSizeMessages: Width=1366, Height=-16."
Title: Re: IDE in Linux, some bugs
Post by: MarkMLl on December 03, 2021, 10:13:08 pm
Come on, you ought to know better by now: what version of Lazarus/FPC built for which widget set, what display manager (AKA desktop environment) and (to a lesser extent) what distro?

I think those are the important things. I don't specifically recognise the problems you mention but I'm running KDE with stuff including the IDE typically compiled for gtk2... there's a possibility you've got some different combination or at least some different underlying libraries.

MarkMLl
Title: Re: IDE in Linux, some bugs
Post by: pixel_ on December 07, 2021, 06:36:09 pm
Lazarus 2.2.0RC1-0, FPC 3.2.2, Lubuntu 20.10, LXQT 0.15.0, taskbar with autohide option.
Title: Re: IDE in Linux, some bugs
Post by: Handoko on December 07, 2021, 06:43:22 pm
... sometime is can't resize selected control in design ...

Maybe this is the same as what that I experience:
https://forum.lazarus.freepascal.org/index.php/topic,39157.msg267761.html#msg267761 (https://forum.lazarus.freepascal.org/index.php/topic,39157.msg267761.html#msg267761)
Title: Re: IDE in Linux, some bugs
Post by: MarkMLl on December 07, 2021, 07:54:22 pm
Lazarus 2.2.0RC1-0, FPC 3.2.2, Lubuntu 20.10, LXQT 0.15.0, taskbar with autohide option.

Presumably the IDE is built for gtk2 and also using that as the default target.

/Might/ be worth trying with a different window manager and/or target if you can... I've been wrestling with something (non-Lazarus) over the last few days where an app wouldn't resize below a certain point which turned out to be WM-specific (needless to say, neither the app authors nor the distro maintainers admit the problem is theirs )-:

MarkMLl
Title: Re: IDE in Linux, some bugs
Post by: JuhaManninen on December 07, 2021, 08:56:33 pm
"Size range overflow in MainIDE.SendMoveSizeMessages: Width=1366, Height=-16."
That exception was added to spot a random bug which nobody could reproduce systematically.
Does it happen always for you?
It would help if you can get a proper debugger backtrace from it.
Title: Re: IDE in Linux, some bugs
Post by: dpflug on December 11, 2021, 12:37:03 pm
Are you only interested in an overflow in MainIDE.SendMoveSizeMessages? Because I can reliably reproduce one in AnchorDockSplitter3.
TinyPortal © 2005-2018