Bug 106321 - Impress slide object needs focus to update export jpg
Summary: Impress slide object needs focus to update export jpg
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Umang Jain
URL:
Whiteboard: target:5.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-04 19:05 UTC by Roy Hill
Modified: 2017-03-27 19:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Hill 2017-03-04 19:05:36 UTC
Description:
Updating issue when exporting impress slides to JPG format.  An object on the slide needs focus to update slide to export or else it will export previously worked on state of slide.

Work around.  When I update text I have to click on the text object on the slide or else I get a blank slide or previous state slide.

Steps to Reproduce:
1. Just open impress and type something
2. Go to export menu command
3. Export as JPG and get a blank slide instead of text typed in.

Actual Results:  
blank or not updated slide

Expected Results:
Not correct information on slide


Reproducible: Always

User Profile Reset: No

Additional Info:
I can export them correctly an as desired by clicking on object before export command.  It updates in slide panel when focused on.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Xisco Faulí 2017-03-08 11:37:12 UTC Comment hidden (obsolete)
Comment 2 Umang Jain 2017-03-09 20:48:59 UTC
I confirm the bug however I am confused. The description provided is up to the mark and accurate. If the textbox is still in-focus and export for JPG is done, the changes would not appear in the exported JPG. 

I would like to take up this bug and solve it as my first contribution to LibreOffice.
Comment 3 How can I remove my account? 2017-03-10 07:54:24 UTC
Just a note: I don't understand why Impress even has such an "export to JPEG" functionality. JPEG is very unsuitable for Impress slides, by definition. (The 'P' stands for 'Photography'. Slides consist of text and line art.)
Comment 4 Commit Notification 2017-03-27 19:56:29 UTC
Umang Jain committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=29c066ee3c0bf307ca14851dd35e314ab1a3f20b

Resolves tdf#106321: End text edit mode before exporting

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Michael Stahl (allotropia) 2017-03-27 19:59:04 UTC
the problem can be reproduced already with OOo 3.3

it affects not only export to JPEG but also PNG and probably others

thanks to Umang Jain for the fix!