Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 17:30, Dmitry Boyarintsev wrote: As an example. LeakView allows a user to switch between "fsStayOnTop" and "fsNormal". This is one possibility. But I remember such an option was already rejected for some dialogs in the bug tracker, AFAIR. (Sorry for not finding the issue in Mant

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 18:25, Dmitry Boyarintsev wrote: On Wed, Dec 23, 2015 at 11:26 AM, Dmitry Boyarintsev mailto:skalogryz.li...@gmail.com>> wrote: StayOnTop - stay on top of all windows within the application fsSystemStayOnTop - stay on top of all windows within system. Yes, it is in Lazar

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 1:23 PM, Ondrej Pokorny wrote: > No, I have no local changes. I always commit them to trunk :) > > Steps to reproduce: use Alt+Tab when switching to Thunderbird. > I can only reproduce it by opening Lazarus in the front and then trying to resize (by dragging) the underlyi

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 19:18, Dmitry Boyarintsev wrote: On Wed, Dec 23, 2015 at 12:11 PM, Ondrej Pokorny > wrote: No, this is not true. It does bother my email client such as any other fsStayOnTop window, see attachment - from the Win10 theme you can recognize that t

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 12:11 PM, Ondrej Pokorny wrote: > No, this is not true. It does bother my email client such as any other > fsStayOnTop window, see attachment - from the Win10 theme you can recognize > that the email client window is focused and active and is still covered by > "Leaks and

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 17:48, Juha Manninen wrote: PopupParent and PopupMode seem to work only with LCL-Win bindings. With GTK2 and QT it behaves like any modeless IDE window. Reported: http://bugs.freepascal.org/view.php?id=29247 On 23.12.2015 17:48, Juha Manninen wrote: But yes, this is the right s

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 17:30, Dmitry Boyarintsev wrote: On Wed, Dec 23, 2015 at 11:26 AM, Dmitry Boyarintsev mailto:skalogryz.li...@gmail.com>> wrote: fsStayOnTop - stay on top of all windows within the application fsSystemStayOnTop - stay on top of all windows within system. As an example. Le

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 12:04 PM, Ondrej Pokorny wrote: > So it means that Lazarus' LCL and Delphi's VCL fsStayOnTop are not > compatible, which I don't really understand why this decision was made. > (Maybe some historic reason I am not aware of [?]) > > From my point-of-view, it would be a bett

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 11:26 AM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > StayOnTop - stay on top of all windows within the application > fsSystemStayOnTop - stay on top of all windows within system. > Yes, it is in Lazarus documentation as well. http://lazarus-ccr.sourceforge.ne

Re: [Lazarus] New menu designer

2015-12-23 Thread Juha Manninen
On Wed, Dec 23, 2015 at 9:26 AM, taazz wrote: > stop f...ing with my system Actually we are f...ing with Lazarus trunk, not with your system. If you want a stable Lazarus, you should use the fixes_1_6 branch instead. It is starting to look very good! Juha --

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 17:52, Dmitry Boyarintsev wrote: On Wed, Dec 23, 2015 at 11:42 AM, Ondrej Pokorny > wrote: For the sake of backwards&Delphi compatibility the other way round would be more appropriate, IMO: fsAppStayOnTop - stay on top of all windows within th

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 11:42 AM, Ondrej Pokorny wrote: > > For the sake of backwards&Delphi compatibility the other way round would > be more appropriate, IMO: > fsAppStayOnTop - stay on top of all windows within the application > fsStayOnTop - stay on top of all windows within system. (current

Re: [Lazarus] New menu designer

2015-12-23 Thread Juha Manninen
On Wed, Dec 23, 2015 at 3:43 PM, Ondrej Pokorny wrote: > Yes, this is correct. Please test r51008 (also you, Juha). PopupParent and PopupMode seem to work only with LCL-Win bindings. With GTK2 and QT it behaves like any modeless IDE window. But yes, this is the right solution. On Windows it behav

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 17:26, Dmitry Boyarintsev wrote: fsStayOnTop - stay on top of all windows within the application fsSystemStayOnTop - stay on top of all windows within system. For the sake of backwards&Delphi compatibility the other way round would be more appropriate, IMO: fsAppStayOnTop - sta

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 11:26 AM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > fsStayOnTop - stay on top of all windows within the application > fsSystemStayOnTop - stay on top of all windows within system. > As an example. LeakView allows a user to switch between "fsStayOnTop" and "f

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 2:26 AM, Ondrej Pokorny wrote: > What I don't like on fsStayOnTop is the fact that fsStayOnTop-Window wants > to stay on top of all windows - also those from other applications. This is > IMO a seriously bad UI design. I know that Delphi behaves the same but then > we need

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 08:26, taazz wrote: On 23/12/2015 00:42 πμ, Anthony Walter wrote: Ondrej, The old menu designer was stay on top as well. Why would I need to see the menu designer when I change application to anything other than lazarus? The old behavior is why I still design my menus in delphi.

Re: [Lazarus] New menu designer

2015-12-23 Thread Maxim Ganetsky
23.12.2015 02:39, Juha Manninen пишет: > On Wed, Dec 23, 2015 at 12:42 AM, Anthony Walter wrote: >> As such, in the case of editor menus, it makes total sense to keep the menu >> editor on top of other IDE windows until the time when the user closes the >> menu editor (clicks the X button in the

Re: [Lazarus] New menu designer

2015-12-23 Thread Ondrej Pokorny
On 23.12.2015 08:54, taazz wrote: I know that Delphi behaves the same but then we need some FormStyle that makes the window stay only on top of its application windows and not system-wide. No it does not, delphi's 2007 menu designer never stays on top outside the application it self and nev

Re: [Lazarus] New menu designer

2015-12-22 Thread taazz
Thanks for explanation. What I don't like on fsStayOnTop is the fact that fsStayOnTop-Window wants to stay on top of all windows - also those from other applications. This is IMO a seriously bad UI design. stayontop is bad design for anything period. there was one single use case a couple of

Re: [Lazarus] New menu designer

2015-12-22 Thread taazz
On 23/12/2015 00:42 πμ, Anthony Walter wrote: Ondrej, The old menu designer was stay on top as well. Why would I need to see the menu designer when I change application to anything other than lazarus? The old behavior is why I still design my menus in delphi. Stay on top is needed because th

Re: [Lazarus] New menu designer

2015-12-22 Thread Ondrej Pokorny
On 23.12.2015 00:39, Juha Manninen wrote: On Wed, Dec 23, 2015 at 12:42 AM, Anthony Walter wrote: As such, in the case of editor menus, it makes total sense to keep the menu editor on top of other IDE windows until the time when the user closes the menu editor (clicks the X button in the menu e

Re: [Lazarus] New menu designer

2015-12-22 Thread Kostas Michalopoulos
Here is how it looks here: http://imgur.com/CN5dwQR (i use GTK+ 2 with a classic windows theme). It seems to crash very often and i cannot see any border in the popup menus. Also i'm not sure if the right blue arrows are supposed to be there (i get it is a "placeholder" for making submenu, but it

Re: [Lazarus] New menu designer

2015-12-22 Thread Juha Manninen
On Wed, Dec 23, 2015 at 12:42 AM, Anthony Walter wrote: > As such, in the case of editor menus, it makes total sense to keep the menu > editor on top of other IDE windows until the time when the user closes the > menu editor (clicks the X button in the menu editor title bar). Any non stay > on top

Re: [Lazarus] New menu designer

2015-12-22 Thread Anthony Walter
Ondrej, The old menu designer was stay on top as well. Stay on top is needed because the a menu designer is typically a separate non docking window (a dialog). For all users menu editing invariably consists of: 1. Creating a menu (or sub menu) item using the menu editor dialog 2. Then editing the

Re: [Lazarus] New menu designer

2015-12-22 Thread Ondrej Pokorny
On 22.12.2015 21:04, Juha Manninen wrote: 3. "Checkmark and radioitem properties" dialog should be removed. It is a modal dialog and always goes behind the menu designer. The menu designer itself tries to stay on top. Why does the menu designer have "FormStyle = fsStayOnTop"? I don't think any

[Lazarus] New menu designer

2015-12-22 Thread Juha Manninen
Hello I committed a new Menu Designer by Howard Page-Clark in r50992. See: http://bugs.freepascal.org/view.php?id=29205 Please test. It has some interesting design decisions. I initially see some things that may need fixing: 1. The main menu top level items do not show any indication when sele

<    1   2