diff options
author | Sven Gothel <[email protected]> | 2020-01-15 02:24:25 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-01-15 02:24:25 +0100 |
commit | 85b332e0954af4afc9225eb84d758bee834dc497 (patch) | |
tree | e676dbc40a155d925e617b449fd77882bb4da570 /doc/uml | |
parent | 6d341e110912f9085194cb94ba6f6c358104ee71 (diff) |
Bug 1421: NEWT OSX Invisible: Implement 'Fake invisible child window'
'Fake invisible child window' is implemented by simply moving the window out of sight (viewport).
- orderOut0 needs to use '[mWin orderWindow: NSWindowBelow relativeTo:..' parentWindow
instead of '[mWin orderBack:..', otherwise the whole parent application gets invisible w/ SWT ;-)
- NewtNSWindow may also needs to use parent's Screen instance if moved offscreen,
as the own Screen is invalid (zero size) in this case.
- WindowDriver: Adding special treatment for 'Fake invisible child window' (tagged as such):
-- reconfigureWindowImpl: setWindowClientTopLeftPointAndSize0(..) will be called
using the viewport's max position -> out of sight.
-- screenPositionChanged: ignore the 'new' position
-- sizeChanged: ignore the 'new' size
This sensitive NEWT change set shall benefit other toolkits being used as parentWindow
besides SWT, as this behavior is the same across MacOS.
Diffstat (limited to 'doc/uml')
0 files changed, 0 insertions, 0 deletions