Closed bjorn3 closed 5 years ago
Thanks. Native Windows Support is very much a work in progress, and it still has glitches which is the reason why we do not enable it by default.
The issue that you point out is due to the fact that you have existing Gt/Bloc windows open. We will address it in a follow up build.
Until then, please try this script instead (in a classic Playground):
World closeAllWindowsDiscardingChanges.
BlUniverse reset.
Bloc preferableHostClass: BlOSWindowHost.
Does this work for you?
World
and clicked World
in a popup Edit: added screenshot of the popup
The script is not meant to do anything else. However, after running the script, opening a new GT window should happen in a native window.
- Copy paste doesn't work How did I try it?
Ctrl+c
?
What Linux variant are you on?
2. I initially misspelled
World
and clickedWorld
in a popup I cannot reproduce this one. Can you try again and see if you can reproduce it?
The script doesn't result in new windows opening in native windows. Copy paste seems to work in the classic playground, but not in the GToolkit I accidentially opened before. I am running kde on debian stretch.
Thanks for trying! Can you try in a fresh image?
Just to make sure, this is the script I am referring to:
World closeAllWindowsDiscardingChanges.
BlUniverse reset.
Bloc preferableHostClass: BlOSWindowHost.
I cannot reproduce this one. Can you try again and see if you can reproduce it?
I only reproduced it once by chance.
Just to make sure, this is the script I am referring to:
Yes
The script doesn't result in new windows opening in native windows.
Now it does. It seems to only work for GToolkit tools, not those from pharo.
Thanks for trying! Can you try in a fresh image?
I never saved it, but restarted pharo every time.
Now it does. It seems to only work for GToolkit tools, not those from pharo.
The playground I got in a native window has the same glitches :(
As an aside, every time I change focus from the native window to my browser and close the native window, my browser flickers for an instant.
Now it does. It seems to only work for GToolkit tools, not those from pharo.
Of course. GToolkit is based on a completely separate graphical stack than Pharo. To bootstrap, we used the Pharo Morphic as a host, but other than that it is distinct. So, the native window support only affects GT.
The playground I got in a native window has the same glitches :(
What glitches?
What glitches?
Quoting myself:
When bringing my browser in front and bringing the native window back it stays blank until dragging it again.
Except this time dragging didn't even help.
When bringing my browser in front and bringing the native window back it stays blank until dragging it again. Except this time dragging didn't even help.
Thanks for trying and for the patience.
By blank, do you mean black? This is a known problem (even though we do not yet know how to fix).
Also, can you confirm that Ctrl+v
does not paste in the new Playground (either in a native window or in the default morphic host)?
By blank, do you mean black? This is a known problem (even though we do not yet know how to fix).
Either the old content of the screen at the moment the window came back in front or black.
Ctrl+v
does work in a native window, but not in the default morphic host.
Either the old content of the screen at the moment the window came back in front or black.
And does resizing the window help?
Ctrl+v
does work in a native window, but not in the default morphic host.
Thanks!
And does resizing the window help?
Yes after some flickering. After resizing for a bit longer I got:
I kept the above window open, so if you need more info, tell me what commands to execute.
Edit: had to close it.
Thanks. I never saw this problem.
Would it be possible for you to play with GT in the regular Morphic window to see if you can use it normally? That scenario should work fine.
I couldn't reproduce using a regular Morphic window, but could easily using a native window.
Can you still reproduce the issue with the latest GT?
We are now working on a new backend for native windows: #236
I will close this issue. Please reevaluate after we release the new solution.
When I clicked on GToolkit > Use Native Windows, I got an AssertionFailure. Dragging the new window a bit causes glitches. When bringing my browser in front and bringing the native window back it stays blank until dragging it again.