Recent

Author Topic: IDE in Linux, some bugs  (Read 6540 times)

pixel_

  • New Member
  • *
  • Posts: 10
IDE in Linux, some bugs
« 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."

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: IDE in Linux, some bugs
« Reply #1 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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

pixel_

  • New Member
  • *
  • Posts: 10
Re: IDE in Linux, some bugs
« Reply #2 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.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: IDE in Linux, some bugs
« Reply #3 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

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: IDE in Linux, some bugs
« Reply #4 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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: IDE in Linux, some bugs
« Reply #5 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.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

dpflug

  • Newbie
  • Posts: 1
Re: IDE in Linux, some bugs
« Reply #6 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