| Summary: | FILEOPEN PPTX: Textbox too tall - import needs to look at the shape on the slide instead of the master page | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Gerald Pfeifer <gerald> |
| Component: | Impress | Assignee: | Tibor Nagy <tibor.nagy.extern> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | aron.budea, kelemeng, libreoffice-bugs, rb.henschel, stephane.guillou |
| Priority: | medium | ||
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=157019 https://bugs.documentfoundation.org/show_bug.cgi?id=119617 https://bugs.documentfoundation.org/show_bug.cgi?id=160487 https://bugs.documentfoundation.org/show_bug.cgi?id=160490 |
||
| Whiteboard: | target:24.8.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 157019 | ||
|
Description
Gerald Pfeifer
2023-09-17 04:27:18 UTC
Repro in: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e9a0c97de95688b2f86bbb4dd8c823af5442401c CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded As well as OOo 3.3, so inherited. Tibor Nagy committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/40d3d510fca99b555381deb74b9915c91c924de5 tdf#157285 PPTX import: fix placeholder height It will be available in 24.8.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. Very nice, just tested with today's nightly build Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 40d3d510fca99b555381deb74b9915c91c924de5 CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US and it's totally improved. There is one minor detail: In the PowerPoint screenshot there is a bit more space between the text at the bottom of the boxes "Way Oversize": even between the lowest point of the letter "y" and the orange border at the bottom there is a bit of space; in Impress the "y" now runs into the border. Is this just a font issue? Or is the box maybe a bit too short now? (In reply to Gerald Pfeifer from comment #3) > There is one minor detail: In the PowerPoint screenshot there is a bit > more space between the text at the bottom of the boxes "Way Oversize": > even between the lowest point of the letter "y" and the orange border > at the bottom there is a bit of space; in Impress the "y" now runs into > the border. > > Is this just a font issue? Or is the box maybe a bit too short now? I see the same issue, even with the Poppins Light font installed. Seems LO calculates the height to fit text in a different way: - 2.52 cm in LO - 2.77 cm in MSO Tibor, what do you think? Checked in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c9d4f99b2bb54ac7735b3e0d0cadbafbd0279518 CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: default Now the text boxes are not oversized. Similar to bug 119617 whose example file now looks good as well. Unfortunately this does not survive save as PPTX: after opening I can type more words into these boxes and they grow (just like in PP), but after a save and reload the file loses this ability. Maybe good for a followup bug. (In reply to Stéphane Guillou (stragu) from comment #4) > (In reply to Gerald Pfeifer from comment #3) > > There is one minor detail: In the PowerPoint screenshot there is a bit > > more space between the text at the bottom of the boxes "Way Oversize": > > even between the lowest point of the letter "y" and the orange border > > at the bottom there is a bit of space; in Impress the "y" now runs into > > the border. > > > > Is this just a font issue? Or is the box maybe a bit too short now? > I see the same issue, even with the Poppins Light font installed. Seems LO > calculates the height to fit text in a different way: > - 2.52 cm in LO > - 2.77 cm in MSO > > Tibor, what do you think? To me this seems to have something to do with the border line width which is 4.5 pt or 0.15 cm in this case. If I set a 10 pt or 0.35 cm width, the difference becomes close to 0.5 cm. Not the same, but almost. I'll file a separate one for this. *** Bug 119617 has been marked as a duplicate of this bug. *** (In reply to Gabor Kelemen (allotropia) from comment #5) > Unfortunately this does not survive save as PPTX: after opening I can type > more words into these boxes and they grow (just like in PP), but after a > save and reload the file loses this ability. > Maybe good for a followup bug. Thank you for bug filing bug #160487 as this follow up, Gabor! Happy to verify with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 40d3d510fca99b555381deb74b9915c91c924de5 CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US There is some follow-up in bug #160490 regarding comment #3 and comment #4 here, but the fundamental issue has been addressed. Thanks! |