In uicontrol with new axes colorbar uses figure space, but not displayed
Reported by Nikolay Strelkov
uicontrol-colorbar.png (88.07 KB, image/png)
Uicontrol, axes with (really without colorbar) screenshot
BUG DESCRIPTION:
----------------
Let's assume the figure has uicontrols (for example frames) and newaxes inside the frame.
User plots something 3d in the axes with colorbar(-1,1).
The colorbar uses figure space, but it is white space (not colorbar).
HOW TO REPRODUCE THE BUG:
-------------------------
Launch example '? -> Scilab Demonstration -> GUI -> Uicontrols 2' and after it enter colorbar(-1,1) in Console.
The result will be as on screenshot (white space at right of plot, but no colorbar).
OTHER INFORMATION:
------------------
Bug exists in Scilab 5.5.x and 6.0 beta 2.
Bug does not exist in Scilab 5.4.x, 5.3.x, 5.2.x.
Tested on Ubuntu 12.04.5 amd64 with Nvidia GPU driver and Windows 8.1 with integrated Intel graphics.