Bug 50195 - EDITING: Can't Select Image in Header when outside margins
Summary: EDITING: Can't Select Image in Header when outside margins
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: Writer-Header-Footer
  Show dependency treegraph
Reported: 2012-05-21 21:03 UTC by Ash Kyd
Modified: 2021-09-25 06:56 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:

Document exhibiting the unselectable behaviour. (13.55 KB, application/vnd.oasis.opendocument.text)
2012-05-21 21:03 UTC, Ash Kyd
Template (27.85 KB, application/vnd.oasis.opendocument.text-template)
2014-12-18 09:01 UTC, Leif Lodahl

Note You need to log in before you can comment on or make changes to this bug.
Description Ash Kyd 2012-05-21 21:03:23 UTC
Created attachment 61933 [details]
Document exhibiting the unselectable behaviour.

Problem description: If an image is added to the header of a document then moved out outside of the header margins, it is no longer selectable and can't be changed or removed from the document.

Steps to reproduce:
1. Create an empty document.
2. Insert a header.
3. Insert an image into the header with an "optimal page wrap".
4. Move the image outside the header margins (into the centre of the page, for instance).
5. Unselect the image.
6. Attempt to select the image again.

Current behavior:
The cursor changes to a pointer as if the image is selectable, however clicking the image only selects whatever is behind the image. The image is not selectable.

Selecting the header and then clicking the image exhibits the same behaviour.

Expected behavior:
The image should be selectable in the same way as any normal image.

Platform (if different from the browser): 
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5
Comment 1 Christina Rossmanith 2012-08-31 19:16:53 UTC
Selecting the header first and then the image works for me.

Build-ID: 350m1(Build:2)
Comment 2 Rainer Bielefeld Retired 2012-11-24 10:52:22 UTC
*** Bug 55781 has been marked as a duplicate of this bug. ***
Comment 3 Rainer Bielefeld Retired 2012-11-24 11:31:00 UTC
My Steps with Server Installation of "LibreOffice German UI/Locale [Build-ID: 281b639-6baa1d3-ef66a77-d866f25-f36d45f] on German WIN7 Home Premium (64bit) and some other versions I tested:
1. open Document from LibO start center
2. Click into "Header Text"
   > blue "Edit Header" pulldown becomes visible
3. Click into the middle of the blue part of the color line picture above the text
   Expected: Picture becomes selected
   Actual: Caret becomes flashing left from the picture.

To get access to the color line picture above the text I have to

11. click color line picture BELOW the text
    > Control points appear
12. Click color line picture ABOVE the text
    >  Control points appear, I can move or edit the picture anchored in the 
       page header

So for me the porblem still exists, still [Reproducible] with parallel installation of  "LOdev   -  ENGLISH UI / German Locale  [Build ID: a2b3ee)]"  {2012-11-22} on German WIN7 Home Premium (64bit) with separate /4 User Profile for 4.0

I can't reproduce your WFM, how exactly did you get access, with what OS and so on?
Comment 4 Christina Rossmanith 2013-01-11 17:56:49 UTC
Sorry for the delay.

I've misunderstood the bug - so my WFM does not hold anymore. Can reproduce it on linux with Version (Build ID: dea1f7d962534d7fb4ee23238472457663a796e)
Comment 5 Joel Madero 2014-11-06 21:12:55 UTC
Looks like this was confirmed by Rainer - moving to NEW.
Comment 6 Leif Lodahl 2014-12-18 09:01:36 UTC
Created attachment 110975 [details]
Comment 7 Leif Lodahl 2014-12-18 09:05:59 UTC
To reproduce:
Create a new document with the attached template (named Template https://bugs.freedesktop.org/attachment.cgi?id=110975 ).
Make a page breake to go to page two
Select the logo (fail)

To solve:
Select the logo on page one
Select the logo on page two (success)

Please notice that none of the two logos appears as images in the navigator!

I cannot reproduce from blank document.
The problem occurs on Windows and Linux.

Could this problem be related to https://bugs.freedesktop.org/show_bug.cgi?id=67379 ?
Comment 8 Leif Lodahl 2014-12-18 09:19:38 UTC
Found a way to reproduce:
If the image is protected (content, position and size) the image can't be selected with the mouse. 
Can still be selected from the navigator.

(The attached template has two images that soesn't appear in the navigator)
Comment 9 QA Administrators 2015-12-20 16:19:11 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2017-01-03 19:50:25 UTC Comment hidden (obsolete)
Comment 11 Thomas Lendo 2017-03-05 21:46:06 UTC
Bug still exists in version:
Build ID: 1:5.3.0~rc3-0ubuntu1~trusty1.1
CPU Threads: 2; OS Version: Linux 3.13; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: de-AT (de_DE.UTF-8); Calc: group

Tested the file attached in Comment 6.

The workaround mentioned in Comment 7 to focus the image in page 2 is still working.
Comment 12 QA Administrators 2018-05-19 02:35:26 UTC Comment hidden (spam)