Bug 139459 - "Close Preview" is always showing in the File Menu even though the preview is not being used
Summary: "Close Preview" is always showing in the File Menu even though the preview is...
Status: RESOLVED DUPLICATE of bug 118335
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-07 06:17 UTC by Joao Machado
Modified: 2021-01-22 18:08 UTC (History)
1 user (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 Joao Machado 2021-01-07 06:17:56 UTC
Description:
Enabling Experimental Features> Then enable Menu> User Interface> Groupedbar

Then from the File Menu, the Preview item always displays "Close Preview" even though the preview is not being shown.

Clicking on "Close Preview" will bring up the preview window and works as it should. The Menu item still says "Close Preview", which is now correct and there is a check mark next to it. Clicking on the item will close the preview.

The issue is that Close Preview is incorrect when there is no preview being viewed, it should just say "Preview".

I understand that this is an "experimental" feature, but honestly, this is the only issue I have found. 

Steps to Reproduce:
1.Enable Experimental features.
2.Menu>User Interface>Groupedbar
3.Go to File> Close Preview

Actual Results:
Enabling Experimental Features> Then enable Menu> User Interface> Groupedbar

Then from the File Menu, the Preview item always displays "Close Preview" even though the preview is not being shown.

Clicking on "Close Preview" will bring up the preview window and works as it should. The Menu item still says "Close Preview", which is now correct and there is a check mark next to it. Clicking on the item will close the preview.

The issue is that Close Preview is incorrect when there is no preview being viewed, it should just say "Preview".



Expected Results:
File Menu> Close Preview should only say "Preview" when not in preview mode.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I understand that this is an "experimental" feature, but honestly, this is the only issue I have found.
Comment 1 Dieter 2021-01-22 18:08:23 UTC
I confirm it with

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 9f9798f07f0b56ae474f31ded671cc8da598d244
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

If you click on that button, it is clear that "Close Preview" is "Print Preview" 
=> Duplicate of bug 118335

*** This bug has been marked as a duplicate of bug 118335 ***