Form navigator right click menu incorrect in some situations
Steps to Reproduce:
1. Start new writer document and activate Design Mode
2. add a field and open Form Navigator
3. In navigator select the field with left click then right click on top level "Forms"
The "Forms" element is selected but the pop-up menu has content for a field. Close menu by left clicking on "Forms" and right click again the wrong menu is shown again. Select/Left click another element then select/left click "Forms" then right click to show correct popup menu
Show correct menu when selecting element with right click.
User Profile Reset: No
OpenGL enabled: Yes
Similar issues when selecting field inside the document while "Forms" is active selection in Form Navigator. Selecting field in document activates the field in the navigator but a right click on the activated field shows the pop-up menu for the "Forms" element.
Becomes very annoying when cut/paste fields between forms; you click a field in the form to locate it in the navigator but then you have to deselect/select it again in the navigator for cut/paste to work.
Version: 220.127.116.11 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-NZ (en_NZ); UI: en-US
Ido, thank you for reporting the bug. I must admit, I can't follow the steps:
1. I've added a field (I've choosed "Numeric Field"), but I can't find "Form Navigator". I can't find it in context menu, in regular navigator, in form controls. I can see Form Navigation, but I think that is something different.
Could you please specify your steps? Thank you.
Hi, Form Navigator is both in the From Design toolbar (next to Form Properties) and in the Form menu 4th from the bottom.
O. K., I think I got it:
Form is selected.
Right click within form navigator window give a different reswult than right click outside form navigator. Is this a correct decription of your problem?
I'm not sure, if it it a bug or the correct behaviour, but personally I won't expect the same context menu here.
In the Form Navigator if you left click at the top level Forms then right click to open the menu you see options (New, Open in Design Mode, Automatic Control Focus).
If you left click on a form Item and the right click to open the menu you see options (Replace with, Cut, Delete, Rename, Properties)
This is the expected and correct behavior.
Now if I select the top Forms element in the Navigator and then left click on the field element inside the document the Form navigator highlights the field as if it is selected. If I then right click on the field element in the Form Navigator for the pop-up menu I get options (New, Open in Design Mode, Automatic Control Focus) this is the problem...
I need to access to "cut" option to move the field to a different sub-form.
If I then left click on the name of the field I get into name editing mode (which I don't need and has a different right click popup menu as well). If I left click on the field icon then right click I still get the wrong menu, I have to select a different field or form in the navigator then left click the field I need and right click to get to the expected menu. This becomes hard to explain to the users I need to teach how to design a form with OO.
[Automated Action] NeedInfo-To-Unconfirmed
Now I understand and confirm the problem with
Version: 18.104.22.168 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Steps in short
1. create a form control or open a document with a form control
2. Form -> Form Navigator
3. Left click on the form item
4. Right click on form item: context menu with following options: Replace with, Cut, Delete, Rename, Properties (expected)
5. Deselect form
6. Select top entry in the form navigator ("Forms")
7. In the document select form (form item is also highlighted in form navigator)
8. Right click on form item in form navigator
Context menu with the following options: New, Open in Design Mode, Automatic Control Focus (context menu of "Forms" entry)
Context menu with following options: Replace with, Cut, Delete, Rename, Properties (same result as after step 4)