Bug 64418 - image in header cannot be selected via mouse
Summary: image in header cannot be selected via mouse
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: preBibisect, regression
: 107491 (view as bug list)
Depends on:
Blocks: Writer-Header-Footer Writer-Images
  Show dependency treegraph
 
Reported: 2013-05-10 08:02 UTC by László Németh
Modified: 2022-02-03 16:16 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file with an "unremovable" chart (shape group) (15.64 KB, application/vnd.oasis.opendocument.text)
2013-05-10 08:03 UTC, László Németh
Details
Another test document (9.19 KB, application/vnd.oasis.opendocument.text)
2015-05-20 16:26 UTC, Gordo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description László Németh 2013-05-10 08:02:08 UTC
The attached file contains a "frozen" image, that doesn't respond for the mouse clicks in effect (only sporadically). Workarounds to select it are to use the keyboard selection (Shift-F4), selection frames, or LibreOffice 3.4 (that is free from this kind of selection problem.), but these operations are not so trivial for the average users.

It seems, the problem is related to the new header/footer GUI. The picture is anchored to the paragraph of the header. It is important, that not intentionally: normal operations, like setting the anchoring point of a picture to paragraph from page can result the anchoring to the paragraph of the header (like in the case of the original version of the attached test file).

Tested with the master, too.
Comment 1 László Németh 2013-05-10 08:03:20 UTC
Created attachment 79080 [details]
Test file with an "unremovable" chart (shape group)
Comment 2 Jorendc 2013-05-29 22:15:22 UTC
Not bisectable using bibisect40 package. Opening it using 3.5.0 alpha version (oldest) the image is shifted almost completely out of the document, and is still not clickable.
Comment 3 Miklos Vajna 2013-06-11 14:42:10 UTC
Hmm, I just tried this with latest master and -4-1, in both versions I can select the image using ctrl-click just fine.

Other than that, it indeed seems that no ctrl was needed in 3.4.
Comment 4 Cédric Bosdonnat 2014-01-20 08:57:44 UTC
Restricted my LibreOffice hacking area
Comment 5 Gordo 2015-05-20 16:26:30 UTC
Created attachment 115752 [details]
Another test document

The attached document has a basic shape anchored to the paragraph in the header.  It is selectable if you click on it above the header line and it is not selectable if you click on it below the header line.  Once you move all of the shape below the header line then it can only be selected with Ctrl or with other methods described in the previous comments.

1. New Text Document.
2. Select Basic Shape and draw it in the body of the document.
3. Insert Header.
4. Select shape, right click → Anchor → To Page.
5. Move shape up into header.
6. Select shape, right click → Anchor → To Paragraph.
Note:
Anchor moves from page to paragraph in header.
7. Select shape and move it down into the middle of the page and deselect it.
8. Try to select shape with left mouse button.
Result:
Nope.
9. Try to select shape with Ctrl + left mouse button.
Result:
Shape selected.
10. With shape selected, right click → Name and type “test”.
Note:
Draw objects in the Navigator now has an item named “test”.
11. Deselect shape.
12. Double click on “test” under Draw objects in Navigator.
Result:
Shape selected.
13. Deselect shape.
14. On Drawing toolbar, click on Select (arrow on the left) and drag a box around the shape to select it.
Result:
Shape selected.

Windows Vista 64
Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Comment 6 Robinson Tryon (qubit) 2015-12-14 05:40:07 UTC Comment hidden (obsolete)
Comment 7 Xisco Faulí 2016-09-14 15:43:35 UTC
[This is an automatic message]

Changing version to 3.5.7.2 in order to get rid of 'preBibisect' version as 3.5.7.2 looks to be the last version not covered by bibisect-43all.
Comment 8 QA Administrators 2018-06-22 02:50:02 UTC Comment hidden (obsolete, spam)
Comment 9 Justin L 2021-03-15 07:00:42 UTC
I would consider these to be WONTFIX.

If an image in in the header, you kindof don't want it interfering in the body of the text. I'm sure that would cause all kinds of problems. Plus, the only reason to have an image in the header that spills into the body is to do "tricky" things - which makes it even more likely that tampering with this would cause problems. (MS formats automatically put these things in the background for example.)

In the case of comment 5's unremovableillustration.odt, it is removable by deleting the header. (This would be a very strange document if you really did want that object in the middle of every page.) I would consider this user error.
Comment 10 Justin L 2021-03-26 16:06:34 UTC
*** Bug 107491 has been marked as a duplicate of this bug. ***
Comment 11 Jean-Baptiste Faure 2022-02-03 16:16:32 UTC
I agree with Justin L. That is not a bug. Additionally to ctrl+click, the object is easily selected and can be deleted from the Navigator.

Closing as NotABug. Feel free to reopen if you disagree.

Best regards. JBF