This is a simple example of my problem:
f = figure;f.ButtonDownFcn = @(src,event) fprintf('clicked\n');f.WindowKeyPressFcn = @(src,event) fprintf('pressed %s \n',event.Key);f.WindowKeyReleaseFcn = @(src,event) fprintf('released %s \n',event.Key);
if I hold down 'o' and click on the figure, they key press function seems to die (i.e. no longer activates) though the key release function and button down function still do. If I then hold down 'j' and double click on the figure, the key press function come back to life.
MATLAB 2015b MacOS 10.12.6 (16G29)
Best Answer