Mini window has strange artifact on 10.13.6 #70

Closed
opened 2021-01-07 19:40:33 -03:00 by kode54 · 5 comments
kode54 commented 2021-01-07 19:40:33 -03:00 (Migrated from github.com)

This was sent to me via email by a user. Apparently the latest version's mini window has that artifact on the bottom, but it looks broken in other ways as well.

Screen Shot 2021-01-07 at 14 48 29

This was sent to me via email by a user. Apparently the latest version's mini window has that artifact on the bottom, but it looks broken in other ways as well. ![Screen Shot 2021-01-07 at 14 48 29](https://user-images.githubusercontent.com/796316/103953035-39648d00-50f6-11eb-9284-73a0772eacff.png)
kode54 commented 2021-01-07 20:40:22 -03:00 (Migrated from github.com)

This may be related to your recent changes, @nevack ?

This may be related to your recent changes, @nevack ?
nevack commented 2021-01-08 02:50:53 -03:00 (Migrated from github.com)

I have set window content size height/minHeight/maxHeight to 1 instead of 0, because the other way Cocoa doesn't respect minimum size at all.

Artifact at bottom is separator between content and toolbar.

I can revert this change partially.

looks broken in other ways as well

I think toolbar was customised by the user, because default layout is below.

image

I have set window content size height/minHeight/maxHeight to 1 instead of 0, because the other way Cocoa doesn't respect minimum size at all. Artifact at bottom is separator between content and toolbar. I can revert this change partially. > looks broken in other ways as well I think toolbar was customised by the user, because default layout is below. ![image](https://user-images.githubusercontent.com/8330119/103979245-741a0400-518e-11eb-8fcb-04d475c2cea1.png)
kode54 commented 2021-01-08 03:05:55 -03:00 (Migrated from github.com)

No, it's probably just the price to pay for doing a window like this, and probably only looks like that on older systems.

No, it's probably just the price to pay for doing a window like this, and probably only looks like that on older systems.
nevack commented 2021-01-08 03:37:58 -03:00 (Migrated from github.com)

No, it's probably just the price to pay for doing a window like this, and probably only looks like that on older systems.

I can try to enforce minimum size with code and not xib.

> No, it's probably just the price to pay for doing a window like this, and probably only looks like that on older systems. I can try to enforce minimum size with code and not xib.
nevack commented 2021-02-21 04:20:22 -03:00 (Migrated from github.com)

I think this is fixed. Closing for now

I think this is fixed. Closing for now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chris/Cog#70
No description provided.