Bug 134415 - Text boxes with border lines set or background set don't show up in the slide preview or presentation mode (until text is entered)
Summary: Text boxes with border lines set or background set don't show up in the slide...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-30 07:56 UTC by Telesto
Modified: 2021-03-24 08:25 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (17.34 KB, application/vnd.oasis.opendocument.presentation)
2020-08-11 11:50 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-06-30 07:56:34 UTC
Description:
Text boxes with border lines set or background set don't show up in the slide preview or presentation mode (until text is entered)

Steps to Reproduce:
1. Open the attached file
2. Look at the slides panel -> Empty
3. Press F5 -> Empty

Actual Results:
Empty page

Expected Results:
It shouldn't matter if the textbox ix empty or not.. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 006c65bbd472cb1d7d44e095714e28190b76be0d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-06-30 07:56:45 UTC
Also in
3.5.7.2
Comment 2 Telesto 2020-06-30 07:58:07 UTC
Adding UX advise pro forma (not seeing the benefit of this behavior.. but who knows)
Comment 3 Heiko Tietze 2020-06-30 09:50:04 UTC
(In reply to Telesto from comment #2)
> ...not seeing the benefit of this behavior

Me neither. Text box without content but attributes set (line, background...) are not shown in the Slides panel's thumbnail. However, the text box can be empty only when it is a placeholder defined in master. You cannot easily add empty text boxes on top. The trick is to add some text, then you make the background in white, and finally remove the text. This empty box can be used to hide the background (weird workflow) and is shown in the Slides panel.

So we could also resolve the issue as WFM since the "text box" is rather a placeholder. Not much benefit from having only a border on a slide.
Comment 4 Xisco Faulí 2020-08-11 10:57:42 UTC
no attached file
Comment 5 Telesto 2020-08-11 11:50:44 UTC
Created attachment 164154 [details]
Example file
Comment 6 QA Administrators 2020-08-12 04:20:02 UTC Comment hidden (obsolete)
Comment 7 sora34ce 2020-08-12 17:52:00 UTC
Pretty sure it's intentional- from my experience text boxes aren't outlined anyway
Comment 8 Regina Henschel 2020-08-12 21:12:10 UTC
It is not a text box, but a presentation object placeholder, which means an empty presentation object. It is intended, that an empty presentation object is not shown. For example
https://opengrok.libreoffice.org/xref/core/sd/source/ui/tools/PreviewRenderer.cxx?r=d7855213#515
[Primitive2DContainer() is a container of size zero.]
Comment 9 sora34ce 2020-08-24 18:14:45 UTC
(In reply to Regina Henschel from comment #8)
> It is not a text box, but a presentation object placeholder, which means an
> empty presentation object. It is intended, that an empty presentation object
> is not shown. For example
> https://opengrok.libreoffice.org/xref/core/sd/source/ui/tools/
> PreviewRenderer.cxx?r=d7855213#515
> [Primitive2DContainer() is a container of size zero.]

After doing some checking I realized you're right: this is indeed an object placeholder. Even if I add some text, change the background, and then remove the text it still doesn't show. This is the most recent version and I still have no idea

Version: 7.1.0.0.alpha0+
Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0
CPU threads: 8; OS: Mac OS X 10.15.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 10 Buovjaga 2021-03-24 08:25:26 UTC
Closing per Regina's comment