Recent

Author Topic: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce  (Read 6518 times)

dogriz

  • Full Member
  • ***
  • Posts: 126
Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« on: March 03, 2017, 09:36:05 pm »
I am unable to resize the main Lazarus IDE window. My system is Debian 9 Xfce (gtk2) and Lazarus version is 1.6.5 (FPC 3.0.3). Does anyone have a clue about this?
FPC 3.2.2
Lazarus 2.2.4
Debian x86_64, arm

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #1 on: March 04, 2017, 12:19:21 am »
I had the same in Manjaro XFCE. While trying to install docking and some other packages, the problem was gone.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

jacmoe

  • Full Member
  • ***
  • Posts: 249
    • Jacmoe's Cyber SoapBox
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #2 on: March 04, 2017, 12:26:00 am »
I guess, if you need to resize it, it needs to be in mdi mode - ie using a dockingmanager package.

This is only a problem if you don't have many packages installed - I have some, so it is already maxed out (still not resizable).
more signal - less noise

dogriz

  • Full Member
  • ***
  • Posts: 126
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #3 on: March 04, 2017, 01:47:10 pm »
This is only a problem if you don't have many packages installed - I have some, so it is already maxed out (still not resizable).

I have more packages installed than the width of the window, for sure, and I can use CTRL+ALT+P shortcut to choose components fast, but still, this is restricted window behaviour.
FPC 3.2.2
Lazarus 2.2.4
Debian x86_64, arm

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #4 on: March 04, 2017, 05:48:19 pm »
I see we are talking about different things, so let me clarify my case a little. I have installed Lazarus about 2 weeks ago on fresh and updated Manjaro XFCE (VM with screen width 1280). The floating IDE menu with coolbar and components had fixed length of about 1024 width, and could not be maximized nor resized to take full width of the screen. I have then repeated the same with Manjaro Cinnamon and it worked without this problem out of the box. Then I have later returned to Manjaro XFCE in order to experiment a little to see if I would drop this VM because the problem was unacceptable. Just installing docking and few other packages fixed the problem. I suspect that changing IDE from floating to docking fixed things in XFCE - the whole IDE can be resized now and maximize button also works.
« Last Edit: March 04, 2017, 05:50:20 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

dogriz

  • Full Member
  • ***
  • Posts: 126
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #5 on: March 06, 2017, 09:23:29 pm »
If AnchorDockingDsgn package is installed, main IDE windows is resizable, but when I remove it, resize is disabled again. I compared environmentoptions.xml files (with AnchorDocking installed and without it) and didn't find anything unusual.
Interesting thing is that the problem is only with Main IDE window. All other forms work as expected - Object Inspector, Code editor, Messages window... are all resizable.
« Last Edit: March 06, 2017, 09:27:00 pm by dogriz »
FPC 3.2.2
Lazarus 2.2.4
Debian x86_64, arm

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #6 on: March 06, 2017, 10:41:00 pm »
Maybe I don't fully understand your problem but the main window size is adjusted automatically.
It is by design. It is a good thing, not a bad thing.

There is an option in Environment -> Window settings:
  "Automatically adjust IDE main window height"
but unchecking it does not do much good. You get a bigger main window but the extra space is not used for anything. It is wasted.
The option was only useful to get around a bug with some window managers where the automatic resize did not work.

The main window width can be changed manually. Only height is adjusted automatically.

I would like to know: what is the actual problem you try to solve?

[Edit]
Is your problem related to this one?
  http://bugs.freepascal.org/view.php?id=31352
It looks like the width cannot be stretched all the way to screen's right edge. Few mm are missing.
I don't have such a bug here. Can somebody reproduce?
Maybe some window managers report a wrong max width or something. It should be debugged.
« Last Edit: March 06, 2017, 11:13:53 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #7 on: March 08, 2017, 09:34:40 am »
Is your problem related to this one?
  http://bugs.freepascal.org/view.php?id=31352
It looks like the width cannot be stretched all the way to screen's right edge. Few mm are missing.
I don't have such a bug here. Can somebody reproduce?
I have added some more info to that bug report.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

jacmoe

  • Full Member
  • ***
  • Posts: 249
    • Jacmoe's Cyber SoapBox
Re: Unable to resize IDE window - Lazarus 1.6.5 - Debian Xfce
« Reply #8 on: March 08, 2017, 10:08:56 am »
Isn't the main IDE "window" a tool window and thus not resizeable ?
It does auto-resize, though, depending on how many component tabs there is, but that's it.
Happens in KDE as well as in LxQt.

However, when switching to docking mode - everything is one window - then the window is resizeable, of course. Because everything is a window.

Is this really a bug or an issue ?
more signal - less noise

 

TinyPortal © 2005-2018