Bug 131830 - No context menu option available to open closed polygons
Summary: No context menu option available to open closed polygons
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Context-Menu
  Show dependency treegraph
 
Reported: 2020-04-02 18:17 UTC by Jan-Marek Glogowski
Modified: 2023-04-14 18:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Draw document with a single, open three point polyline (8.28 KB, application/vnd.oasis.opendocument.graphics)
2020-04-02 18:17 UTC, Jan-Marek Glogowski
Details
repro-closed-polygon (50.50 KB, image/jpeg)
2023-04-06 13:35 UTC, Sophie Sipasseuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Marek Glogowski 2020-04-02 18:17:26 UTC
Created attachment 159276 [details]
Draw document with a single, open three point polyline

While discussing bug 131758, I found there should be a context menu entry to "Open" a polygon, as the reverse action of the existing "Close object" entry. In bug 131758 comment 15, Regina provided an example document with screenshots to help me find that entry, which she is seeing on Windows. See attachment 159274 [details].

So currently I believe this is either a bug, or I'm still doing something different then Regina.

I checked out the exact revision that Regina uses from the 6.5 / 7.0 linux bibisect repo (commit 0701a3a3be2f114d7ad176e7beabc7abc94cc5dc "sha:6388c578c672690fff662cb04b6a0436cd742f37"). No luck with either gen, gtk3 or kf5. So it doesn't seem to be a problem with the native menu VCL implementation in either gtk3 or kf5, as gen is also affected. I also tested a fresh profile using -env:UserInstallation without a difference.

To reproduce:

1. open the attached document
2. select the polygon
3. open the context menu of the polygon and select "Close object"
4. open the context menu of the polygon and check for the toggle entry "Close object"

Actual result: "Close object" entry vanishes after action 3.

Expected result: "Close object" entry is a check box, doesn't vanish and is now selected.

"Side bug": for whatever reason the entry is called "Close Beźier" in Regina's screenshot, even if it's a polygon from the status line.
Comment 1 Sophie Sipasseuth 2023-04-06 13:35:23 UTC
Created attachment 186513 [details]
repro-closed-polygon

Repro

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c4a58634753a84b09f20f7271d6525a6656522d3
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded