Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SplitView has blue frame and sometimes missing table headers #36

Open
zdavatz opened this issue Jan 10, 2019 · 4 comments
Open

SplitView has blue frame and sometimes missing table headers #36

zdavatz opened this issue Jan 10, 2019 · 4 comments

Comments

@zdavatz
Copy link

zdavatz commented Jan 10, 2019

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
Copy link
Author

zdavatz commented Jan 14, 2019

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 zdavatz changed the title SplitView has blue frame. SplitView has blue frame and sometimes missing headers Jan 14, 2019
@zdavatz
Copy link
Author

zdavatz commented Jan 14, 2019

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 zdavatz changed the title SplitView has blue frame and sometimes missing headers SplitView has blue frame and sometimes missing table headers Jan 14, 2019
@zdavatz
Copy link
Author

zdavatz commented Jan 15, 2019

another patch to test.

MainMenu.patch.txt

@zdavatz
Copy link
Author

zdavatz commented Jan 16, 2019

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

This hint helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant