-
Notifications
You must be signed in to change notification settings - Fork 614
Don't Center Popups if Size and Width aren't parsed #476
Conversation
@JeffryBooher I'm seeing window correctly open at default size for these cases:
I was expecting window to open a default size for this case as well, but it still opens minimal window:
|
@redmunds what does minimal window mean? I think the OS is positioning the window in all of three cases. What does Windows do if you create a window with a width but height is |
I'm creating window from dev tools console, so CW_USEDEFAULT is not defined and get same result as "minimal window" case. |
Yes I see it too. You're specifying a Width for the Window but not a Height and passing
This seems like an edge case to me -- we could try to clean that up but it seems like this shouldn't be a case that we have to support. |
This is a question for @peterflynn (and maybe @jasonsanjose). |
@redmunds no need to wait for @peterflynn -- I've pushed a fix for that case. |
LGTM. Merging. |
Don't Center Popups if Size and Width aren't parsed
Don't Center Popups if Size and Width aren't parsed
@peterflynn
Fixes adobe/brackets#9597