Recent

Author Topic: ide minimize  (Read 2484 times)

docno

  • New Member
  • *
  • Posts: 17
ide minimize
« on: November 19, 2017, 10:03:12 am »
Hello,

Lazarus 1.8.0RC5 x64 on windows 10 x64 1709 :

- open ide
- new project
- application
- add forms (2...or more)
- minimize the ide
- click on the icon on the task bar
Ide is back but all forms disappear.   :o :o :o
Only object inspector is here and source editor and messages....

Its annoying when you have to work on multiples windows...

Sorry for give more work to devs....  :-[ :-[

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4568
  • I like bugs.
Re: ide minimize
« Reply #1 on: November 19, 2017, 10:51:59 am »
https://bugs.freepascal.org/view.php?id=32266
You can become a dev yourself by fixing it and providing a patch.  :)
It works on Linux using GTK2 and QT bindings. The bug is in the LCL-Win32 binding code.
« Last Edit: November 19, 2017, 10:56:38 am by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

piGrimm

  • Guest
Re: ide minimize
« Reply #2 on: November 19, 2017, 12:41:52 pm »
kinda patchway clue ==>

{$ifdef windows}
 Application.OnMinimize:=@SaveFormsStateVisible;
 Application.OnRestore:=@RstNotyfy;
witth
procedure TIDE.RstNotify(Sender: TObject);
managing a table (openarray??) of properties
"foreach" (idx)
   forms.WindowState:=formarray/formlist[idx].laststate;
   forms.Visible:=formarray/formlist[idx].lastvisible;
"loopend"
...
I guess
« Last Edit: November 19, 2017, 01:11:47 pm by piGrimm »

 

TinyPortal © 2005-2018