Bug 88144 - right-click handling when selecting frames with formulas is inconsistent
Summary: right-click handling when selecting frames with formulas is inconsistent
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: Context-Menu Frame Formula
  Show dependency treegraph
Reported: 2015-01-07 09:15 UTC by Yury
Modified: 2023-11-20 14:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Yury 2015-01-07 09:15:54 UTC
Suppose you have created a doc with one formula. Then you can't get the right-click on this object to show the popup menu with `Frame` item. Instead you get a popup menu with `Object` and `Caption` items (middle of the list).

Simple right-click in the state of NO formula object having selection marker active (eight little green squares on the frame) gives a popup menu with `Object` and `Caption` items.

On the other hand, if you have AT LEAST two formulas in the doc, then you can right-click-select one of them, and then right-click (sic! for the previous selection to remain active) anywhere in the doc for the popup to close, and then right-click on another formula, and then you get the popup with the `Frame` item. Same sequence of right-clicks now gets you a popup with the `Frame` item for any other formula object.

But if you have only one formula object, you'll never get that kind of popup (I didn't try for any impossible-to-reproduce workarounds).

And the `Object` and `Frame` dialogs are actually different as to what frame settings they allow to edit (which is a subject for another ticket).

Replication of the issue: as described.
Comment 1 Buovjaga 2015-01-15 17:24:24 UTC
I got Frame after:
1. right-click formula
2. right-click another formula

Easy to repro when you have created one formula: just copy and paste another to a new line, or new document while keeping the formula in the clipboard.

Win 7 64-bit Version:
Build ID: b3b4bbaf6cbd2226b659fea7d6ae473ccf84e9dd
TinderBox: Win-x86@39, Branch:master, Time: 2015-01-12_06:13:44

Ubuntu 14.10 64-bit
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 2 QA Administrators 2016-01-17 20:04:12 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2017-03-06 14:21:03 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2019-01-30 11:10:32 UTC
still repro in

Build ID: ed707a4806a489467c6d9be7d1b787dab94b5f78
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 5 QA Administrators 2021-01-30 04:17:27 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-01-31 03:22:38 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2023-11-20 14:31:06 UTC
Re-testing with recent trunk build, this is what I see, even with one single formula:

Right-clicking on a formula object brings up the OLE context menu.
But once it is selected, one can right click _just outside the border_ to get the Frame context menu. Once this one pops up, one can right-click again anywhere on the object to bring up that same Frame context menu.

Version: (X86_64) / LibreOffice Community
Build ID: baecfd21797310bb15ab98ca3962445d99e397db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Same in OOo 3.3.