{"action":"opened","issue":{"url":"https://api.github.com/repos/aowen87/TicketTester/issues/25","repository_url":"https://api.github.com/repos/aowen87/TicketTester","labels_url":"https://api.github.com/repos/aowen87/TicketTester/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/aowen87/TicketTester/issues/25/comments","events_url":"https://api.github.com/repos/aowen87/TicketTester/issues/25/events","html_url":"https://github.com/aowen87/TicketTester/issues/25","id":379877118,"node_id":"MDU6SXNzdWUzNzk4NzcxMTg=","number":25,"title":"Print Window disabled for QT 5","user":{"login":"aowen87","id":11658578,"node_id":"MDQ6VXNlcjExNjU4NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/11658578?v=4","gravatar_id":"","url":"https://api.github.com/users/aowen87","html_url":"https://github.com/aowen87","followers_url":"https://api.github.com/users/aowen87/followers","following_url":"https://api.github.com/users/aowen87/following{/other_user}","gists_url":"https://api.github.com/users/aowen87/gists{/gist_id}","starred_url":"https://api.github.com/users/aowen87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aowen87/subscriptions","organizations_url":"https://api.github.com/users/aowen87/orgs","repos_url":"https://api.github.com/users/aowen87/repos","events_url":"https://api.github.com/users/aowen87/events{/privacy}","received_events_url":"https://api.github.com/users/aowen87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aowen87/TicketTester/milestones/2","html_url":"https://github.com/aowen87/TicketTester/milestone/2","labels_url":"https://api.github.com/repos/aowen87/TicketTester/milestones/2/labels","id":3815135,"node_id":"MDk6TWlsZXN0b25lMzgxNTEzNQ==","number":2,"title":"2.13.0","description":null,"creator":{"login":"aowen87","id":11658578,"node_id":"MDQ6VXNlcjExNjU4NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/11658578?v=4","gravatar_id":"","url":"https://api.github.com/users/aowen87","html_url":"https://github.com/aowen87","followers_url":"https://api.github.com/users/aowen87/followers","following_url":"https://api.github.com/users/aowen87/following{/other_user}","gists_url":"https://api.github.com/users/aowen87/gists{/gist_id}","starred_url":"https://api.github.com/users/aowen87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aowen87/subscriptions","organizations_url":"https://api.github.com/users/aowen87/orgs","repos_url":"https://api.github.com/users/aowen87/repos","events_url":"https://api.github.com/users/aowen87/events{/privacy}","received_events_url":"https://api.github.com/users/aowen87/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":11,"state":"open","created_at":"2018-11-12T17:16:38Z","updated_at":"2018-11-12T17:21:56Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-11-12T17:21:55Z","updated_at":"2018-11-12T17:21:55Z","closed_at":null,"author_association":"OWNER","body":"QvisGUIApplication::PrintWindow is ifdef'd out for Qt 5.\r\n\r\nI tested on Windows and Linux:\r\nthe method will compile on both with the version check ifdef removed.\r\nOn Linux, a print dialog box will open, but the only option is print-to-pdf. It doesn't recognize my printers (Qt 4 version does).\r\nOn Windows, no print dialog box at all.\r\n\n\n\n\n\n\n-----------------------REDMINE MIGRATION-----------------------\nThis ticket was migrated from Redmine. As such, not all \ninformation was able to be captured in the transition. Below is\na complete record of the original redmine ticket.\n\nTicket number: 2911\nStatus: Resolved\nProject: VisIt\nTracker: Bug\nPriority: Normal\nSubject: Print Window disabled for QT 5\nAssigned to: Kevin Griffin\nCategory: \nTarget version: 2.13.0\nAuthor: Kathleen Biagas\nStart: 09/11/2017\nDue date: \n% Done: 100\nEstimated time: \nCreated: 09/11/2017 08:46 pm\nUpdated: 09/19/2017 10:18 pm\nLikelihood: 3 - Occasional\nSeverity: 3 - Major Irritation\nFound in version: 2.12.3\nImpact: \nExpected Use: \nOS: All\nSupport Group: Any\nDescription:\n QvisGUIApplication::PrintWindow is ifdef'd out for Qt 5.\r\n\r\nI tested on Windows and Linux:\r\nthe method will compile on both with the version check ifdef removed.\r\nOn Linux, a print dialog box will open, but the only option is print-to-pdf. It doesn't recognize my printers (Qt 4 version does).\r\nOn Windows, no print dialog box at all.\r\n\n\nComments:\nFor windows, qt's printsupport plugin needs to be 'installed' the same way as platform plugins are installed.\nSVN Update 31489 re-enables the method for all platforms.Added install of qt's printsupport plugin for windows, Windows print window now works as expected.On my local linux box, I can still only print to pdf, but I believe that is due to cups not being properly installed on the system (which Qt 5 uses under the covers).I tested on my bdiv linux desktop, and printer options were available.I believe the only thing left to do is test on Mac.\nThe PMSessionPrintDialog method was deprecated and is no longer available for OS X causing it not build. Skipped using the custom OS X print dialog and used the QPrinter object and everything is good. Need to determine if we still need to try to use a custom OS X print dialog since QPrinter does a good job and provides enough information for printing. Also, I put an #ifdef around the custom code so it doesn't get executed, can this code just get deleted?\n\n"}}
{"actor":{"display_login":"aowen87"}}