Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-27 Thread Zeljko
On 02/26/2016 05:36 PM, Denis Kozlov wrote: @zeljko I've just tested your fixes in latest TRUNK on Windows 7 and it's looking good! Have you considered changing the behaviour where the modal form is getting squashed into a corner when application gets minimized? Instead of squashing every

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-27 Thread Zeljko
On 02/26/2016 05:36 PM, Denis Kozlov wrote: @zeljko I've just tested your fixes in latest TRUNK on Windows 7 and it's looking good! Have you considered changing the behaviour where the modal form is getting squashed into a corner when application gets minimized? Instead of squashing every

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-27 Thread Zeljko
On 02/26/2016 05:36 PM, Denis Kozlov wrote: @zeljko I've just tested your fixes in latest TRUNK on Windows 7 and it's looking good! Have you considered changing the behaviour where the modal form is getting squashed into a corner when application gets minimized? Instead of squashing every

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-26 Thread Denis Kozlov
@zeljko I've just tested your fixes in latest TRUNK on Windows 7 and it's looking good! Have you considered changing the behaviour where the modal form is getting squashed into a corner when application gets minimized? Instead of squashing every modal form into a corner of the desktop (as

[Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
Hi all, I don't use windows, so don't know what exact behaviour should be. Now: MainForm + One modal form, minimizing modal form does not minimize mainform (application). (tested with win32 and qt-win32 widgetsets) X11: Minimizing modal form minimizes complete application. (qt, gtk2) My

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:28 AM, Graeme Geldenhuys wrote: On 2016-02-08 10:24, zeljko wrote: Some window managers (eg JWM and xfce AFAIR) refuse to show minimize button on modal windows. I do fully understand that X11 window manager can decide to to show and what not to show But, fpGUI's modal

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:00 AM, Ondrej Pokorny wrote: On 08.02.2016 10:46, zeljko wrote: 2.Change default behaviour - minimized modal form minimizes complete app. I like how it works under X11 eg minimizing Lazarus About dialog under KDE kwin, minimizes complete app, clicking on app in tray,

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
On 2016-02-08 08:02, zeljko wrote: > X11: Minimizing modal form minimizes complete application. (qt, gtk2) Well, under X11 it is hard to find an application with a modal dialog to start with. Modal dialogs are considered very bad design (read the book "About Face 4th edition"). With every

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Ondrej Pokorny
On 08.02.2016 10:46, zeljko wrote: 2.Change default behaviour - minimized modal form minimizes complete app. I like how it works under X11 eg minimizing Lazarus About dialog under KDE kwin, minimizes complete app, clicking on app in tray, restores app. Delphi does the same - if you hit

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Denis Kozlov
There is a long standing bug report about this particular topic: 0026463: Application minimize not working with modal forms http://bugs.freepascal.org/view.php?id=26463 *Issue 1*: Application.Minimize should always minimize the entire application, including modal forms. Currently, the modal

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:15 AM, Graeme Geldenhuys wrote: Ah, we got to love LCL consistency. [NOT] Lazarus v1.7 About dialog under LCL-GTK2 (on my JWM desktop environment), there is no minimize button. The about dialog only has a Maximize () and a Close button. Either way, I agree with point 2.

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
Hi, [mailing list: strangely, I get replies to zeljko's message, yet haven't seen zeljko's reply yet (and no, I don't have spam filters set up). I had to copy the quote text below from the Lazarus archives.] On 2016-02-08 08:02, zeljko wrote: > Actually, LCL applications (Delphi also) CAN HAVE

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 10:26 AM, Graeme Geldenhuys wrote: On 2016-02-08 08:02, zeljko wrote: X11: Minimizing modal form minimizes complete application. (qt, gtk2) Well, under X11 it is hard to find an application with a modal dialog to start with. Modal dialogs are considered very bad design (read the

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
On 2016-02-08 10:24, zeljko wrote: > Some window managers (eg JWM and xfce AFAIR) refuse to show minimize > button on modal windows. I do fully understand that X11 window manager can decide to to show and what not to show But, fpGUI's modal dialogs show the minimize button under JWM. The

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:00 AM, Denis Kozlov wrote: There is a long standing bug report about this particular topic: 0026463: Application minimize not working with modal forms http://bugs.freepascal.org/view.php?id=26463 *Issue 1*: Application.Minimize should always minimize the entire application,

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
On 2016-02-08 11:40, zeljko wrote: > fpgui is using libX11, not gtk2 or qt afair, so rules are different. All three speak to the same window manager in the end, and your argument was that some Window Managers don't adhere to such a request. Well, I just mentioned that JWM does adhere to such a