{"action":"created","issue":{"url":"https://api.github.com/repos/PaycoinFoundation/paycoin/issues/458","labels_url":"https://api.github.com/repos/PaycoinFoundation/paycoin/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/PaycoinFoundation/paycoin/issues/458/comments","events_url":"https://api.github.com/repos/PaycoinFoundation/paycoin/issues/458/events","html_url":"https://github.com/PaycoinFoundation/paycoin/pull/458","id":127521421,"number":458,"title":"Save main-geometry and some header data before closing the GUI","user":{"login":"IngCr3at1on","id":922158,"avatar_url":"https://avatars.githubusercontent.com/u/922158?v=3","gravatar_id":"","url":"https://api.github.com/users/IngCr3at1on","html_url":"https://github.com/IngCr3at1on","followers_url":"https://api.github.com/users/IngCr3at1on/followers","following_url":"https://api.github.com/users/IngCr3at1on/following{/other_user}","gists_url":"https://api.github.com/users/IngCr3at1on/gists{/gist_id}","starred_url":"https://api.github.com/users/IngCr3at1on/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngCr3at1on/subscriptions","organizations_url":"https://api.github.com/users/IngCr3at1on/orgs","repos_url":"https://api.github.com/users/IngCr3at1on/repos","events_url":"https://api.github.com/users/IngCr3at1on/events{/privacy}","received_events_url":"https://api.github.com/users/IngCr3at1on/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PaycoinFoundation/paycoin/labels/Feature","name":"Feature","color":"7cf575"},{"url":"https://api.github.com/repos/PaycoinFoundation/paycoin/labels/GUI","name":"GUI","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-19T19:39:10Z","updated_at":"2016-01-24T08:21:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PaycoinFoundation/paycoin/pulls/458","html_url":"https://github.com/PaycoinFoundation/paycoin/pull/458","diff_url":"https://github.com/PaycoinFoundation/paycoin/pull/458.diff","patch_url":"https://github.com/PaycoinFoundation/paycoin/pull/458.patch"},"body":"This will restore the physical geometry of the main window upon reopening\r\n\r\nIt will also retain and restore the column header sizes for the minting\r\ntab and the transactions tab; do to the nature of the address book (in\r\nthat both receiving page and the address book page use the same header\r\nobject) we cannot restore this without breaking scrape address display\r\n(I figure this is safe cause there's only 2 or 3 entries on both those\r\ntabs and they fit pretty well in all states).\r\n\r\nThis resolves #308"},"comment":{"url":"https://api.github.com/repos/PaycoinFoundation/paycoin/issues/comments/174266566","html_url":"https://github.com/PaycoinFoundation/paycoin/pull/458#issuecomment-174266566","issue_url":"https://api.github.com/repos/PaycoinFoundation/paycoin/issues/458","id":174266566,"user":{"login":"mitchellcash","id":8009243,"avatar_url":"https://avatars.githubusercontent.com/u/8009243?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellcash","html_url":"https://github.com/mitchellcash","followers_url":"https://api.github.com/users/mitchellcash/followers","following_url":"https://api.github.com/users/mitchellcash/following{/other_user}","gists_url":"https://api.github.com/users/mitchellcash/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellcash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellcash/subscriptions","organizations_url":"https://api.github.com/users/mitchellcash/orgs","repos_url":"https://api.github.com/users/mitchellcash/repos","events_url":"https://api.github.com/users/mitchellcash/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellcash/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T08:21:45Z","updated_at":"2016-01-24T08:21:45Z","body":"Hmm I've been looking into this more and agree we should have the ability to save the main-geometry for the main GUI.\r\n\r\nBut I don't think we need to burden ourselves with saving the different column widths but I do think the columns (well the Minting Table Model) needs to work in a way that everything is visible to the user.\r\n\r\nIf we define the minimum width of the column and that minimum width shows everything visible then lets not bother saving the column width.\r\n\r\nSo my thoughts to make this happen is a change to the Minting Table Model in which we remove the Transaction column and implement the ability to double click on the transaction to open a more detailed transaction description (like in the Transaction Table).\r\n\r\nWe then make the Address column use `QHeaderView::Stretch`, reduce the MintProbability column to 120.\r\n\r\nThis should leave enough space on the Minting Table Model for everything to be viewable even on a reduced window. If the power user wishes for more detail than the behaviour should match the Transaction Table and they double click for more info."}}