I have a TitleAreaDialog
setShellStyle(getShellStyle() | SWT.RESIZE | SWT.MAX | SWT.MIN);
I searched on web and found out that this could be caused by os:
why maximize and minimize option is missing in linux but working in windows
I have run the command
gsettings set org.gnome.desktop.wm.preferences button-layout :minimize,maximize,close
but the result was the same so it is leads me that either the set wasn't succeed or it is other problem.
For some windows the all 3 buttons are displayed but only for some only close is displayed. Can this be caused by an OS setup or it is other problem?