Bug 152975

Summary: [UI/UX bug] Right-clicking on a selected image shows the frame's context menu when the frame was previously selected
Product: LibreOffice Reporter: Piotr Osada <piotr.osada>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 7.4.3.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 86349, 103152    
Attachments: Image and frame context menu bug.odt
1 right click on frame
2 right click on image.png
3 right click on image after clicking outside the frame.png
2 right click on image.png

Description Piotr Osada 2023-01-11 10:46:03 UTC
Description:
Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: pl-PL (pl_PL); UI: en-GB
Calc: threaded

In some cases, the image context menu is not displayed immediately after selecting the image.

Steps to Reproduce:
    1. Select a frame.
    2. Select an image.
    3. Right click on the image. 
    4. → The frame context menu will be displayed.

Workaround: Click outside the frame, select the image, right click on the image → Image context menu will appear.

Actual Results:
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 Piotr Osada 2023-01-11 10:47:42 UTC
Created attachment 184581 [details]
Image and frame context menu bug.odt

A document with an image inserted into a frame.
Comment 2 Piotr Osada 2023-01-11 10:48:05 UTC
Created attachment 184583 [details]
1 right click on frame
Comment 3 Piotr Osada 2023-01-11 10:48:40 UTC
Created attachment 184584 [details]
2 right click on image.png
Comment 4 Piotr Osada 2023-01-11 10:48:58 UTC
Created attachment 184585 [details]
3 right click on image after clicking outside the frame.png
Comment 5 Piotr Osada 2023-01-11 13:43:53 UTC
Created attachment 184592 [details]
2 right click on image.png
Comment 6 Dieter 2023-02-02 06:14:02 UTC
I confirm it with

Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded

You can easily see, that it is frame context menu, if you select properties => frame dialog opens
Comment 7 Dieter 2023-02-02 06:16:48 UTC
Looks like a duplicate of bug 94074 and at least related to bug 80649 (not a duplicate, bug is also present with an image anchored to character)

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