{"action":"created","issue":{"url":"https://api.github.com/repos/3ll3d00d/beqdesigner/issues/56","repository_url":"https://api.github.com/repos/3ll3d00d/beqdesigner","labels_url":"https://api.github.com/repos/3ll3d00d/beqdesigner/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/3ll3d00d/beqdesigner/issues/56/comments","events_url":"https://api.github.com/repos/3ll3d00d/beqdesigner/issues/56/events","html_url":"https://github.com/3ll3d00d/beqdesigner/issues/56","id":362302803,"node_id":"MDU6SXNzdWUzNjIzMDI4MDM=","number":56,"title":"Mac: QDialogButtonBox button enabled state changes does not redraw the button","user":{"login":"bmiller","id":45434,"node_id":"MDQ6VXNlcjQ1NDM0","avatar_url":"https://avatars3.githubusercontent.com/u/45434?v=4","gravatar_id":"","url":"https://api.github.com/users/bmiller","html_url":"https://github.com/bmiller","followers_url":"https://api.github.com/users/bmiller/followers","following_url":"https://api.github.com/users/bmiller/following{/other_user}","gists_url":"https://api.github.com/users/bmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmiller/subscriptions","organizations_url":"https://api.github.com/users/bmiller/orgs","repos_url":"https://api.github.com/users/bmiller/repos","events_url":"https://api.github.com/users/bmiller/events{/privacy}","received_events_url":"https://api.github.com/users/bmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-20T18:11:14Z","updated_at":"2018-09-20T21:13:35Z","closed_at":null,"author_association":"NONE","body":"The QDialogButtonBoxes do not redraw their buttons when the enabled state of one of the buttons changes in it.  For example in add signal when a preview is generated the \"OK\" button still appears to be disabled.  Switching to another window/app and back to force a window redraw results in the correct display.  \r\n\r\nThis is only a drawing issue.  The button is still able to be clicked on and have it's action triggered. \r\n\r\nIt also appears to only be for enable/disable.  Changing the buttons title causes a redraw and the new title is displayed.  \r\n\r\nQPushButton buttons are not affected by this.  They redraw as expected.  "},"comment":{"url":"https://api.github.com/repos/3ll3d00d/beqdesigner/issues/comments/423335366","html_url":"https://github.com/3ll3d00d/beqdesigner/issues/56#issuecomment-423335366","issue_url":"https://api.github.com/repos/3ll3d00d/beqdesigner/issues/56","id":423335366,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzMzNTM2Ng==","user":{"login":"bmiller","id":45434,"node_id":"MDQ6VXNlcjQ1NDM0","avatar_url":"https://avatars3.githubusercontent.com/u/45434?v=4","gravatar_id":"","url":"https://api.github.com/users/bmiller","html_url":"https://github.com/bmiller","followers_url":"https://api.github.com/users/bmiller/followers","following_url":"https://api.github.com/users/bmiller/following{/other_user}","gists_url":"https://api.github.com/users/bmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmiller/subscriptions","organizations_url":"https://api.github.com/users/bmiller/orgs","repos_url":"https://api.github.com/users/bmiller/repos","events_url":"https://api.github.com/users/bmiller/events{/privacy}","received_events_url":"https://api.github.com/users/bmiller/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T21:13:35Z","updated_at":"2018-09-20T21:13:35Z","author_association":"NONE","body":"It happens on both the QDialogButtonBox in both the extract and signal dialogs.  I haven't checked if there are any others yet.  The signal one is where I noticed that it was clickable but still drawn inactive unless the entire window gets a redraw.  In extract while the process is running it's not clickable but still appears to be.  When the extract is done the name changes and it's working as expected.  \r\n\r\nIn prepare_signal() if I call repaint on the button then it redraws as expected:\r\n```\r\n        button = self.__dialog.buttonBox.button(QDialogButtonBox.Ok)\r\n        button.setEnabled(True)\r\n        button.repaint(button.rect())\r\n\r\n```\r\n\r\nSo I'm leaning towards it being a QT bug.  This workaround works but that's ugly to do everywhere.  I'm still looking into a better solution.  What seems weird is I'm not finding anything on other people running into it.  \r\n"}}
{"actor":{"display_login":"bmiller"}}