Wizzup?
2011-06-02 09:09:37
In Simba, we have a function for the colour picker. If you press the colour picker button it will bring a fullscreen window with a copy of the current screen. On Linux (and perhaps on Windows too) you can alt+tab out of this ``fullscreen'' window and press the button again. This will bring up another fullscreen window. If you then pick a colour, Simba will crash.
This can easily be prevented by not allowing the pick action to be executed when there is already a ``pick'' active.
Additionally, it may be cool to add a ``Pick Colour'' option to the Simba tray icon.
https://github.com/MerlijnWajer/Simba/blob/master/Projects/Simba/simbaunit.pas#L2826
You'll probably just have to add a Boolean PickingColour := True; and the check If PickingColour then exit; or something like that.
Or you could turn it into a TAction and make it a bit more pretty.
This can easily be prevented by not allowing the pick action to be executed when there is already a ``pick'' active.
Additionally, it may be cool to add a ``Pick Colour'' option to the Simba tray icon.
https://github.com/MerlijnWajer/Simba/blob/master/Projects/Simba/simbaunit.pas#L2826
You'll probably just have to add a Boolean PickingColour := True; and the check If PickingColour then exit; or something like that.
Or you could turn it into a TAction and make it a bit more pretty.