Dear All,
Recently, we found an issue with CS-Studio when invoking an external shell command through the action button widget. Here is the short story.
The running Linux environment is Debian 11 GNOME (with Nautilus as the default File Manager program), and CS-Studio 4.6.3.
After the external application is started up through the “Execute Command” action of an
ActionButton, everything looks to be working well, but when doing the save/open businesses through the external app interface, it seems that the current user File Manager configuration is not being honored, e.g. you cannot see any bookmarked
locations on the pop-up file/directory open dialog (see Figure 1 and 2 for the comparison), which the user does not expect, and to some extent, affect the productivity.
![](pngfT3v6intoB.png)
Figure 1: File Manager opened from the external app
![](pngf_2uUcisoU.png)
Figure 2: File Manager opened from the Linux system
I also tested with other File Manager apps, like CAJA, NEMO, but they behaved the same. I explored a little bit of the code of CS-Studio, and located the part that does the external
command invoking, it is at:
cs-studio/CommandExecutor.java at master · ControlSystemStudio/cs-studio · GitHub, but I’m not sure how to make it work as expected, are there any configurations for this feature?
I’m not sure how it behaved on other Desktop platforms rather than GNOME.
Has anyone experienced such an issue before? If so, do you have any workaround?
Appreciate your comments.
Tong