{"action":"created","issue":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/1756","repository_url":"https://api.github.com/repos/keepassxreboot/keepassxc","labels_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/1756/labels{/name}","comments_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/1756/comments","events_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/1756/events","html_url":"https://github.com/keepassxreboot/keepassxc/issues/1756","id":306268149,"number":1756,"title":"KeePassXC 2.3.1 - Doesn't remember window size","user":{"login":"chrsmrtnx","id":25931950,"avatar_url":"https://avatars0.githubusercontent.com/u/25931950?v=4","gravatar_id":"","url":"https://api.github.com/users/chrsmrtnx","html_url":"https://github.com/chrsmrtnx","followers_url":"https://api.github.com/users/chrsmrtnx/followers","following_url":"https://api.github.com/users/chrsmrtnx/following{/other_user}","gists_url":"https://api.github.com/users/chrsmrtnx/gists{/gist_id}","starred_url":"https://api.github.com/users/chrsmrtnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrsmrtnx/subscriptions","organizations_url":"https://api.github.com/users/chrsmrtnx/orgs","repos_url":"https://api.github.com/users/chrsmrtnx/repos","events_url":"https://api.github.com/users/chrsmrtnx/events{/privacy}","received_events_url":"https://api.github.com/users/chrsmrtnx/received_events","type":"User","site_admin":false},"labels":[{"id":488761163,"url":"https://api.github.com/repos/keepassxreboot/keepassxc/labels/not%20reproducible","name":"not reproducible","color":"dddddd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-18T18:38:21Z","updated_at":"2018-05-09T21:05:15Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\nKeePassXC 2.3.1 should remember its window size even when the app is \"closed\" and \"hide window to system tray instead of app exit\" is selected, and also when \"minimize when copying to clipboard\" is being used.\r\n\r\n## Current Behavior\r\nI have found two ways to trigger the problem:\r\n\r\nFirstly - If I (say) maximize KeePassXC, then \"close\" the app, instead of using the minimize button, the app disappears into the system tray as expected, because I have \"hide window to system tray instead of app exit\" set. But then when I restore KeePassXC, it is no longer maximized, but has reverted to some other default window size.\r\n\r\nIf, instead, I maximize KeePassXC, then minimize it (instead of \"closing\" it), then KeePassXC retains its window size when restored as expected and desired.\r\n\r\nSince, with \"hide window to system tray instead of app exit\", minimize and close are effectively identical, I would expect them to behave identically with respect to remembering window sizing.\r\n\r\nSecondly - If I (say) maximize KeePassXC, then copy a username or password to the clipboard while \"minimize when copying to clipboard\" is set, KeePassXC disappears as expected. But when I restore it, it has lost its maximized status and has reverted to some other window size.\r\n\r\n## Context\r\nThis is a small bug, but it's very irritating, because instead of smoothly flipping back and forth between KeePassXC and other apps, I constantly have to re-maximize KeePassXC because the entry I was dealing with was hidden when the window shrank.\r\n\r\nThe original keepassx 0.4.x worked fine in this regard, so this is a regression in a broad sense.\r\n\r\n## Debug Info\r\nDesktop environment: KDE 5.12\r\n\r\nKeePassXC 2.3.1\r\nRevision: 2fcaeea\r\n\r\nLibraries:\r\n- Qt 5.9.2\r\n- libgcrypt 1.8.1\r\n\r\nOperating system: Debian GNU/Linux buster/sid\r\nCPU architecture: x86_64\r\nKernel: linux 4.15.0-1-amd64\r\n\r\nEnabled extensions:\r\n- Auto-Type\r\n- Browser Integration\r\n- Legacy Browser Integration (KeePassHTTP)\r\n- SSH Agent\r\n- YubiKey"},"comment":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/comments/387875446","html_url":"https://github.com/keepassxreboot/keepassxc/issues/1756#issuecomment-387875446","issue_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/1756","id":387875446,"user":{"login":"phoerious","id":911270,"avatar_url":"https://avatars1.githubusercontent.com/u/911270?v=4","gravatar_id":"","url":"https://api.github.com/users/phoerious","html_url":"https://github.com/phoerious","followers_url":"https://api.github.com/users/phoerious/followers","following_url":"https://api.github.com/users/phoerious/following{/other_user}","gists_url":"https://api.github.com/users/phoerious/gists{/gist_id}","starred_url":"https://api.github.com/users/phoerious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoerious/subscriptions","organizations_url":"https://api.github.com/users/phoerious/orgs","repos_url":"https://api.github.com/users/phoerious/repos","events_url":"https://api.github.com/users/phoerious/events{/privacy}","received_events_url":"https://api.github.com/users/phoerious/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T21:05:15Z","updated_at":"2018-05-09T21:05:15Z","author_association":"OWNER","body":"State persistence should be fixed and I cannot reproduce this issue."}}
{"actor":{"display_login":"phoerious"}}