miele-lxiv icon indicating copy to clipboard operation
miele-lxiv copied to clipboard

SplitView has blue frame and sometimes missing table headers

Open zdavatz opened this issue 7 years ago • 4 comments

2019-01-10 18:42:18.839 miele-lxiv[21831:3487396] <NSSplitView: 0x7ff8eed17490>: the delegate <BrowserController: 0x7ff8f09a8600> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2019-01-10 18:42:18.839 miele-lxiv[21831:3487396] Split view bounds: {{0, 0}, {1441, 784}}
2019-01-10 18:42:18.839 miele-lxiv[21831:3487396]     Arranged view frame: {{0, 0}, {184, 784}}
2019-01-10 18:42:18.839 miele-lxiv[21831:3487396]     Arranged view frame: {{185, -21.5}, {1256, 784}}
2019-01-10 18:42:18.839 miele-lxiv[21831:3487396] The outer edges of the arranged view frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
2019-01-10 18:42:18.844 miele-lxiv[21831:3487396] <NSSplitView: 0x7ff8eefa1e90>: the delegate <BrowserController: 0x7ff8f09a8600> was sent -splitView:resizeSubviewsWithOldSize: and left the arranged view frames in an inconsistent state:
2019-01-10 18:42:18.844 miele-lxiv[21831:3487396] Split view bounds: {{0, 0}, {0, 0}}
2019-01-10 18:42:18.844 miele-lxiv[21831:3487396]     Arranged view frame: {{0, 0}, {-181, 0}}
2019-01-10 18:42:18.844 miele-lxiv[21831:3487396]     Arranged view frame: {{-180, 0}, {180, 0}}
2019-01-10 18:42:18.845 miele-lxiv[21831:3487396] The arranged view frames are not in the same order as the arranged views array. NSSplitView requires that these orders be kept consistent, otherwise behavior is undefined.
bildschirmfoto 2019-01-10 um 18 46 01

zdavatz avatar Jan 10 '19 17:01 zdavatz

The blue rectangle is called a focus ring see focusRingType. If you hit Tab the Focus Ring will eventually jump to patient search field. The application should actually start with the Focus on the Patient-Search-Bar.

zdavatz avatar Jan 14 '19 13:01 zdavatz

This should always show the headers of the Main patient windows. split-view.patch.txt - apply the patch to GUI/Base.lproj/MainMenu.xib

zdavatz avatar Jan 14 '19 13:01 zdavatz

another patch to test.

MainMenu.patch.txt

zdavatz avatar Jan 15 '19 13:01 zdavatz

This patch should fix the missing Table headers. MainMenu.xib.patch.txt

This hint helped.

zdavatz avatar Jan 16 '19 14:01 zdavatz