There seems to be an issue with copy/paste on a Mac when the menu’s are disabled.
When using this in globals:
//remove servoy menu’s and toolbar in Smartclient
var x = plugins.window.getMenuBar();
x.setVisible(false);
x.validate();
It is no longer possible to copy, past, select all, etc on a Mac. In windows however it does still work. Apparently in windows, only the menu is hidden while on Mac, the whole functionality is disabled.
We use Nimbus LAF btw.
Is this a bug and is there a work around that anyone knows of?
alex050478:
There seems to be an issue with copy/paste on a Mac when the menu’s are disabled.
When using this in globals:
//remove servoy menu’s and toolbar in Smartclient
var x = plugins.window.getMenuBar();
x.setVisible(false);
x.validate();
It is no longer possible to copy, past, select all, etc on a Mac. In windows however it does still work. Apparently in windows, only the menu is hidden while on Mac, the whole functionality is disabled.
We use Nimbus LAF btw.
Is this a bug and is there a work around that anyone knows of?
non aqua look and feels have shortcuts based on control key, not command; however we changed/fixed this behavior in latest Servoy 6 so all shortcuts use command key (as expected) ; indeed menubar has influence because command key was working through menubar actions (copy,paste…), if menubar is removed those actions will not work anymore;
if menubar is removed those actions will not work anymore;
in our case, we also hide the the menubar completly, and copy paste still works on MAC OSX. in 5.2.8
Yes, in aqua look and feel it works because the component has those shortcuts. In other look and feels the component has control shortcuts and menu has command shortcuts. So, if you remove the menu only the control shortcuts will work. But in Servoy 6.0 we changed so that the component has command shortcuts, so control shortcuts will not work anymore.