Summary: | NewtCanvasAWT in JSplitPane on macOS | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Bogdan Nicula <bogdan> |
Component: | macosx | Assignee: | Sven Gothel <sgothel> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | tbd | ||
Hardware: | All | ||
OS: | macosx | ||
Type: | DEFECT | SCM Refs: | |
Workaround: | --- | ||
Attachments: |
Test program showing the problem.
Screenshot showing the difference between macOS and Linux. |
Description
Bogdan Nicula
2019-04-25 10:11:35 CEST
Created attachment 814 [details]
Screenshot showing the difference between macOS and Linux.
So, my investigation led me to believe the culprit is the code dealing with `superlayer` in fixCALayerLayout() of OSXmisc.m (in jogl/src/nativewindow/native/macosx). Commenting the whole block fixed the symptom. That code was introduced by 9a8f9b9f7e6148b60b6f0f4326df8d213774284c in response to bug 816. My suspicion is that there is something wrong with the calculation of the origin of those frames. (In reply to Bogdan Nicula from comment #2) > So, my investigation led me to believe the culprit is the code dealing with > `superlayer` in fixCALayerLayout() of OSXmisc.m (in > jogl/src/nativewindow/native/macosx). Commenting the whole block fixed the > symptom. > > That code was introduced by 9a8f9b9f7e6148b60b6f0f4326df8d213774284c in > response to bug 816. My suspicion is that there is something wrong with the > calculation of the origin of those frames. Thank you for your detailed report, hence confirmed. I need to see whether I find time to check this for 2.4.0. In case you have a regression free patch, please post. |