Recent

Author Topic: Fixing Lazarus 4.4 IDE layout  (Read 1884 times)

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 728
Fixing Lazarus 4.4 IDE layout
« on: February 09, 2026, 09:14:44 pm »
I just had a hard drive die and installed Lazarus 4.4 in the process of recovering.  (Lazarus 4.4, FPC 3.2.2 on Ubuntu 24.04).  When I launch Lazarus, the IDE comes up postage-stamp size.  I can drag things around to make them have the format I want, but I don't know how to make the changes stick.  Any help would be appreciated.

af0815

  • Hero Member
  • *****
  • Posts: 1409
Re: Fixing Lazarus 4.4 IDE layout
« Reply #1 on: February 09, 2026, 10:29:56 pm »
As i understand. Use Menue Windows-> Desktop and say "save active desktop as". So the Layout and size should be saved. Or did i misunderstood something ?
regards
Andreas

dsiders

  • Hero Member
  • *****
  • Posts: 1545
Re: Fixing Lazarus 4.4 IDE layout
« Reply #2 on: February 09, 2026, 10:59:41 pm »
As i understand. Use Menue Windows-> Desktop and say "save active desktop as". So the Layout and size should be saved. Or did i misunderstood something ?

Maybe. If he's using Wayland it won't matter for positioning of the Windows. Wayland is brain-dead and cannot change the position of the separate forms - they're all aligned to screen center. Not a Lazarus problem.

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 728
Re: Fixing Lazarus 4.4 IDE layout
« Reply #3 on: February 09, 2026, 11:14:30 pm »
I find menu Tools>Desktops and do the saveas, but it seems to have no effect.  Launching the IDE still gives me the postage stamp sized window which I can then stretch into the form and format I want.. 

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 728
Re: Fixing Lazarus 4.4 IDE layout
« Reply #4 on: February 10, 2026, 06:47:29 pm »
Lazarus 4.4 newly installed on Ubuntu 24.04.
No matter what I do, launching the Lazarus IDE always starts with the layout shown in the attached (I hope) screen shot. 
I can go to Tools > Desktops and change it to my familiar layout, but I have to do this every time I start the IDE. 
Can anyone tell me where the IDE looks for desktop layout information when it is launched?

ttomas

  • Full Member
  • ***
  • Posts: 248
Re: Fixing Lazarus 4.4 IDE layout
« Reply #5 on: February 11, 2026, 01:28:10 pm »
Me too! I was forced to use undocked IDE. Just disable docking interface :-(
-Docked IDE don't restore main window size. Always start with small main window.
-Docked IDE don't restore docked windows size. Docked positions in main window are OK. When I resize main window, I must resize all docked windows.
Ubuntu 24.04, Gnome, Wayland.

cdbc

  • Hero Member
  • *****
  • Posts: 2662
    • http://www.cdbc.dk
Re: Fixing Lazarus 4.4 IDE layout
« Reply #6 on: February 11, 2026, 02:14:09 pm »
Hi
Hmmm... The culprit is Wayland, switch to X11 or use the Wayland/X11 layer..
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 728
Re: Fixing Lazarus 4.4 IDE layout
« Reply #7 on: February 11, 2026, 04:40:42 pm »
Thanks for the reply.  I understand the Wayland problem now.

I changed my Ubuntu 24.04 to "Ubuntu on Xorg" but it has no effect on the IDE size on launch.  The change to Xorg has also caused Ubuntu to start reporting "system problems" from time to time.

The work-around seems to be to go to Tools > Desktops and change active desktop from one alternative to another.  I have to do this on every launch though -- "save desktop" seems to be ignored by Ubuntu in either Wayland or Xorg configuration.

mdalacu

  • Full Member
  • ***
  • Posts: 238
    • dmSimpleApps
Re: Fixing Lazarus 4.4 IDE layout
« Reply #8 on: February 11, 2026, 04:56:12 pm »
Just use KDE on Ubuntu ....works perfect.
sudo apt install kubuntu-desktop

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 728
Re: Fixing Lazarus 4.4 IDE layout
« Reply #9 on: February 11, 2026, 06:10:46 pm »
Thanks.  Tried KDE as suggested, but don't want to abandon my familiar desktop altogether, so don't know if it fixes the IDE problem or not.  Will play with it some more.

zeljko

  • Hero Member
  • *****
  • Posts: 1868
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Fixing Lazarus 4.4 IDE layout
« Reply #10 on: February 11, 2026, 06:22:10 pm »
Thanks for the reply.  I understand the Wayland problem now.

I changed my Ubuntu 24.04 to "Ubuntu on Xorg" but it has no effect on the IDE size on launch.  The change to Xorg has also caused Ubuntu to start reporting "system problems" from time to time.

The work-around seems to be to go to Tools > Desktops and change active desktop from one alternative to another.  I have to do this on every launch though -- "save desktop" seems to be ignored by Ubuntu in either Wayland or Xorg configuration.

Important info is what ws is IDE. gtk2 ? Then wayland does not matter, gtk2 works only with x11 (so XWayland probably). Is it scaled desktop ?

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 728
Re: Fixing Lazarus 4.4 IDE layout
« Reply #11 on: February 11, 2026, 06:27:30 pm »
Using KDE did not solve the Lazarus IDE issue -- but don't discount the probability that I screwed something up along the way. 
I think this problem is beyond my scope.   :) 


mdalacu

  • Full Member
  • ***
  • Posts: 238
    • dmSimpleApps
Re: Fixing Lazarus 4.4 IDE layout
« Reply #12 on: February 11, 2026, 06:59:50 pm »
I am using Ubuntu 24.04 x64 with kubuntu desktop. Lazarus 4.4 I have installed using fpcupdeluxe compiled for qt! It is working great on x11 session.

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 728
Re: Fixing Lazarus 4.4 IDE layout
« Reply #13 on: February 11, 2026, 10:25:17 pm »
Appreciate the help, and will go back to trying Kubuntu later.  Right now, I'm in the process of trying to recover from a drive failure and am pretty much saturated with problems -- trying to keep too many balls in the air  :)

zeljko

  • Hero Member
  • *****
  • Posts: 1868
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Fixing Lazarus 4.4 IDE layout
« Reply #14 on: February 11, 2026, 10:59:00 pm »
I am using Ubuntu 24.04 x64 with kubuntu desktop. Lazarus 4.4 I have installed using fpcupdeluxe compiled for qt! It is working great on x11 session.

Glad to hear that :) qt4 is like gtk2, pure x11 only, it is pretty stable, but not packaged (qt4 libs) into newest distros afair.

 

TinyPortal © 2005-2018