Recent

Author Topic: [RESOLVED] IDE window does not minimize when project is running  (Read 5274 times)

mwestout

  • Newbie
  • Posts: 4
[RESOLVED] IDE window does not minimize when project is running
« on: January 16, 2022, 01:19:13 am »
I am running Lazarus 2.2.0.

When I run my project, the IDE does not minimize. Attached is a screenshot showing the IDE when my project is run.

I have checked the Tools/Options/Environment/Window option to "Hide IDE windows on run" (see attached screenshot).
« Last Edit: January 19, 2022, 12:23:47 am by trev »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1964
  • Former Delphi 1-7, 10.2 user
Re: IDE window does not minimize when project is running
« Reply #1 on: January 16, 2022, 02:00:11 am »
Curious - I'd never tried it till now. Although I'm using macOS and not Windows, I found that the IDE only minimises if I run with debugging (which is when you really don't want it to minimise). When run without debugging, it does not minimise. I was testing with Lazarus 2.2.0 release and the 2.3 development branch.

I'd suggest logging a bug in the bugtracker.
« Last Edit: January 16, 2022, 02:02:43 am by trev »
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.3.1
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.3.1

dbannon

  • Hero Member
  • *****
  • Posts: 2019
    • tomboy-ng, a rewrite of the classic Tomboy
Re: IDE window does not minimize when project is running
« Reply #2 on: January 16, 2022, 02:47:00 am »
Yes, I can confirm same behavour (as Trev) on Linux.  2.2.0, 2.0.10 and trunk.

Does seem a bit counter intuitive.

Davo

Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

Seenkao

  • Sr. Member
  • ****
  • Posts: 399
    • New ZenGL.
Re: IDE window does not minimize when project is running
« Reply #3 on: January 16, 2022, 02:50:55 am »
Lazarus 2.1.0 r65061
Linux

the window is minimizing
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.
Работаю над ZenGL.
Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL. :)

dbannon

  • Hero Member
  • *****
  • Posts: 2019
    • tomboy-ng, a rewrite of the classic Tomboy
Re: IDE window does not minimize when project is running
« Reply #4 on: January 16, 2022, 03:15:07 am »
Seenkao, in debug mode or "run without debug" ?

Trev pointed out there is a difference and it seems around the wrong way !

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

mwestout

  • Newbie
  • Posts: 4
Re: IDE window does not minimize when project is running
« Reply #5 on: January 16, 2022, 04:23:21 am »
This did not happen with 2.1.2.

The issue happens if I "Run with debug" or "Run without debug".

Seenkao

  • Sr. Member
  • ****
  • Posts: 399
    • New ZenGL.
Re: IDE window does not minimize when project is running
« Reply #6 on: January 16, 2022, 07:29:56 am »
Seenkao, in debug mode or "run without debug" ?

Trev pointed out there is a difference and it seems around the wrong way !

Davo
in both cases.
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.
Работаю над ZenGL.
Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL. :)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1964
  • Former Delphi 1-7, 10.2 user
Re: IDE window does not minimize when project is running
« Reply #7 on: January 17, 2022, 01:28:36 am »
Lazarus 2.1.0 r65061
Linux

the window is minimizing

Curiouser and curiouser. I checked out 7b18690162985a59eb492fb7e1dfdf7e4c0d6b57 (svn: 65000) and I still have the same behaviour. It only minimises on run with debug.

[Edit] Same result with 78d5022afa3e1ab0cfa81ce07c78034c9c0d1c62 (svn:64000)

[Edit2] Logged bug and referred to this thread for additional info.
« Last Edit: January 17, 2022, 01:54:30 am by trev »
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.3.1
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.3.1

mwestout

  • Newbie
  • Posts: 4
Re: IDE window does not minimize when project is running
« Reply #8 on: January 17, 2022, 03:30:49 am »
I apologize for not including in my original post that I am running Windows 11 Pro 64 bit.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1964
  • Former Delphi 1-7, 10.2 user
Re: IDE window does not minimize when project is running
« Reply #9 on: January 19, 2022, 12:23:01 am »
This has now been fixed in main (development version) by Juha. Commit f7d2d0a69094f47df78cea089b89febe39d38936.
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.3.1
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.3.1

mwestout

  • Newbie
  • Posts: 4
Re: [RESOLVED] IDE window does not minimize when project is running
« Reply #10 on: January 19, 2022, 09:40:11 pm »
How can I get this fixed version?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1964
  • Former Delphi 1-7, 10.2 user
Re: [RESOLVED] IDE window does not minimize when project is running
« Reply #11 on: January 19, 2022, 09:49:50 pm »
The commits that fix the issue are awaiting merging for the fixes_2_2 branch. In the meantime you can download the development branch and compile it. For details on how to do this, see the Wiki article Installing Lazarus on Windows.
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.3.1
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.3.1

Seenkao

  • Sr. Member
  • ****
  • Posts: 399
    • New ZenGL.
Re: [RESOLVED] IDE window does not minimize when project is running
« Reply #12 on: January 20, 2022, 04:25:57 am »
Lazarus 2.1.0 r65061
Linux

Оставил галочку, забыл про неё, запустил приложение... Пропали все окна и иконки внизу.
При чём здесь иконки? Иконки мне нужны для работы.
google translate:
I left a tick, forgot about it, launched the application ... All windows and icons below disappeared.
What's with the icons? I need icons for work.
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.
Работаю над ZenGL.
Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL. :)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1964
  • Former Delphi 1-7, 10.2 user
Re: [RESOLVED] IDE window does not minimize when project is running
« Reply #13 on: January 20, 2022, 04:40:20 am »
Lazarus 2.1.0 r65061
Linux

You are using an old Lazarus development version which is even before the release of Lazarus 2.2.0. You might want to try updating to the current development version 2.3.0 where the issue may be fixed. If not fixed, then please log a bug in the bugtracker. Confirmed fixed in Windows and macOS. Noone with Linux participated in the bug report.
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.3.1
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.3.1

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4096
  • I like bugs.
Re: [RESOLVED] IDE window does not minimize when project is running
« Reply #14 on: January 20, 2022, 01:58:40 pm »
Confirmed fixed in Windows and macOS. Noone with Linux participated in the bug report.
My development platform is Manjaro Linux. :)
I tested the issue with both GTK2 and QT5 bindings to be sure.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018