linux64 lazarus (2.2.4) DateTimePicker cannot select the date lazarus / 31-LCL ---------------------------------------------------------------------- jianwt · 2023-01-11 09:37 linux64 lazarus (2.2.4) DateTimePicker control on the window if loaded using ShowModal, on the DateTimePicker mouse cannot select the date; Show no problem. Please help the novice how to solve?? ---------------------------------------------------------------------- MarkMLl · 2023-01-11 11:11 I'm by no means an expert at this, but to make it easier for those who come after me: What distro are you using what desktop environment is it using (i.e. Gnome vs KDE etc.), and what widget set are you compiling for? MarkMLl ---------------------------------------------------------------------- zeljko · 2023-01-11 11:14 My wild guess is that it's gtk2 widgetset. ---------------------------------------------------------------------- jianwt · 2023-01-11 13:35 x86-64 linux64  gtk2 lazarus (2.2.4) See routine for questions(DEMO), ask for help!!! ---------------------------------------------------------------------- tetrastes · 2023-01-11 20:34 I think that this is bug in gtk2 widgetset (or regression, as reported at https://forum.lazarus.freepascal.org/index.php/topic,59974.msg44778 4.html#msg447784). The DateTimePicker Editor in Lazarus IDE (2.2.4 gtk2) does not work also. So all you can do is check whether it works in fixes or trunk, and if no, report a bug (and maybe provide a patch ). ---------------------------------------------------------------------- MarkMLl · 2023-01-11 21:01 I've just checked and can confirm that it doesn't work with GTK 2.4.33 from Debian "Testing", but is OK with Qt5. Reverting to lazarus-2.0.12+3.2.0 isn't quite right: a date must be clicked on twice to be accepted. I'm having problems with older versions because of linker errors on the latest Debian. MarkMLl ---------------------------------------------------------------------- jianwt · 2023-01-12 01:41 TDateTimePIcker calendar not responding in Linux gtk2。  the existing calendar dropdowns in tkDate mode do not respond to mouse clicks or keystrokes How to solve this problem? Ask for help。 ---------------------------------------------------------------------- MarkMLl · 2023-01-12 08:41 Quote from: jianwt on January 12, 2023, 02:41:58 amTDateTimePIcker calendar not responding in Linux gtk2。  the existing calendar dropdowns in tkDate mode do not respond to mouse clicks or keystrokes How to solve this problem? Ask for help。 You've already said that, this isn't IRC so you don't have to repeat yourself on a regular basis. The fault is reproducible, so if you want to make sure that it doesn't get brushed under the carpet either file a bug or append something to the current one. MarkMLl ---------------------------------------------------------------------- tetrastes · 2023-01-12 08:52 Quote from: jianwt on January 12, 2023, 02:41:58 amTDateTimePIcker calendar not responding in Linux gtk2。  the existing calendar dropdowns in tkDate mode do not respond to mouse clicks or keystrokes How to solve this problem? Ask for help。 I can add to what has already been said: 1. With gtk2 widgetset use Show instead of ShowModal 2. Switch to qt5 widgetset ---------------------------------------------------------------------- jianwt · 2023-01-12 09:09 I'm a novice and don't know much about it, so I'm just asking for a solution to this problem. Thanks for your help!! My English is translated by computer!!