{"action":"created","issue":{"url":"https://api.github.com/repos/paralect/robomongo/issues/736","labels_url":"https://api.github.com/repos/paralect/robomongo/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/paralect/robomongo/issues/736/comments","events_url":"https://api.github.com/repos/paralect/robomongo/issues/736/events","html_url":"https://github.com/paralect/robomongo/issues/736","id":53985306,"number":736,"title":"Document edit window sizing","user":{"login":"XAMeLi","id":6376121,"avatar_url":"https://avatars.githubusercontent.com/u/6376121?v=3","gravatar_id":"","url":"https://api.github.com/users/XAMeLi","html_url":"https://github.com/XAMeLi","followers_url":"https://api.github.com/users/XAMeLi/followers","following_url":"https://api.github.com/users/XAMeLi/following{/other_user}","gists_url":"https://api.github.com/users/XAMeLi/gists{/gist_id}","starred_url":"https://api.github.com/users/XAMeLi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XAMeLi/subscriptions","organizations_url":"https://api.github.com/users/XAMeLi/orgs","repos_url":"https://api.github.com/users/XAMeLi/repos","events_url":"https://api.github.com/users/XAMeLi/events{/privacy}","received_events_url":"https://api.github.com/users/XAMeLi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paralect/robomongo/labels/needs%20repro","name":"needs repro","color":"fbca04"},{"url":"https://api.github.com/repos/paralect/robomongo/labels/os-windows","name":"os-windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-11T08:01:00Z","updated_at":"2015-01-28T15:33:10Z","closed_at":null,"body":"Setup:\r\nOn a Windows 7 system with two HD displays (1920x1080), the main display is in portrait mode (effectively, 1080x1920 resolution).\r\n\r\nSteps to reproduce:\r\n1. Open Robomongo on secondary display (1920x1080).\r\n2. Search for documents.\r\n3. Edit one of the documents.\r\n\r\nObserved behavior:\r\nEdit window opens on secondary display with a height of about 1800 pixels. The top and bottom of the window are not visible.\r\nThe only way to move the window is by using Alt+Space and arrow keys.\r\nEven after the title of the window is visible, it seems like it has MinHeight set and there's no way to make the window smaller.\r\nThis behavior not observed when both screens are defined in landscape mode.\r\n\r\nExpected behavior:\r\nEdit window has MinHeight/MinWidth that is not dependent on screen configuration, and are less than 1000 pixels."},"comment":{"url":"https://api.github.com/repos/paralect/robomongo/issues/comments/71854095","html_url":"https://github.com/paralect/robomongo/issues/736#issuecomment-71854095","issue_url":"https://api.github.com/repos/paralect/robomongo/issues/736","id":71854095,"user":{"login":"pgifford","id":6106848,"avatar_url":"https://avatars.githubusercontent.com/u/6106848?v=3","gravatar_id":"","url":"https://api.github.com/users/pgifford","html_url":"https://github.com/pgifford","followers_url":"https://api.github.com/users/pgifford/followers","following_url":"https://api.github.com/users/pgifford/following{/other_user}","gists_url":"https://api.github.com/users/pgifford/gists{/gist_id}","starred_url":"https://api.github.com/users/pgifford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgifford/subscriptions","organizations_url":"https://api.github.com/users/pgifford/orgs","repos_url":"https://api.github.com/users/pgifford/repos","events_url":"https://api.github.com/users/pgifford/events{/privacy}","received_events_url":"https://api.github.com/users/pgifford/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T15:33:10Z","updated_at":"2015-01-28T15:33:10Z","body":"This is not just a Windows issue. Oddly enough I have the exact same monitor configuration except I'm using RHEL 6.5 (Gnome 2.28.2) and have encountered this issue as well. \r\n\r\nIt appears that the edit/view window gets its geometry from the primary display even if Robomongo is maximized in the secondary display. The edit/view window opens in the same display as Robomongo, hence the problem.\r\n\r\nMy workaround is to press ESC to close the edit/view window, then move Robomongo to the primary display and re-open the view/edit window.  The expected behavior is that the view/edit window will have dimensions and position within the bounds of the display in which it is opened."}}