View Issue Details

IDProjectCategoryView StatusLast Update
0032991LazarusLCLpublic2018-01-14 20:15
ReporterChris RordenAssigned ToDmitry Boyarintsev 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformMacBook 2012 Retina 13"OSDarwinOS Version10.11.6
Product Version1.9 (SVN)Product Build57024 
Target VersionFixed in Version 
Summary0032991: Cocoa: TMemo always drawn in front of Panels, regardless of order/bringToFront
DescriptionTMemo always drawn in front of panels, regardless of order. This issue is specific to Cocoa - Carbon allows panels to be drawn on front of Memo. So Z-order is not respected.
Steps To ReproducePlease see demo.
Additional InformationThis issue was reported by Josh in 0032722, with new issue created as requested.
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetCocoa
Attached Files

Relationships

related to 0033029 closedDmitry Boyarintsev Cocoa: IDE unable to select items on top of a TMemo 

Activities

Chris Rorden

2018-01-09 16:24

reporter  

tmemo_zorder.zip (5,319 bytes)

Dmitry Boyarintsev

2018-01-11 03:55

developer   ~0105650

here's a trick... click on a panel (as if it show go up to front)

minimize window

click on the window in the Dock.

Dmitry Boyarintsev

2018-01-11 04:04

developer   ~0105651

https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/CocoaViewsGuide/WorkingWithAViewHierarchy/WorkingWithAViewHierarchy.html

"Note: For performance reasons, Cocoa does not enforce clipping among sibling views or guarantee correct invalidation and drawing behavior when sibling views overlap. If you want a view to be drawn in front of another view, you should make the front view a subview (or descendant) of the rear view."

nearly not fixable?!

Chris Rorden

2018-01-11 17:40

reporter   ~0105670

This makes sense. I have made an entry here
  http://wiki.lazarus.freepascal.org/Cocoa_Interface#Overlapping_Widgets
to describe this feature of the Cocoa interface. Please edit my entry if you wish.

Issue History

Date Modified Username Field Change
2018-01-09 16:24 Chris Rorden New Issue
2018-01-09 16:24 Chris Rorden File Added: tmemo_zorder.zip
2018-01-11 03:55 Dmitry Boyarintsev LazTarget => -
2018-01-11 03:55 Dmitry Boyarintsev Note Added: 0105650
2018-01-11 03:55 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2018-01-11 03:55 Dmitry Boyarintsev Status new => feedback
2018-01-11 04:04 Dmitry Boyarintsev Note Added: 0105651
2018-01-11 04:04 Dmitry Boyarintsev Status feedback => acknowledged
2018-01-11 17:40 Chris Rorden Note Added: 0105670
2018-01-14 20:15 Dmitry Boyarintsev Relationship added related to 0033029