Bug 104263

Summary: Qt5: Add cancellation support to renderToImage and textList
Product: poppler Reporter: Albert Astals Cid <aacid>
Component: qt frontendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: oliver.sander
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Qt5 cancellable support
Qt5 cancellable support

Description Albert Astals Cid 2017-12-14 14:09:49 UTC
Created attachment 136172 [details] [review]
Qt5 cancellable support

The attached patch uses the already existant support in Gfx.cc to be able to cancel a renderToImage or textList if the user is no longer interested in it.
Comment 1 Albert Astals Cid 2018-01-15 09:11:28 UTC
FWIW i have work-work-time assigned for this, but as far as i understand only this month, so it would be great if anyone could find time to review this *now* so i can put the time to do changes *now* too and not when i find hobby-time.

OTOH not much people review my code so i may as well just commit it at some point

P.S: This is needed by https://phabricator.kde.org/D9328
Comment 2 oliver.sander 2018-01-15 13:38:18 UTC
The patch contains a new textList method.  That's unrelated and should go into a separate patch, right?
Comment 3 Albert Astals Cid 2018-01-15 18:44:35 UTC
No, it's not unrelated, the patch is " Qt5: Add cancellation support to renderToImage and *textList*"
Comment 4 oliver.sander 2018-01-15 19:16:47 UTC
Indeed.  Apologies for wasting your time.
Comment 5 Albert Astals Cid 2018-01-19 15:44:00 UTC
Created attachment 136850 [details] [review]
Qt5 cancellable support

new version of the patch that applies to master as of today
Comment 6 Albert Astals Cid 2018-02-01 21:47:30 UTC
pushed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.