Bug 150914 - Disabling edit mode also disables web view for documents in Writer (not with ODT files)
Summary: Disabling edit mode also disables web view for documents in Writer (not with ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: x86 (IA32) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Writer-Web-Layout
  Show dependency treegraph
 
Reported: 2022-09-11 21:25 UTC by Aleh
Modified: 2023-04-20 18:36 UTC (History)
4 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 Aleh 2022-09-11 21:25:19 UTC
Description:
After updating to 7.3.6, I noticed that disabling edit mode also switches the view mode to normal view even in contexts (such as non-paginated documents) where this is undesirable.

Steps to Reproduce:
1. Enable web view (view->web)
2. Disable edit mode (last option in the edit menu, or ctrl-shift-M)

Actual Results:
Program shifts into normal view and will not allow web-view to be re-enabled until edit mode is also re-enabled.

Expected Results:
Web view should remain enabled.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
No clue RE OpenGL. Closest option found on review of options page was for OpenCL, whatever that is.
Comment 1 raal 2022-09-22 18:19:17 UTC
No repro with Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 90861cc6f815b3f34edb88d47afed0d1099e72e7
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 Buovjaga 2023-02-13 11:01:18 UTC
Works fine here, can you retest with 7.5?

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 14a36ad49518bcb5b606b0f1640e3ca56b636e89
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 3 Aleh 2023-02-13 15:08:43 UTC
In response to you reopening this, I tested it out in that same system, which is now running version 7.4.5.1. On my initial test -- via a .odt document -- enabling web view and then disabling edit mode worked mostly correctly, although it then doesn't allow me to alter the view mode without re-enabling edits.

I then attempted it on a different document, in .docx format, and reproduced the bug. I then reproduced it perfectly with a long .txt file.
Comment 4 Aleh 2023-02-13 15:32:20 UTC
Installed 7.5.0.3. It behaved the same -- the bug appears to be related to the document's file format, only partially vanishing on .odt documents. While I can't say I tested it exhaustively -- I didn't test every file-format Writer will accept, and only tested it on Windows systems -- it very much still seems to be a bug.
Comment 5 Aleh 2023-04-20 05:37:20 UTC
Can confirm that the bug is still in place as of V7.5.2.2.
Comment 6 Buovjaga 2023-04-20 05:54:00 UTC
Please copy and paste here the contents of your Help - About by clicking the copy button. This allows us to know more about your system.
Comment 7 Aleh 2023-04-20 07:03:29 UTC
(In reply to Buovjaga from comment #6)
> Please copy and paste here the contents of your Help - About by clicking the
> copy button. This allows us to know more about your system.

I've replicated this bug on multiple systems. From a couple of the ones more immediately available to me at the moment, and which I just tested this bug on:

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded


Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.12
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group

As a side-note, my test on my older Ubuntu laptop means that I need to go back up and revise the earliest version flag above.
Comment 8 Buovjaga 2023-04-20 11:09:01 UTC
Repro with https://gutenberg.org/cache/epub/70601/pg70601.txt

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cfa463cc5446e72a06db5a457bf4d50d4173f31e
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 9 Buovjaga 2023-04-20 11:13:52 UTC
Already seen in the last commit of linux 44max bibisect repo and in older versions I can't find the Edit Mode command, so let's assume it has always acted like this.
Comment 10 Aleh 2023-04-20 14:14:51 UTC Comment hidden (obsolete)
Comment 11 Buovjaga 2023-04-20 14:19:54 UTC Comment hidden (obsolete)