Bug 67379

Summary: Problems changing focus to inside frame
Product: LibreOffice Reporter: David <genericinet+libreoffice.org>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact: Emir Sarı (away) <bitigchi>
Severity: normal    
Priority: highest CC: barta, jpnelson40, mst.fdo, tmacalp, vmiklos
Version: 4.0.0.3 releaseKeywords: bisected, regression
Hardware: Other   
OS: All   
Whiteboard: Bibisected
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 75025    
Attachments: Sample frame test document

Description David 2013-07-26 22:27:06 UTC
Created attachment 83069 [details]
Sample frame test document

There is a problem trying to change the focus to inside a frame when the cursor is currently in the header.  A sample document has been attached but the issue is easy to re-create.

Create a new document.
Enable the page header.
Create a frame in the document.
Click in the header to move the cursor in the header.
Click once inside the frame.
The cursor will not move to inside the frame.

The work around is the double click inside the frame and then click in it the third time.  The cursor will then move to inside the frame.

The other way is to click in the document outside of the frame then click inside the frame.

Proper operation should be to click once inside the frame to move the cursor focus from the header to inside the frame.

This has been tested with version 4.1 in both Linux and Windows XP.  I'm assuming the problem started in version 3.5 because that's when major design changes were made with how the header operated.
Comment 1 Emir Sarı (away) 2013-07-26 22:46:52 UTC
Confirmed under OS X 10.7.5 - LO 4.1.0.4. 

Focus won't change until the cyan insert header box will disappear.
Comment 2 Michael Stahl 2013-08-12 20:14:11 UTC
used to work in 3.6.7.2, broken in 4.0.0.3.

bibisect to 246ffb108c7e1f762f8d497750ad2414b85b99ef..41c2b0375773b2d2945d75e255ea6bb6c7fd378d

regression from:

commit 7e2f98d0a0c4a0f36a94353a256e7cc5caa3113b
Author:     Cédric Bosdonnat <cedric.bosdonnat@free.fr>
AuthorDate: Thu Nov 22 10:47:17 2012 +0100

    Header/Footer: fixed the selection of frames anchored to header/footer
    
    Now, double-click actually selects a frame anchored in header/footer.
    Code has been cleaned a bit as well.
Comment 3 tmacalp 2013-10-07 21:01:02 UTC
This bug also affects frame selection going the other way.  

If you create a frame IN the header or footer and start with your cursor in the body, you can't select the other frames without resorting to the work-arounds listed above.

Oddly enough, if you have frames in both the header AND footer, you can click between those frames just fine. :)
Comment 4 Cédric Bosdonnat 2014-01-20 08:57:21 UTC
Restricted my LibreOffice hacking area
Comment 5 David 2014-07-04 20:18:43 UTC
This is a regression that hasn't had anything done with it for almost a year.  Upgrading the importance level so it gets looked at.
Comment 6 Björn Michaelsen 2014-10-11 01:17:55 UTC
(mabs are highest)
Comment 7 Björn Michaelsen 2014-10-16 14:59:09 UTC
(This is an automated message.)

It seems that the commit that caused this regression was identified. (Or at least a commit is suspected as the offending one.)

Thus setting keyword "bisected".
Comment 8 tommy27 2014-11-25 21:01:54 UTC
still reproducible under Win8.1 using LibO 4.3.3.2 and 4.5.0 master

moving this to mab4.3 list since 4.2.x reached end of life

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.