Cannot move a MessageDlg dialog lazarus / 31-LCL ---------------------------------------------------------------------- bpranoto · 2020-11-01 11:47 A dialog which is created by MessageDlg function can not be moved relative to the parent window. It looks like the dialog is glued to the form which created it. If we drag the dialog, the caller form also moved along the dialog. To demonstrate the problem, show a MessageDlg from a form and then try to move the dialog. I have attached  a simple project to demonstrate this. fpc version: 3.2.0 lazarus version : 2.10.0 o/s: linux ubuntu 18.04 Is it a bug or a feature? ---------------------------------------------------------------------- jamie · 2020-11-01 14:14 maybe if you were to give us a workable project you would get more audience. I've tired now but my os only logs the title of the project with an empty file. = "size on disk = 0" that would be the lfm file. ---------------------------------------------------------------------- wp · 2020-11-01 14:16 The project is lacking the lpi file. ---------------------------------------------------------------------- Sieben · 2020-11-01 14:23 I loaded the lpr file ('Open Project...'), let IDE create a new lpi and moving dialog worked just fine. ---------------------------------------------------------------------- wp · 2020-11-01 14:32 No, the lpi file is an essential part of the project because it lists the packages that are required and the compiler settings that you use. ---------------------------------------------------------------------- jamie · 2020-11-01 14:33 The posters initial problem is a widget issue I would say ---------------------------------------------------------------------- bpranoto · 2020-11-01 15:08 Quote from: wp on November 01, 2020, 03:16:20 pmThe project is lacking the lpi file. Sorry, here is the project with the .lpi file ---------------------------------------------------------------------- Sieben · 2020-11-01 15:21 Quote from: wp on November 01, 2020, 03:32:18 pmNo, the lpi file is an essential part of the project because it lists the packages that are required and the compiler settings that you use. Yes, I know. I was just reporting what I did and that moving MessageDlgs is not an issue, usually. And it isn't with the new zip as well. ---------------------------------------------------------------------- bpranoto · 2020-11-01 15:25 Quote from: Sieben on November 01, 2020, 04:21:09 pmYes, I know. I was just reporting what I did and that moving MessageDlgs is not an issue, usually. And it isn't with the new zip as well. Is your environment same with me? BTW, the widgetset is gtk2. ---------------------------------------------------------------------- Sieben · 2020-11-01 15:29 Environment as in signature. Gtk2 here as well. ---------------------------------------------------------------------- madref · 2020-11-03 16:53 Why not design your own dialogue form. This way you can put it anywhere you want. ---------------------------------------------------------------------- winni · 2020-11-03 17:51 Hi! No problems here with the source from  bpranoto. See screenshot. System : Lin64, fpc 3.04, Laz 2.0.10 on Suse Tumbleweed Winni PS.: gtk2 ---------------------------------------------------------------------- bpranoto · 2020-11-03 18:34 Quote from: winni on November 03, 2020, 06:51:28 pmHi! No problems here with the source from  bpranoto. See screenshot. System : Lin64, fpc 3.04, Laz 2.0.10 on Suse Tumbleweed Winni PS.: gtk2 Thank you for trying, I guess it is somehow an environmental problem.... ---------------------------------------------------------------------- lucamar · 2020-11-03 19:39 No problems here either: Xubuntu 18.04, Lazarus/FPC 2.0.10/3.2.0 (x86_64-gtk2) ETA: Does Ubuntu 18.04 still use Unity? If so, it might have something to do with that. If you can, try installing (and loging in a session of) gnome-fallback (IIRC it's called that ... I stoped using plain Ubuntu with 12.04 ) ---------------------------------------------------------------------- bpranoto · 2020-11-05 05:02 Quote from: lucamar on November 03, 2020, 08:39:11 pmETA: Does Ubuntu 18.04 still use Unity? If so, it might have something to do with that. If you can, try installing (and loging in a session of) gnome-fallback (IIRC it's called that ... I stoped using plain Ubuntu with 12.04 ) No, ubuntu 18.04 uses gnome3