11-19-2022, 07:33 PM
(11-19-2022, 04:46 PM)DSMan195276 Wrote:(11-19-2022, 09:11 AM)Coolman Wrote: the latency problem I found is probably due to the detection. for example, I use kdialog often in scripts and it doesn't take about a second to run, example for kde, type in command line :
kdialog --getopenfilename ~
Yeah I was wondering if that might be the cause for what you're seeing, but the detection should only happen once and then it caches the result.
indeed. the second time, it's better. i looked at the source code a bit:
for graphic mode:
windows_wchar windows applescript kdialog zenity zenity3 matedialog
shellementary qarma yad python2-tkinter python3-tkinter python-dbus
perl-dbus gxmessage gmessage xmessage xdialog gdialog
for console mode:
dialog whiptail basicinput no_solution
it's a lot. no wonder it's slow at first.