Bug 141407

Summary: Remove dysfunctional 'Export as EPUB' buttons on Tabbed NB (Calc/Impress/Draw)
Product: LibreOffice Reporter: Aron Budea <aron.budea>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: kainz.a, xiscofauli
Priority: medium Keywords: bibisected, bisected, regression
Version: 6.3.0.4 release   
Hardware: All   
OS: All   
Whiteboard: target:7.2.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107237    

Description Aron Budea 2021-03-31 18:13:53 UTC
Export as EPUB is only relevant in Writer, and gives an error in the other apps.

The (expected) error message is:
"Error when saving the document <document name>:
Wrong parameter.
The operation was started under an invalid parameter."

At least to Draw the item was added with the following commit (previously it was Attach to Email), I haven't checked if there was a previous version in other apps, those already seem to have Export as EPUB in 6.2.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=51fd99367b517b9a7630f5c089d5fa22a7252472
Author:     andreas kainz <kainz.a@gmail.com>
AuthorDate: Wed May 29 01:01:19 2019 +0200
Commit:     andreas_kainz <kainz.a@gmail.com>
CommitDate: Wed May 29 07:13:34 2019 +0200

    NB tabbed layout update in all apps
Comment 1 Commit Notification 2021-04-17 07:20:42 UTC
andreas kainz committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7a8860dd5eded50ea0640e1317b2c3c53064ef54

tdf#141407 NB remove EPub from calc, draw, impress NBs

It will be available in 7.2.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 2 Aron Budea 2021-04-19 03:59:11 UTC
Verified with 7.2.0.0.alpha0+ (5b6094bb74525d093604deb01577e72d0d2b4272) / Ubuntu.

Thanks for fixing, Andreas! Do you agree this would be fine to backport to 7.1?