Forum > General

ShowModal disables form minimise

<< < (4/5) > >>

winni:
Hi!


This is not a bug.
A car with square tyres will not roll.

ShowModal: This is the only Form which will react on any user action.  Meanwhile all other Forms are disabled..This is the defined and wanted behaviour. If you dont respect that your demo will not work.

Winni

lucamar:

--- Quote from: winni on May 15, 2021, 06:09:39 pm ---This is not a bug.
A car with square tyres will not roll.

ShowModal: This is the only Form which will react on any user action.  Meanwhile all other Forms are disabled..This is the defined and wanted behaviour. If you dont respect that your demo will not work.
--- End quote ---

That  is not the problem. The problem (bug?) is that if you have two forms and ShowModal a third, the one that was previously active will lose the minimize button and system menu item even after this third is closed.

It's not that the button (and menu item) is  disabled: it just dissapears!

winni:
Hi!

Just tested:

Lin64/gtk2 : No Problems
Win7/64 : No Problems

So I think it is again a Win10 problem.

Dont use that rubbish!

Winni

lucamar:
Well, I tested it on Linux-gtk/x86_64 (Xubuntu 18,04), so it doesn't seem to be "Windows-only". It might depend on specific versions of some libs, though, so some Linuxen show and other don't show this behaviour.

winni:

--- Quote from: lucamar on May 15, 2021, 09:59:23 pm ---Well, I tested it on Linux-gtk/x86_64 (Xubuntu 18,04), so it doesn't seem to be "Windows-only". It might depend on specific versions of some libs, though, so some Linuxen show and other don't show this behaviour.

--- End quote ---

Okay. Only tested with Suse Tumbleweed and the last gtk2 libs.

And yes: The titlebar and the system menu are job of the Window Manager and not of Lazarus. So there must be some trouble in the interface to the Window Manager.

And the Window Manager where a long time a problem. The height of the Linux Titlebar was a long time only available through some lousy tricks (including mine).

So this is a tricky item. And remember: You can change your Window Manager with Linux on the fly: After that you only have to restart you session.

Oh oh ....

Winni

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version