https://bugs.documentfoundation.org/show_bug.cgi?id=147374
--- Comment #5 from Eike Rathke <[email protected]> --- Sorry, I don't know. Some Writer wizard should take a look at this. Before the indicated change another dialog was used. Note this happens only if the image is selected by clicking (activating) it, not if selecting it by Shift+cursor movement, which doesn't activate the image. It does not happen if the image is activated and then using context menu Save... It also does not happen if Selection in the export file picker is not checked. I assume as there is no text selection the resulting size correctly is 0, but Writer should detect that the image is selected/activated instead. Related seem to be: commit cb9d99dbb5a7249ca7437bd5c30c6c9374089a16 Author: Eike Rathke <[email protected]> AuthorDate: Tue Sep 19 20:30:05 2017 +0200 Commit: Eike Rathke <[email protected]> CommitDate: Tue Sep 19 20:31:23 2017 +0200 DocumentToGraphicRenderer: suppress selection for Writer, it doesn't work See FIXME comment. Followed by commit 5214e841b6ca5362f94d59f940ec3947978c1abe Author: Eike Rathke <[email protected]> AuthorDate: Tue Sep 19 20:43:02 2017 +0200 Commit: Eike Rathke <[email protected]> CommitDate: Tue Sep 19 20:43:57 2017 +0200 Detect Writer doc independent of selection, we'll need that later Followed by commit 9d46ee5e17fe70fb6fc0cbdcb85096ca8c7cff20 Author: Eike Rathke <[email protected]> AuthorDate: Tue Sep 19 20:48:43 2017 +0200 Commit: Eike Rathke <[email protected]> CommitDate: Tue Sep 19 20:49:32 2017 +0200 Call getCurrentPageWriter() only for Writer Likely relevant commit 51c7d52ee1ff26ebf5fe407520514c484e0d7f82 Author: Eike Rathke <[email protected]> AuthorDate: Tue Sep 19 21:10:45 2017 +0200 Commit: Eike Rathke <[email protected]> CommitDate: Tue Sep 19 21:11:55 2017 +0200 Writer does not support selection, so don't claim it would To me it looks like the Selection checkbox in the export dialog simply should not be available when called from Writer, or Writer would need to implement selection export/rendering. As is, the result with a text selection is always one (the active) page, not the selected text. -- You are receiving this mail because: You are the assignee for the bug.
